diff -r f2d1f2975340 -r 7e34dd7559ce CMakeLists.txt --- a/CMakeLists.txt Mon Mar 06 11:49:00 2017 +0200 +++ b/CMakeLists.txt Mon Mar 06 12:15:33 2017 +0200 @@ -85,6 +85,7 @@ src/toolsets/toolset.cpp src/toolsets/viewtoolset.cpp src/types/matrix.cpp + ${CMAKE_BINARY_DIR}/configuration.cpp ) set (LDFORGE_HEADERS @@ -152,6 +153,7 @@ src/toolsets/viewtoolset.h src/types/matrix.h src/types/resourcevector.h + ${CMAKE_BINARY_DIR}/configuration.h ) set (LDFORGE_FORMS @@ -219,8 +221,7 @@ qt5_add_resources (LDFORGE_QRC ${LDFORGE_RESOURCES}) qt5_wrap_ui (LDFORGE_FORMS_HEADERS ${LDFORGE_FORMS}) add_executable (ldforge WIN32 ${LDFORGE_SOURCES} ${LDFORGE_HEADERS} ${LDFORGE_OTHER_FILES} - ${LDFORGE_QRC} ${LDFORGE_FORMS_HEADERS} - ${CMAKE_BINARY_DIR}/configuration.cpp) + ${LDFORGE_QRC} ${LDFORGE_FORMS_HEADERS}) set_source_files_properties(${LDFORGE_HEADERS} PROPERTIES HEADER_FILE_ONLY TRUE) set_source_files_properties(${LDFORGE_OTHER_FILES} PROPERTIES HEADER_FILE_ONLY TRUE)