Sun, 07 Sep 2014 04:15:54 +0300
- fixed: missing WIN32 keyword in cmakelists caused the command prompt to show up when ldforge was executed
CMakeLists.txt | file | annotate | diff | comparison | revisions |
--- a/CMakeLists.txt Sun Sep 07 04:11:55 2014 +0300 +++ b/CMakeLists.txt Sun Sep 07 04:15:54 2014 +0300 @@ -173,12 +173,14 @@ qt5_generate_moc (LDFORGE_MOC ${LDFORGE_HEADERS}) qt5_add_resources (LDFORGE_QRC ${LDFORGE_RESOURCES}) qt5_wrap_ui (LDFORGE_FORMS_HEADERS ${LDFORGE_FORMS}) - add_executable (ldforge ${LDFORGE_SOURCES} ${LDFORGE_MOC} ${LDFORGE_QRC} ${LDFORGE_FORMS_HEADERS}) + add_executable (ldforge WIN32 ${LDFORGE_SOURCES} ${LDFORGE_MOC} + ${LDFORGE_QRC} ${LDFORGE_FORMS_HEADERS}) else() qt4_wrap_cpp (LDFORGE_MOC ${LDFORGE_HEADERS}) qt4_wrap_ui (LDFORGE_FORMS_HEADERS ${LDFORGE_FORMS}) qt4_add_resources (LDFORGE_RCC ${LDFORGE_RESOURCES}) - add_executable (ldforge ${LDFORGE_SOURCES} ${LDFORGE_RCC} ${LDFORGE_FORMS_HEADERS} ${LDFORGE_MOC}) + add_executable (ldforge WIN32 ${LDFORGE_SOURCES} ${LDFORGE_RCC} + ${LDFORGE_FORMS_HEADERS} ${LDFORGE_MOC}) endif() if (USE_QT5)