From c55f28ca2b8d3319a32c536ab752cc6b2d1e3e1b Mon Sep 17 00:00:00 2001 From: Kimmo Varis Date: Sat, 13 Jun 2009 23:14:09 +0300 Subject: [PATCH] GUI: Move Windows-specific options and files to own scope in project file. --- gui/gui.pro | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/gui/gui.pro b/gui/gui.pro index df43266d0..bfa42d9fb 100644 --- a/gui/gui.pro +++ b/gui/gui.pro @@ -13,8 +13,6 @@ RESOURCES = gui.qrc # Windows-specific options CONFIG += embed_manifest_exe -RC_FILE = cppcheck-gui.rc -win32:LIBS += -lshlwapi # Input HEADERS += mainwindow.h \ @@ -27,7 +25,7 @@ HEADERS += mainwindow.h \ applicationlist.h \ applicationdialog.h \ aboutdialog.h \ - common.h \ + common.h \ ../src/checkautovariables.h \ ../src/checkdangerousfunctions.h \ ../src/checkheaders.h \ @@ -48,7 +46,6 @@ HEADERS += mainwindow.h \ ../src/checkother.h \ ../src/cppcheckexecutor.h \ ../src/filelister.h \ - ../src/resource.h \ ../src/token.h @@ -83,3 +80,10 @@ SOURCES += main.cpp \ ../src/checkunusedfunctions.cpp \ ../src/settings.cpp \ ../src/tokenize.cpp + + +win32 { + RC_FILE = cppcheck-gui.rc + HEADERS += ../src/resource.h + LIBS += -lshlwapi +}