X-Git-Url: https://harrygodden.com/git/?p=convexer.git;a=blobdiff_plain;f=cxr%2FCMakeLists.txt;fp=cxr%2FCMakeLists.txt;h=eb0455f9d6223ae978eec32a8a7746dbdfe9835a;hp=0000000000000000000000000000000000000000;hb=05e7fa40fd47dd5bfeaa1de9e9eba73319ae8564;hpb=23283f27eb4a14456ba00dc05e83bf19ad71b1a6 diff --git a/cxr/CMakeLists.txt b/cxr/CMakeLists.txt new file mode 100644 index 0000000..eb0455f --- /dev/null +++ b/cxr/CMakeLists.txt @@ -0,0 +1,19 @@ +project( cxr ) + +add_library( ${PROJECT_NAME} SHARED + cxr.c + cxr.h + cxr_math.h + cxr_mem.h +) + +target_compile_definitions( ${PROJECT_NAME} + PRIVATE CXR_SO CXR_DEBUG CXR_VALVE_MAP_FILE +) + +target_compile_options( ${PROJECT_NAME} + PRIVATE -Wall -Wno-unused-variable -Wno-unused-function + -std=c99 -pedantic +) + +target_link_libraries( ${PROJECT_NAME} m )