diff options
author | Balint Reczey <balint@balintreczey.hu> | 2013-02-24 21:14:17 +0000 |
---|---|---|
committer | Balint Reczey <balint@balintreczey.hu> | 2013-02-24 21:14:17 +0000 |
commit | e1d24fdb49f56cd1ff8d10c3c55699ebc4a7e20c (patch) | |
tree | 9212aa3422f0a299b13bfd875335f70d7c0f9cad /wsutil | |
parent | 8fdfd9b612ce0d56b7c164c07d0c75b7be89d98a (diff) |
Generate abi-descriptor.xml-s in CMake builds
svn path=/trunk/; revision=47865
Diffstat (limited to 'wsutil')
-rw-r--r-- | wsutil/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/wsutil/CMakeLists.txt b/wsutil/CMakeLists.txt index c5035a19d6..4ff35f07c5 100644 --- a/wsutil/CMakeLists.txt +++ b/wsutil/CMakeLists.txt @@ -63,6 +63,13 @@ add_library(wsutil ${LINK_MODE_LIB} set_target_properties(wsutil PROPERTIES LINK_FLAGS "${WS_LINK_FLAGS}") set_target_properties(wsutil PROPERTIES VERSION "0.0.0" SOVERSION 0) +# discover and substitute list of include directories for ABI compatibility +# checks +get_directory_property(INCLUDE_DIRS INCLUDE_DIRECTORIES) +list(REMOVE_DUPLICATES INCLUDE_DIRS) +string(REGEX REPLACE ";" "\n" INCLUDE_DIRS "${INCLUDE_DIRS}") +configure_file(../abi-descriptor.template abi-descriptor.xml) + target_link_libraries(wsutil ${wsutil_LIBS}) if(NOT ${ENABLE_STATIC}) |