summaryrefslogtreecommitdiffstats
path: root/libcnary/CMakeLists.txt
blob: bbbe8ceb2f9b4951c98d5ad2fa24839669923fc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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)