Update to CMake, tweaks & dds
[convexer.git] / cxr / CMakeLists.txt
1 project( cxr )
2
3 add_library( ${PROJECT_NAME} SHARED
4 cxr.c
5 cxr.h
6 cxr_math.h
7 cxr_mem.h
8 )
9
10 target_compile_definitions( ${PROJECT_NAME}
11 PRIVATE CXR_SO CXR_DEBUG CXR_VALVE_MAP_FILE
12 )
13
14 target_compile_options( ${PROJECT_NAME}
15 PRIVATE -Wall -Wno-unused-variable -Wno-unused-function
16 -std=c99 -pedantic
17 )
18
19 target_link_libraries( ${PROJECT_NAME} m )