-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
executable file
·34 lines (27 loc) · 1015 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
33
cmake_minimum_required(VERSION 3.7)
project(mars VERSION 0.0.1 LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 17)
set( CMAKE_EXPORT_COMPILE_COMMANDS ON )
################################### ARES ###################################
include_directories(../ares/include/)
file(GLOB ARES_SOURCES
"../ares/src/formula/*.cpp"
"../ares/src/formula/extended/*.cpp"
"../ares/src/util/*.cpp"
"../ares/src/rule/*.cpp"
"../ares/src/rule/filter/*.cpp"
"../ares/src/rule/math/*.cpp"
"../ares/src/rule/math/evaluator/*.cpp"
"../ares/src/core/*.cpp"
"../ares/src/example/*.cpp"
"../ares/src/service/*.cpp"
)
find_package(Threads)
################################## SIMPLEAPP ##################################
include_directories(include/)
file(GLOB MARS_SOURCES
"src/*.cpp"
)
set(MARS_ARES_SOURCES ${ARES_SOURCES} ${MARS_SOURCES})
add_executable(mars main.cpp ${MARS_ARES_SOURCES})
target_link_libraries(mars ${CMAKE_THREAD_LIBS_INIT})