-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
71 lines (61 loc) · 1.51 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
cmake_minimum_required(VERSION 3.1.0)
project(blueprintcalc)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O0")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -g -O0")
if(CMAKE_VERSION VERSION_LESS "3.7.0")
set(CMAKE_INCLUDE_CURRENT_DIR ON)
endif()
find_package(Qt5 COMPONENTS REQUIRED
Widgets
3DCore
3DRender
3DExtras
Gui
)
add_executable(blueprintcalc
main.cpp
src/blueprint/point.cpp
src/control/blueprint.cpp
src/control/blueprintview.cpp
src/control/commandline.cpp
src/core/alignment.cpp
src/core/constants.cpp
src/core/point.cpp
src/core/intersection.cpp
src/render/plane.cpp
src/render/point2d.cpp
src/render/point3d.cpp
src/render/point.cpp
src/view/blueprintview.cpp
src/view/info.cpp
src/view/space.cpp
src/view/window.cpp
include/blueprint/point.h
include/control/blueprint.h
include/control/blueprintview.h
include/control/commandline.h
include/core/alignment.h
include/core/constants.h
include/core/point.h
include/core/intersection.h
include/render/plane.h
include/render/point2d.h
include/render/point3d.h
include/render/point.h
include/singleton.h
include/view/blueprintview.h
include/view/info.h
include/view/space.h
include/view/window.h
)
target_include_directories(blueprintcalc PRIVATE include)
target_link_libraries(blueprintcalc
Qt5::Widgets
Qt5::3DCore
Qt5::3DRender
Qt5::3DExtras
Qt5::Gui
)