CMakeLists.txt

changeset 1319
39d7a9642eea
parent 1318
568fcfc6da71
child 1326
69a90bd2dba2
equal deleted inserted replaced
1318:568fcfc6da71 1319:39d7a9642eea
50 src/main.cpp 50 src/main.cpp
51 src/mainwindow.cpp 51 src/mainwindow.cpp
52 src/mathfunctions.cpp 52 src/mathfunctions.cpp
53 src/matrixinput.cpp 53 src/matrixinput.cpp
54 src/messageLog.cpp 54 src/messageLog.cpp
55 src/miscallenous.cpp
56 src/model.cpp 55 src/model.cpp
57 src/partdownloader.cpp 56 src/partdownloader.cpp
58 src/partdownloadrequest.cpp 57 src/partdownloadrequest.cpp
59 src/parser.cpp 58 src/parser.cpp
60 src/primitives.cpp 59 src/primitives.cpp
61 src/serializer.cpp 60 src/serializer.cpp
62 src/ringFinder.cpp 61 src/ringFinder.cpp
63 src/version.cpp 62 src/version.cpp
63 src/algorithms/geometry.cpp
64 src/algorithms/invert.cpp 64 src/algorithms/invert.cpp
65 src/dialogs/colorselector.cpp 65 src/dialogs/colorselector.cpp
66 src/dialogs/configdialog.cpp 66 src/dialogs/configdialog.cpp
67 src/dialogs/externalprogrampathdialog.cpp 67 src/dialogs/externalprogrampathdialog.cpp
68 src/dialogs/generateprimitivedialog.cpp 68 src/dialogs/generateprimitivedialog.cpp
116 src/headerhistorymodel.h 116 src/headerhistorymodel.h
117 src/hierarchyelement.h 117 src/hierarchyelement.h
118 src/lddocument.h 118 src/lddocument.h
119 src/ldobjectiterator.h 119 src/ldobjectiterator.h
120 src/librariesmodel.h 120 src/librariesmodel.h
121 src/macros.h
122 src/main.h 121 src/main.h
123 src/mainwindow.h 122 src/mainwindow.h
124 src/mathfunctions.h 123 src/mathfunctions.h
125 src/matrixinput.h 124 src/matrixinput.h
126 src/messageLog.h 125 src/messageLog.h
127 src/miscallenous.h
128 src/model.h 126 src/model.h
129 src/partdownloader.h 127 src/partdownloader.h
130 src/partdownloadrequest.h 128 src/partdownloadrequest.h
131 src/parser.h 129 src/parser.h
132 src/primitives.h 130 src/primitives.h
133 src/ringFinder.h 131 src/ringFinder.h
134 src/serializer.h 132 src/serializer.h
135 src/transform.h
136 src/version.h 133 src/version.h
134 src/algorithms/geometry.h
137 src/algorithms/invert.h 135 src/algorithms/invert.h
138 src/dialogs/colorselector.h 136 src/dialogs/colorselector.h
139 src/dialogs/configdialog.h 137 src/dialogs/configdialog.h
140 src/dialogs/externalprogrampathdialog.h 138 src/dialogs/externalprogrampathdialog.h
141 src/dialogs/generateprimitivedialog.h 139 src/dialogs/generateprimitivedialog.h
148 src/editmodes/drawMode.h 146 src/editmodes/drawMode.h
149 src/editmodes/linePathMode.h 147 src/editmodes/linePathMode.h
150 src/editmodes/magicWandMode.h 148 src/editmodes/magicWandMode.h
151 src/editmodes/rectangleMode.h 149 src/editmodes/rectangleMode.h
152 src/editmodes/selectMode.h 150 src/editmodes/selectMode.h
151 src/generics/functions.h
153 src/generics/migrate.h 152 src/generics/migrate.h
154 src/generics/range.h 153 src/generics/range.h
155 src/generics/reverse.h 154 src/generics/reverse.h
155 src/generics/ring.h
156 src/generics/transform.h
156 src/geometry/linesegment.h 157 src/geometry/linesegment.h
157 src/linetypes/comment.h 158 src/linetypes/comment.h
158 src/linetypes/conditionaledge.h 159 src/linetypes/conditionaledge.h
159 src/linetypes/edgeline.h 160 src/linetypes/edgeline.h
160 src/linetypes/empty.h 161 src/linetypes/empty.h
167 src/toolsets/filetoolset.h 168 src/toolsets/filetoolset.h
168 src/toolsets/movetoolset.h 169 src/toolsets/movetoolset.h
169 src/toolsets/toolset.h 170 src/toolsets/toolset.h
170 src/toolsets/viewtoolset.h 171 src/toolsets/viewtoolset.h
171 src/types/boundingbox.h 172 src/types/boundingbox.h
173 src/types/library.h
172 src/types/matrix.h 174 src/types/matrix.h
173 src/types/vertex.h 175 src/types/vertex.h
174 src/widgets/headeredit.h 176 src/widgets/headeredit.h
175 src/widgets/vertexobjecteditor.h 177 src/widgets/vertexobjecteditor.h
176 ) 178 )
223 #set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated") 225 #set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated")
224 endif() 226 endif()
225 227
226 include_directories ("${PROJECT_BINARY_DIR}") 228 include_directories ("${PROJECT_BINARY_DIR}")
227 include_directories ("${PROJECT_BINARY_DIR}/src") 229 include_directories ("${PROJECT_BINARY_DIR}/src")
228 include_directories ("${PROJECT_BINARY_DIR}/src/misc")
229 include_directories ("${PROJECT_SOURCE_DIR}/src") 230 include_directories ("${PROJECT_SOURCE_DIR}/src")
230 231
231 if (NOT MSVC) 232 if (NOT MSVC)
232 if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug" OR "${CMAKE_BUILD_TYPE}" STREQUAL "RelWithDebInfo") 233 if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug" OR "${CMAKE_BUILD_TYPE}" STREQUAL "RelWithDebInfo")
233 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DDEBUG") 234 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DDEBUG")

mercurial