77 src/editmodes/selectMode.cpp |
77 src/editmodes/selectMode.cpp |
78 src/geometry/linesegment.cpp |
78 src/geometry/linesegment.cpp |
79 src/geometry/plane.cpp |
79 src/geometry/plane.cpp |
80 src/linetypes/comment.cpp |
80 src/linetypes/comment.cpp |
81 src/linetypes/conditionaledge.cpp |
81 src/linetypes/conditionaledge.cpp |
|
82 src/linetypes/cylinder.cpp |
82 src/linetypes/edgeline.cpp |
83 src/linetypes/edgeline.cpp |
83 src/linetypes/empty.cpp |
84 src/linetypes/empty.cpp |
84 src/linetypes/modelobject.cpp |
85 src/linetypes/modelobject.cpp |
85 src/linetypes/quadrilateral.cpp |
86 src/linetypes/quadrilateral.cpp |
86 src/linetypes/triangle.cpp |
87 src/linetypes/triangle.cpp |
155 src/generics/transform.h |
157 src/generics/transform.h |
156 src/geometry/linesegment.h |
158 src/geometry/linesegment.h |
157 src/geometry/plane.h |
159 src/geometry/plane.h |
158 src/linetypes/comment.h |
160 src/linetypes/comment.h |
159 src/linetypes/conditionaledge.h |
161 src/linetypes/conditionaledge.h |
|
162 src/linetypes/cylinder.h |
160 src/linetypes/edgeline.h |
163 src/linetypes/edgeline.h |
161 src/linetypes/empty.h |
164 src/linetypes/empty.h |
162 src/linetypes/modelobject.h |
165 src/linetypes/modelobject.h |
163 src/linetypes/quadrilateral.h |
166 src/linetypes/quadrilateral.h |
164 src/linetypes/triangle.h |
167 src/linetypes/triangle.h |
200 src/toolsets/fixroundingerrors.ui |
204 src/toolsets/fixroundingerrors.ui |
201 src/mainwindow.ui |
205 src/mainwindow.ui |
202 src/partdownloader.ui |
206 src/partdownloader.ui |
203 src/widgets/vertexobjecteditor.ui |
207 src/widgets/vertexobjecteditor.ui |
204 src/widgets/headeredit.ui |
208 src/widgets/headeredit.ui |
|
209 src/widgets/matrixeditor.ui |
205 ) |
210 ) |
206 |
211 |
207 set (LDFORGE_OTHER_FILES |
212 set (LDFORGE_OTHER_FILES |
208 src/configurationoptions.txt |
213 src/configurationoptions.txt |
209 data/primitive-categories.cfg |
214 data/primitive-categories.cfg |
232 |
237 |
233 if (NOT MSVC) |
238 if (NOT MSVC) |
234 if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug" OR "${CMAKE_BUILD_TYPE}" STREQUAL "RelWithDebInfo") |
239 if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug" OR "${CMAKE_BUILD_TYPE}" STREQUAL "RelWithDebInfo") |
235 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DDEBUG") |
240 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DDEBUG") |
236 endif() |
241 endif() |
|
242 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -W -Wall -Wpedantic -Werror=switch") |
237 endif() |
243 endif() |
238 |
244 |
239 qt5_add_resources (LDFORGE_QRC ${LDFORGE_RESOURCES}) |
245 qt5_add_resources (LDFORGE_QRC ${LDFORGE_RESOURCES}) |
240 qt5_wrap_ui (LDFORGE_FORMS_HEADERS ${LDFORGE_FORMS}) |
246 qt5_wrap_ui (LDFORGE_FORMS_HEADERS ${LDFORGE_FORMS}) |
241 add_executable (ldforge WIN32 ${LDFORGE_SOURCES} ${LDFORGE_HEADERS} ${LDFORGE_OTHER_FILES} |
247 add_executable (ldforge WIN32 ${LDFORGE_SOURCES} ${LDFORGE_HEADERS} ${LDFORGE_OTHER_FILES} |