CMake - add Windows resource files to build.

This commit is contained in:
Kimmo Varis 2009-12-19 16:54:38 +02:00
parent 401afea2f2
commit d51520d656
2 changed files with 16 additions and 0 deletions

View File

@ -6,6 +6,14 @@ SET(CHECKCLI_SRCS
main.cpp
)
# Add Windows resource file
if (WIN32)
SET(CHECKCLI_SRCS
${CHECKCLI_SRCS}
cppcheck.rc
)
endif (WIN32)
# Libraries to link
set(CHECK_LIBS
checklib

View File

@ -52,6 +52,14 @@ SET(CHECKGUI_SRCS
xmlreport.cpp
)
# Add Windows resource file
if (WIN32)
SET(CHECKGUI_SRCS
${CHECKGUI_SRCS}
cppcheck-gui.rc
)
endif (WIN32)
# UI files
SET(CHECK_UIS
about.ui