diff options
Diffstat (limited to 'utils/CMakeLists.txt')
-rw-r--r-- | utils/CMakeLists.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt new file mode 100644 index 0000000..bdf7227 --- /dev/null +++ b/utils/CMakeLists.txt | |||
@@ -0,0 +1,15 @@ | |||
1 | cmake_minimum_required(VERSION 3.18) | ||
2 | |||
3 | project(libwifi_tests VERSION 0.1) | ||
4 | |||
5 | set(CMAKE_CXX_STANDARD 11) | ||
6 | set(CMAKE_CXX_STANDARD_REQUIRED True) | ||
7 | |||
8 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -ggdb -O0") | ||
9 | |||
10 | add_executable(test_misc src/helpers.c src/test_misc.c) | ||
11 | add_executable(test_generation src/helpers.c src/test_generation.c) | ||
12 | add_executable(test_parsing src/helpers.c src/test_parsing.c) | ||
13 | target_link_libraries(test_misc wifi) | ||
14 | target_link_libraries(test_generation wifi pcap) | ||
15 | target_link_libraries(test_parsing wifi pcap) | ||