-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
32 lines (27 loc) · 916 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
23
24
25
26
27
28
29
30
31
32
cmake_minimum_required(VERSION 3.17)
project(ft_containers)
set(SOURCES
unit_test/catch2/catch.hpp
unit_test/catch2/catch.cpp
unit_test/test_vector.cpp
containers/vector.h
iterators/random_access_iterator.h
iterators/iterator_traits.h
iterators/reverse_iterator.h
utils/utils.h
unit_test/test_vector_iterator.cpp
unit_test/test_reverse_vector_iterator.cpp
utils/type_traits.h
containers/stack.h
unit_test/test_stack.cpp
containers/map.h
utils/pair.h
unit_test/test_map.cpp
utils/BSTNode.h
iterators/bidirectional_iterator.h
unit_test/test_pair.cpp
unit_test/test_map_iterator.cpp)
set(CMAKE_CXX_COMPILER clang++)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror -std=c++98")
add_executable(UNIT_TEST ${SOURCES})