mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
10 lines
579 B
CMake
10 lines
579 B
CMake
add_library (clickhouse-obfuscator-lib ${LINK_MODE} Obfuscator.cpp)
|
|
target_link_libraries (clickhouse-obfuscator-lib PRIVATE dbms ${Boost_PROGRAM_OPTIONS_LIBRARY})
|
|
|
|
if (CLICKHOUSE_SPLIT_BINARY)
|
|
add_executable (clickhouse-obfuscator clickhouse-obfuscator.cpp)
|
|
set_target_properties(clickhouse-obfuscator PROPERTIES RUNTIME_OUTPUT_DIRECTORY ..)
|
|
target_link_libraries (clickhouse-obfuscator PRIVATE clickhouse-obfuscator-lib)
|
|
install (TARGETS clickhouse-obfuscator ${CLICKHOUSE_ALL_TARGETS} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT clickhouse)
|
|
endif ()
|