build: cmake fix

* removed parser files from the app target since they are already compiled into the parser_lib which is linked to the app target.
This commit is contained in:
malte_langkabel
2016-01-04 15:22:15 +01:00
parent 94e3058e38
commit f44b76936d
+1 -1
View File
@@ -246,7 +246,7 @@ if (WIN32)
"// remains consistent on all systems.\n"
"IDI_ICON1 ICON \"${CMAKE_SOURCE_DIR}/build/coati.ico\"\n"
)
add_executable(${APP_PROJECT_NAME} ${APP_FILES} ${CLANG_FILES} ${CMAKE_SOURCE_DIR}/build/Coati.rc)
add_executable(${APP_PROJECT_NAME} ${APP_FILES} ${CMAKE_SOURCE_DIR}/build/Coati.rc)
# hide the console when running a release build.
set_target_properties(${APP_PROJECT_NAME} PROPERTIES LINK_FLAGS_DEBUG "/SUBSYSTEM:CONSOLE")