-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
31 lines (24 loc) · 915 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
cmake_minimum_required(VERSION 3.6)
project(Multimap)
set(CMAKE_CXX_STANDARD 11)
SET(CMAKE_CXX_FLAGS "-g -O0 -Wall -fprofile-arcs -ftest-coverage")
SET(CMAKE_C_FLAGS "-g -O0 -Wall -W -fprofile-arcs -ftest-coverage")
set(CMAKE_CXX_OUTPUT_EXTENSION_REPLACE 1)
set(CLANG_ENABLE_CODE_COVERAGE YES)
set(SOURCE_FILES
main.cpp
Entities/Multimap.cpp Entities/Multimap.h
Entities/Date.h
Repository/Repository.cpp Repository/Repository.h
Controller/Controller.h
UI/Console.cpp UI/Console.h
tests/test_node.cpp tests/test_node.h
tests/test_multimap.cpp tests/test_multimap.h
tests/test_date.cpp tests/test_date.h
tests/test_controller.cpp tests/test_controller.h
)
add_subdirectory(lib/googletest-master)
include_directories(lib/googletest-master/googletest/include)
include_directories(lib/googletest-master/googlemock/include)
add_executable(Multimap ${SOURCE_FILES})
target_link_libraries(Multimap gtest gtest_main)