-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
56 lines (45 loc) · 1.22 KB
/
CMakeLists.txt
File metadata and controls
56 lines (45 loc) · 1.22 KB
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
# CMakeLists.txt
cmake_minimum_required(VERSION 3.1.0)
project(greasepad VERSION 1.0.0 LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
# my configuration
set(Qt5_DIR "C:/Qt/5.11.0/msvc2017_64/lib/cmake/Qt5")
set(CMAKE_INSTALL_PREFIX "D:/git/GreasePad")
set(CMAKE_BUILD_TYPE RELEASE)
if(CMAKE_VERSION VERSION_LESS "3.7.0")
set(CMAKE_INCLUDE_CURRENT_DIR ON)
endif()
find_package(Eigen3 3.4 REQUIRED NO_MODULE)
find_package(Qt5 COMPONENTS Widgets REQUIRED)
find_package(Qt5 REQUIRED COMPONENTS Svg)
add_executable(helloworld
src/aabb.cpp
src/adjustment.cpp
src/conics.cpp
src/conncomp.cpp
src/constraints.cpp
src/main.cpp
src/mainwindow.cpp
src/mainscene.cpp
src/mainview.cpp
src/commands.cpp
src/matrix.cpp
src/qconstraints.cpp
src/qformattool.cpp
src/qsegment.cpp
src/qstroke.cpp
src/quantiles.cpp
src/state.cpp
src/statistics.cpp
src/uncertain.cpp
src/upoint.cpp
src/usegment.cpp
src/ustraightline.cpp
src/greasepad.qrc
)
target_link_libraries(greasepad Qt5::Widgets Qt5::Svg Eigen3::Eigen)
install(TARGETS greasepad DESTINATION bin)