diff options
author | Nikias Bassen | 2011-06-13 18:30:37 +0200 |
---|---|---|
committer | Nikias Bassen | 2011-06-13 18:30:37 +0200 |
commit | c7412d4813ccb994fdd219f421eaba8bb37831dd (patch) | |
tree | 5b7f3016ceb337b31afdd62c9fee646f33e8b271 /libcnary/CMakeLists.txt | |
parent | 3277a11f0beedda8b5d65ffccb05fabd4e8ded28 (diff) | |
download | libplist-c7412d4813ccb994fdd219f421eaba8bb37831dd.tar.gz libplist-c7412d4813ccb994fdd219f421eaba8bb37831dd.tar.bz2 |
Bundle libcnary for better packaging1.5
Diffstat (limited to 'libcnary/CMakeLists.txt')
-rw-r--r-- | libcnary/CMakeLists.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libcnary/CMakeLists.txt b/libcnary/CMakeLists.txt new file mode 100644 index 0000000..bbbe8ce --- /dev/null +++ b/libcnary/CMakeLists.txt @@ -0,0 +1,16 @@ +cmake_minimum_required(VERSION 2.6) + +SET(libcnary_SRC + iterator.c + list.c + node.c + node_iterator.c + node_list.c ) + +INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include) + +SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC") +ADD_LIBRARY(libcnary STATIC ${libcnary_SRC}) + +SET_TARGET_PROPERTIES(libcnary PROPERTIES OUTPUT_NAME cnary) + |