src/tests/cbehave/CMakeLists.txt
raw| 1 | cmake_minimum_required(VERSION 3.5) |
| 2 | project(cbehave C) |
| 3 | |
| 4 | include_directories(.) |
| 5 | |
| 6 | if(MSVC) |
| 7 | add_definitions(-wd"4127" -wd"4102" -wd"4996") |
| 8 | else() |
| 9 | if(NOT BEOS AND NOT HAIKU) |
| 10 | add_definitions(-Wno-unused-label -Wno-array-bounds) |
| 11 | endif() |
| 12 | endif() |
| 13 | |
| 14 | #add_subdirectory(examples) |
| 15 | |
| 16 | add_library(cbehave STATIC cbehave.h cbehave.c apr_ring.h rlutil/rlutil.h) |