2018-09-14 19:48:51 +00:00
|
|
|
add_library (clickhouse-obfuscator-lib ${LINK_MODE} Obfuscator.cpp)
|
2018-11-21 19:20:27 +00:00
|
|
|
target_link_libraries (clickhouse-obfuscator-lib PRIVATE dbms ${Boost_PROGRAM_OPTIONS_LIBRARY})
|
2018-06-16 00:27:59 +00:00
|
|
|
|
|
|
|
if (CLICKHOUSE_SPLIT_BINARY)
|
|
|
|
add_executable (clickhouse-obfuscator clickhouse-obfuscator.cpp)
|
|
|
|
set_target_properties(clickhouse-obfuscator PROPERTIES RUNTIME_OUTPUT_DIRECTORY ..)
|
2018-11-21 19:20:27 +00:00
|
|
|
target_link_libraries (clickhouse-obfuscator PRIVATE clickhouse-obfuscator-lib)
|
2018-06-16 00:27:59 +00:00
|
|
|
endif ()
|