-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcg3libBaseProject.pro
49 lines (42 loc) · 1.25 KB
/
cg3libBaseProject.pro
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
# Debug configuration
CONFIG(debug, debug|release){
DEFINES += DEBUG
}
# Release configuration
CONFIG(release, debug|release){
DEFINES -= DEBUG
# Uncomment next line if you want to ignore asserts and got a more optimized binary
#CONFIG += FINAL_RELEASE
}
# Final release optimization
FINAL_RELEASE {
unix:!macx{
QMAKE_CXXFLAGS_RELEASE -= -g -O2
QMAKE_CXXFLAGS += -Os -DNDEBUG
}
}
# cg3lib works with c++11
CONFIG += c++11
# Cg3lib configuration. Available options:
#
# CG3_ALL -- All the modules
#
# CG3_CORE -- Core of the library. Geometry primitives and utilities
# CG3_VIEWER -- Module containing utilities for creating viewers (Qt and OpenGL)
#
# CG3_DATA_STRUCTURES -- Various data structure
# CG3_ALGORITHMS -- Various algorithms
#
# CG3_MESHES -- Mesh data structures
#
# CG3_CGAL -- CGAL interface
# CG3_LIBIGL -- libIGL interface
# CG3_CINOLIB -- CinoLib interface
#
# Example: CONFIG += CG3_CORE CG3_VIEWER CG3_DATA_STRUCTURES CG3_MESHES
CONFIG += CG3_CORE CG3_VIEWER CG3_DATA_STRUCTURES CG3_MESHES
# Include the chosen modules
include (cg3lib/cg3.pri)
message($$MODULES)
SOURCES += \
main.cpp