2017-08-09 20:52:55 +00:00
|
|
|
|
|
|
|
# TODO? Maybe recursive collect on all deps
|
|
|
|
|
|
|
|
get_property (dirs1 TARGET dbms PROPERTY INCLUDE_DIRECTORIES)
|
|
|
|
list(APPEND dirs ${dirs1})
|
|
|
|
|
2017-11-21 19:17:24 +00:00
|
|
|
get_property (dirs1 TARGET clickhouse_common_io PROPERTY INCLUDE_DIRECTORIES)
|
2017-11-17 19:19:49 +00:00
|
|
|
list(APPEND dirs ${dirs1})
|
|
|
|
|
2017-08-09 20:52:55 +00:00
|
|
|
get_property (dirs1 TARGET common PROPERTY INCLUDE_DIRECTORIES)
|
|
|
|
list(APPEND dirs ${dirs1})
|
|
|
|
|
2018-11-21 19:20:27 +00:00
|
|
|
get_property (dirs1 TARGET cityhash PROPERTY INCLUDE_DIRECTORIES)
|
|
|
|
list(APPEND dirs ${dirs1})
|
|
|
|
|
2019-03-04 17:36:22 +00:00
|
|
|
get_property (dirs1 TARGET roaring PROPERTY INCLUDE_DIRECTORIES)
|
|
|
|
list(APPEND dirs ${dirs1})
|
|
|
|
|
2019-08-04 00:19:03 +00:00
|
|
|
if (TARGET double-conversion)
|
|
|
|
get_property (dirs1 TARGET double-conversion PROPERTY INCLUDE_DIRECTORIES)
|
|
|
|
list(APPEND dirs ${dirs1})
|
|
|
|
endif ()
|
|
|
|
|
2017-06-23 20:22:35 +00:00
|
|
|
list(REMOVE_DUPLICATES dirs)
|
2016-12-06 18:04:10 +00:00
|
|
|
file (WRITE ${CMAKE_CURRENT_BINARY_DIR}/include_directories.txt "")
|
|
|
|
foreach (dir ${dirs})
|
2017-04-01 07:20:54 +00:00
|
|
|
string (REPLACE "${ClickHouse_SOURCE_DIR}" "." dir "${dir}")
|
|
|
|
file (APPEND ${CMAKE_CURRENT_BINARY_DIR}/include_directories.txt "-I ${dir} ")
|
2016-12-06 18:04:10 +00:00
|
|
|
endforeach ()
|