Commit | Line | Data |
---|---|---|
263b5807 TJ |
1 | include_directories(${CMAKE_SOURCE_DIR}/src) |
2 | ||
3 | set(cpp_sources | |
4 | i2n_global_config.cpp | |
5 | ) | |
6 | ||
7 | set(cpp_headers | |
8 | i2n_global_config.hpp | |
9 | ) | |
10 | ||
57cee5f6 | 11 | add_library(i2ncommon_config SHARED ${cpp_sources} ${cpp_headers}) |
263b5807 | 12 | |
fad32e5f | 13 | set_target_properties(i2ncommon_config PROPERTIES VERSION ${VERSION} SOVERSION 3) |
263b5807 TJ |
14 | |
15 | ||
16 | install(TARGETS i2ncommon_config | |
4a1afbc0 | 17 | LIBRARY DESTINATION lib${LIB_SUFFIX} |
263b5807 TJ |
18 | COMPONENT sharedlibs) |
19 | ||
20 | install(FILES ${cpp_headers} | |
21 | DESTINATION include | |
22 | COMPONENT headers) |