-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
34 lines (27 loc) · 1.11 KB
/
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(star VERSION 0.0.1 LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 17)
set( CMAKE_EXPORT_COMPILE_COMMANDS ON )
################################### LASER ###################################
include_directories(../laser-plus-plus/include/)
file(GLOB LASER_SOURCES
"../laser-plus-plus/src/formula/*.cpp"
"../laser-plus-plus/src/formula/extended/*.cpp"
"../laser-plus-plus/src/util/*.cpp"
"../laser-plus-plus/src/rule/*.cpp"
"../laser-plus-plus/src/rule/filter/*.cpp"
"../laser-plus-plus/src/rule/math/*.cpp"
"../laser-plus-plus/src/rule/math/evaluator/*.cpp"
"../laser-plus-plus/src/core/*.cpp"
"../laser-plus-plus/src/example/*.cpp"
"../laser-plus-plus/src/service/*.cpp"
)
find_package(Threads)
################################## SIMPLEAPP ##################################
include_directories(include/)
file(GLOB STAR_SOURCES
"src/*.cpp"
)
set(STAR_LASER_SOURCES ${LASER_SOURCES} ${STAR_SOURCES})
add_executable(star main.cpp ${STAR_LASER_SOURCES})
target_link_libraries(star ${CMAKE_THREAD_LIBS_INIT})