155 src/toolsets/filetoolset.h |
158 src/toolsets/filetoolset.h |
156 src/toolsets/movetoolset.h |
159 src/toolsets/movetoolset.h |
157 src/toolsets/toolset.h |
160 src/toolsets/toolset.h |
158 src/toolsets/viewtoolset.h |
161 src/toolsets/viewtoolset.h |
159 src/types/matrix.h |
162 src/types/matrix.h |
|
163 src/widgets/headeredit.h |
160 ) |
164 ) |
161 |
165 |
162 set (LDFORGE_FORMS |
166 set (LDFORGE_FORMS |
163 src/dialogs/aboutdialog.ui |
167 src/dialogs/aboutdialog.ui |
164 src/dialogs/addhistorylinedialog.ui |
168 src/dialogs/addhistorylinedialog.ui |
179 src/dialogs/replacecoordinatesdialog.ui |
183 src/dialogs/replacecoordinatesdialog.ui |
180 src/dialogs/rotationpointdialog.ui |
184 src/dialogs/rotationpointdialog.ui |
181 src/dialogs/ytruderdialog.ui |
185 src/dialogs/ytruderdialog.ui |
182 src/mainwindow.ui |
186 src/mainwindow.ui |
183 src/partdownloader.ui |
187 src/partdownloader.ui |
|
188 src/widgets/headeredit.ui |
184 ) |
189 ) |
185 |
190 |
186 set (LDFORGE_OTHER_FILES |
191 set (LDFORGE_OTHER_FILES |
187 src/configurationoptions.txt |
192 src/configurationoptions.txt |
188 data/primitive-categories.cfg |
193 data/primitive-categories.cfg |
189 ) |
194 ) |
190 |
195 |
191 set (LDFORGE_RESOURCES ldforge.qrc) |
196 set (LDFORGE_RESOURCES ldforge.qrc) |
192 # set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lGLU") |
197 set(CMAKE_CXX_STANDARD 14) |
193 |
198 set(CMAKE_CXX_STANDARD_REQUIRED ON) |
194 if (NOT MSVC) |
199 set(CMAKE_CXX_EXTENSIONS OFF) |
195 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -W -Wall") |
|
196 endif() |
|
197 |
200 |
198 if (TRANSPARENT_DIRECT_COLORS) |
201 if (TRANSPARENT_DIRECT_COLORS) |
199 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DTRANSPARENT_DIRECT_COLORS") |
202 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DTRANSPARENT_DIRECT_COLORS") |
200 endif() |
203 endif() |
201 |
204 |
208 endif() |
211 endif() |
209 |
212 |
210 include_directories ("${PROJECT_BINARY_DIR}") |
213 include_directories ("${PROJECT_BINARY_DIR}") |
211 include_directories ("${PROJECT_BINARY_DIR}/src") |
214 include_directories ("${PROJECT_BINARY_DIR}/src") |
212 include_directories ("${PROJECT_BINARY_DIR}/src/misc") |
215 include_directories ("${PROJECT_BINARY_DIR}/src/misc") |
|
216 include_directories ("${PROJECT_SOURCE_DIR}/src") |
213 |
217 |
214 if (NOT MSVC) |
218 if (NOT MSVC) |
215 if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug" OR "${CMAKE_BUILD_TYPE}" STREQUAL "RelWithDebInfo") |
219 if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug" OR "${CMAKE_BUILD_TYPE}" STREQUAL "RelWithDebInfo") |
216 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DDEBUG") |
220 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DDEBUG") |
217 endif() |
221 endif() |