diff options
Diffstat (limited to 'osc.lv2/CMakeLists.txt')
-rw-r--r-- | osc.lv2/CMakeLists.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/osc.lv2/CMakeLists.txt b/osc.lv2/CMakeLists.txt new file mode 100644 index 0000000..64ce73b --- /dev/null +++ b/osc.lv2/CMakeLists.txt @@ -0,0 +1,16 @@ +cmake_minimum_required(VERSION 2.8) + +project(osc.lv2) + +include_directories(${PROJECT_SOURCE_DIR}) + +set(CMAKE_C_FLAGS "-std=gnu11 -Wextra -Wno-unused-parameter -ffast-math -fvisibility=hidden ${CMAKE_C_FLAGS}") +set(CMAKE_C_FLAGS "-Wshadow -Wimplicit-function-declaration -Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes ${CMAKE_C_FLAGS}") + +include(CTest) + +if(${BUILD_TESTING}) + add_executable(osc_test + osc_test.c) + add_test(NAME API-Test COMMAND osc_test) +endif() |