CMakeLists.txt

changeset 1203
7e34dd7559ce
parent 1202
f2d1f2975340
child 1204
1d25231dd7c9
equal deleted inserted replaced
1202:f2d1f2975340 1203:7e34dd7559ce
83 src/toolsets/filetoolset.cpp 83 src/toolsets/filetoolset.cpp
84 src/toolsets/movetoolset.cpp 84 src/toolsets/movetoolset.cpp
85 src/toolsets/toolset.cpp 85 src/toolsets/toolset.cpp
86 src/toolsets/viewtoolset.cpp 86 src/toolsets/viewtoolset.cpp
87 src/types/matrix.cpp 87 src/types/matrix.cpp
88 ${CMAKE_BINARY_DIR}/configuration.cpp
88 ) 89 )
89 90
90 set (LDFORGE_HEADERS 91 set (LDFORGE_HEADERS
91 src/basics.h 92 src/basics.h
92 src/canvas.h 93 src/canvas.h
150 src/toolsets/movetoolset.h 151 src/toolsets/movetoolset.h
151 src/toolsets/toolset.h 152 src/toolsets/toolset.h
152 src/toolsets/viewtoolset.h 153 src/toolsets/viewtoolset.h
153 src/types/matrix.h 154 src/types/matrix.h
154 src/types/resourcevector.h 155 src/types/resourcevector.h
156 ${CMAKE_BINARY_DIR}/configuration.h
155 ) 157 )
156 158
157 set (LDFORGE_FORMS 159 set (LDFORGE_FORMS
158 src/dialogs/aboutdialog.ui 160 src/dialogs/aboutdialog.ui
159 src/dialogs/addhistorylinedialog.ui 161 src/dialogs/addhistorylinedialog.ui
217 endif() 219 endif()
218 220
219 qt5_add_resources (LDFORGE_QRC ${LDFORGE_RESOURCES}) 221 qt5_add_resources (LDFORGE_QRC ${LDFORGE_RESOURCES})
220 qt5_wrap_ui (LDFORGE_FORMS_HEADERS ${LDFORGE_FORMS}) 222 qt5_wrap_ui (LDFORGE_FORMS_HEADERS ${LDFORGE_FORMS})
221 add_executable (ldforge WIN32 ${LDFORGE_SOURCES} ${LDFORGE_HEADERS} ${LDFORGE_OTHER_FILES} 223 add_executable (ldforge WIN32 ${LDFORGE_SOURCES} ${LDFORGE_HEADERS} ${LDFORGE_OTHER_FILES}
222 ${LDFORGE_QRC} ${LDFORGE_FORMS_HEADERS} 224 ${LDFORGE_QRC} ${LDFORGE_FORMS_HEADERS})
223 ${CMAKE_BINARY_DIR}/configuration.cpp)
224 225
225 set_source_files_properties(${LDFORGE_HEADERS} PROPERTIES HEADER_FILE_ONLY TRUE) 226 set_source_files_properties(${LDFORGE_HEADERS} PROPERTIES HEADER_FILE_ONLY TRUE)
226 set_source_files_properties(${LDFORGE_OTHER_FILES} PROPERTIES HEADER_FILE_ONLY TRUE) 227 set_source_files_properties(${LDFORGE_OTHER_FILES} PROPERTIES HEADER_FILE_ONLY TRUE)
227 set_target_properties (ldforge PROPERTIES AUTOMOC 1) 228 set_target_properties (ldforge PROPERTIES AUTOMOC 1)
228 target_link_libraries (ldforge Qt5::Widgets Qt5::Network Qt5::OpenGL ${OPENGL_LIBRARIES}) 229 target_link_libraries (ldforge Qt5::Widgets Qt5::Network Qt5::OpenGL ${OPENGL_LIBRARIES})

mercurial