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