-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
22 lines (19 loc) · 980 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
cmake_minimum_required(VERSION 3.0.0)
project(data_structures_and_algorithms VERSION 0.1.0)
include(CTest)
enable_testing()
add_subdirectory(data_structures/binary_search_tree)
add_subdirectory(data_structures/doubly_linked_list)
add_subdirectory(data_structures/dynamic_array_non_template)
add_subdirectory(data_structures/dynamic_array_template)
add_subdirectory(data_structures/stack)
add_subdirectory(data_structures/deque)
add_subdirectory(data_structures/graph)
add_test(NAME doubly_linked_list_tests COMMAND run_doubly_linked_list_tests)
add_test(NAME binary_search_tree_tests COMMAND run_bst_tests)
add_test(NAME dyn_array_non_template_tests COMMAND run_dyn_array_non_template_tests)
add_test(NAME dyn_array_tests COMMAND run_dyn_array_tests)
add_test(NAME stack_tests COMMAND run_stack_tests)
add_test(NAME deque_tests COMMAND run_deque_tests)
add_test(NAME graph_tests COMMAND run_graph_tests)
add_test(NAME graph_algorithms_tests COMMAND run_graph_algorithms_tests)