diff --git a/cli/cppcheck.vcproj b/cli/cppcheck.vcproj index ccebc9135..bfb3c25f8 100755 --- a/cli/cppcheck.vcproj +++ b/cli/cppcheck.vcproj @@ -28,7 +28,7 @@ GeneratePreprocessedFile="0" ObjectFile="temp\" Optimization ="4" - PreprocessorDefinitions="UNICODE,WIN32,QT_LARGEFILE_SUPPORT" + PreprocessorDefinitions="UNICODE,WIN32,QT_LARGEFILE_SUPPORT,_CRT_SECURE_NO_WARNINGS" ProgramDataBaseFileName=".\" RuntimeLibrary="3" RuntimeTypeInfo="true" @@ -39,7 +39,7 @@ Name="VCCustomBuildTool" /> + PreprocessorDefinitions="UNICODE,WIN32,QT_LARGEFILE_SUPPORT,_CRT_SECURE_NO_WARNINGS,_DEBUG" /> + PreprocessorDefinitions="QT_NO_DEBUG,NDEBUG,UNICODE,WIN32,QT_LARGEFILE_SUPPORT,NDEBUG,_CRT_SECURE_NO_WARNINGS" /> diff --git a/cli/cppcheck.vcxproj b/cli/cppcheck.vcxproj index a0691b89f..8d6d39e10 100644 --- a/cli/cppcheck.vcxproj +++ b/cli/cppcheck.vcxproj @@ -59,7 +59,7 @@ Sync temp\ Disabled - UNICODE;WIN32;QT_LARGEFILE_SUPPORT;%(PreprocessorDefinitions) + UNICODE;WIN32;QT_LARGEFILE_SUPPORT;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) false .\ MultiThreadedDebugDLL @@ -69,7 +69,7 @@ Level4 - pcre.lib;shlwapi.lib;%(AdditionalDependencies) + ../externals\pcre.lib;shlwapi.lib;%(AdditionalDependencies) ../externals;%(AdditionalLibraryDirectories) true true @@ -79,7 +79,7 @@ - UNICODE;WIN32;QT_LARGEFILE_SUPPORT;_DEBUG;%(PreprocessorDefinitions) + UNICODE;WIN32;QT_LARGEFILE_SUPPORT;_CRT_SECURE_NO_WARNINGS;_DEBUG;%(PreprocessorDefinitions) @@ -92,7 +92,7 @@ Sync temp\ MaxSpeed - QT_NO_DEBUG;NDEBUG;UNICODE;WIN32;QT_LARGEFILE_SUPPORT;NDEBUG;NDEBUG;%(PreprocessorDefinitions) + QT_NO_DEBUG;NDEBUG;UNICODE;WIN32;QT_LARGEFILE_SUPPORT;NDEBUG;_CRT_SECURE_NO_WARNINGS;NDEBUG;%(PreprocessorDefinitions) false .\ MultiThreadedDLL @@ -102,7 +102,7 @@ Level4 - pcre.lib;shlwapi.lib;%(AdditionalDependencies) + ../externals\pcre.lib;shlwapi.lib;%(AdditionalDependencies) ../externals;%(AdditionalLibraryDirectories) false true @@ -113,7 +113,7 @@ - QT_NO_DEBUG;NDEBUG;UNICODE;WIN32;QT_LARGEFILE_SUPPORT;NDEBUG;%(PreprocessorDefinitions) + QT_NO_DEBUG;NDEBUG;UNICODE;WIN32;QT_LARGEFILE_SUPPORT;NDEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) diff --git a/test/test.vcproj b/test/test.vcproj index 0c465f444..0eba6bbdd 100755 --- a/test/test.vcproj +++ b/test/test.vcproj @@ -1,771 +1,337 @@ + ProjectGUID="{E690724D-4286-3049-8439-595D1CB80EAB}" + Keyword="Qt4VSv1.0"> + Name="Win32" /> - - - - - - - + ConfigurationType="1" + IntermediateDirectory="temp\" + UseOfMfc="0"> + ExceptionHandling="1" + GeneratePreprocessedFile="0" + ObjectFile="temp\" + Optimization ="4" + PreprocessorDefinitions="UNICODE,WIN32,QT_LARGEFILE_SUPPORT,_CRT_SECURE_NO_WARNINGS" + ProgramDataBaseFileName=".\" + RuntimeLibrary="3" + RuntimeTypeInfo="true" + SuppressStartupBanner="true" + TreatWChar_tAsBuiltInType="false" + WarningLevel="4" /> - - + Name="VCCustomBuildTool" /> + SuppressStartupBanner="true" /> + Name="VCMIDLTool" + DefaultCharType="0" + EnableErrorChecks="1" + WarningLevel="0" /> + Name="VCPostBuildEventTool" /> + Name="VCPreBuildEventTool" /> + Name="VCPreLinkEventTool" /> - - + Name="VCResourceCompilerTool" + PreprocessorDefinitions="UNICODE,WIN32,QT_LARGEFILE_SUPPORT,_CRT_SECURE_NO_WARNINGS,_DEBUG" /> - - - - - + ConfigurationType="1" + IntermediateDirectory="temp\" + UseOfMfc="0"> + WarningLevel="4" /> - - + Name="VCCustomBuildTool" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + SuppressStartupBanner="true" /> + Name="VCMIDLTool" + DefaultCharType="0" + EnableErrorChecks="1" + WarningLevel="0" /> + Name="VCPostBuildEventTool" /> + Name="VCPreBuildEventTool" /> + Name="VCPreLinkEventTool" /> - - + Name="VCResourceCompilerTool" + PreprocessorDefinitions="QT_NO_DEBUG,NDEBUG,UNICODE,WIN32,QT_LARGEFILE_SUPPORT,_CRT_SECURE_NO_WARNINGS" /> - - + UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"> - + RelativePath="..\lib\checkautovariables.cpp" /> - + RelativePath="..\lib\checkbufferoverrun.cpp" /> - + RelativePath="..\lib\checkclass.cpp" /> - + RelativePath="..\lib\checkexceptionsafety.cpp" /> - + RelativePath="..\lib\checkmemoryleak.cpp" /> - + RelativePath="..\lib\checknullpointer.cpp" /> - + RelativePath="..\lib\checkobsoletefunctions.cpp" /> - + RelativePath="..\lib\checkother.cpp" /> - + RelativePath="..\lib\checkpostfixoperator.cpp" /> - + RelativePath="..\lib\checkstl.cpp" /> - + RelativePath="..\lib\checkuninitvar.cpp" /> - + RelativePath="..\lib\checkunusedfunctions.cpp" /> - + RelativePath="..\cli\cmdlineparser.cpp" /> - + RelativePath="..\lib\cppcheck.cpp" /> - + RelativePath="..\cli\cppcheckexecutor.cpp" /> - + RelativePath="..\lib\errorlogger.cpp" /> - + RelativePath="..\lib\executionpath.cpp" /> - + RelativePath="..\lib\filelister.cpp" /> - + RelativePath="..\lib\filelister_unix.cpp" /> - + RelativePath="..\lib\filelister_win32.cpp" /> - + RelativePath="..\lib\mathlib.cpp" /> - + RelativePath="options.cpp" /> - + RelativePath="..\lib\path.cpp" /> - + RelativePath="..\lib\preprocessor.cpp" /> - + RelativePath="..\lib\settings.cpp" /> - + RelativePath="..\lib\symboldatabase.cpp" /> - + RelativePath="testautovariables.cpp" /> - + RelativePath="testbufferoverrun.cpp" /> - + RelativePath="testcharvar.cpp" /> - + RelativePath="testclass.cpp" /> - + RelativePath="testcmdlineparser.cpp" /> - + RelativePath="testconstructors.cpp" /> - + RelativePath="testcppcheck.cpp" /> - + RelativePath="testdivision.cpp" /> - + RelativePath="testerrorlogger.cpp" /> - + RelativePath="testexceptionsafety.cpp" /> - + RelativePath="testincompletestatement.cpp" /> - + RelativePath="testmathlib.cpp" /> - + RelativePath="testmemleak.cpp" /> - + RelativePath="testnullpointer.cpp" /> - + RelativePath="testobsoletefunctions.cpp" /> - + RelativePath="testoptions.cpp" /> - + RelativePath="testother.cpp" /> - + RelativePath="testpath.cpp" /> - + RelativePath="testpostfixoperator.cpp" /> - + RelativePath="testpreprocessor.cpp" /> - + RelativePath="testrunner.cpp" /> - + RelativePath="testsettings.cpp" /> - + RelativePath="testsimplifytokens.cpp" /> - + RelativePath="teststl.cpp" /> - + RelativePath="testsuite.cpp" /> - + RelativePath="testthreadexecutor.cpp" /> - + RelativePath="testtoken.cpp" /> - + RelativePath="testtokenize.cpp" /> - + RelativePath="testuninitvar.cpp" /> - + RelativePath="testunusedfunctions.cpp" /> - + RelativePath="testunusedprivfunc.cpp" /> - + RelativePath="testunusedvar.cpp" /> - + RelativePath="..\cli\threadexecutor.cpp" /> - + RelativePath="..\lib\timer.cpp" /> - + RelativePath="..\externals\tinyxml\tinystr.cpp" /> + + + + + + UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"> - + RelativePath="..\lib\check.h" /> - + RelativePath="..\lib\checkautovariables.h" /> - + RelativePath="..\lib\checkbufferoverrun.h" /> - + RelativePath="..\lib\checkclass.h" /> - + RelativePath="..\lib\checkexceptionsafety.h" /> - + RelativePath="..\lib\checkmemoryleak.h" /> - + RelativePath="..\lib\checknullpointer.h" /> - + RelativePath="..\lib\checkobsoletefunctions.h" /> - + RelativePath="..\lib\checkother.h" /> - + RelativePath="..\lib\checkpostfixoperator.h" /> - + RelativePath="..\lib\checkstl.h" /> - + RelativePath="..\lib\checkuninitvar.h" /> - + RelativePath="..\lib\checkunusedfunctions.h" /> - + RelativePath="..\cli\cmdlineparser.h" /> - + RelativePath="..\lib\cppcheck.h" /> - + RelativePath="..\cli\cppcheckexecutor.h" /> - + RelativePath="..\lib\errorlogger.h" /> - + RelativePath="..\lib\executionpath.h" /> - + RelativePath="..\lib\filelister.h" /> - + RelativePath="..\lib\filelister_unix.h" /> - + RelativePath="..\lib\filelister_win32.h" /> - + RelativePath="..\lib\mathlib.h" /> - + RelativePath="options.h" /> - + RelativePath="..\lib\path.h" /> - + RelativePath="..\lib\preprocessor.h" /> - + RelativePath="redirect.h" /> - + RelativePath="..\lib\settings.h" /> - + RelativePath="..\lib\symboldatabase.h" /> - + RelativePath="testsuite.h" /> - + RelativePath="..\cli\threadexecutor.h" /> - + RelativePath="..\lib\timer.h" /> - - - + RelativePath="..\externals\tinyxml\tinystr.h" /> - + RelativePath="..\externals\tinyxml\tinyxml.h" /> - + RelativePath="..\lib\token.h" /> - - - - - - - + RelativePath="..\lib\tokenize.h" /> - + \ No newline at end of file diff --git a/test/test.vcxproj b/test/test.vcxproj index 270a58fd0..bf613ddac 100644 --- a/test/test.vcxproj +++ b/test/test.vcxproj @@ -1,237 +1,122 @@ - + Debug Win32 - - Debug - x64 - Release Win32 - - Release - x64 - - {BA98E531-D8B3-39CB-8171-064854404B81} + {597BA843-2D03-3F45-AB51-2E1DF1EA5136} + test Qt4VSv1.0 - + + debug\ + false Application - false + temp\ - + + release\ + false Application - false - - - Application - false - - - Application - false + temp\ - + + + - - - - - - - - - - - + + - <_ProjectFileVersion>10.0.30319.1 - ..\Build\$(Configuration)\ - ..\Build\$(Configuration)-$(Platform)\ - ..\BuildTmp\$(TargetName)\$(Configuration)\ - ..\BuildTmp\$(TargetName)\$(Configuration)-$(Platform)\ - true - true - ..\Build\$(Configuration)\ - ..\Build\$(Configuration)-$(Platform)\ - ..\BuildTmp\$(TargetName)\$(Configuration)\ - ..\BuildTmp\$(TargetName)\$(Configuration)-$(Platform)\ - true - true - false - false - AllRules.ruleset - AllRules.ruleset - - - - - AllRules.ruleset - AllRules.ruleset - - - - + debug\ + temp\ + test + true + release\ + temp\ + test + true + false - - - 0 - Unsigned - None - + + ".";"..\cli";"..\lib";"..\externals";c:\Qt\VS4.7.0\mkspecs\win32-msvc2010;%(AdditionalIncludeDirectories) + -Zm200 -w34100 -w34189 %(AdditionalOptions) + temp\ + false + false + ProgramDatabase + Sync + temp\ Disabled - ..\lib;..\cli;..\externals;%(AdditionalIncludeDirectories) - _DEBUG;WIN32;UNIT_TESTING;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebug + UNICODE;WIN32;QT_LARGEFILE_SUPPORT;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + false + .\ + MultiThreadedDebugDLL + true + true false - $(IntDir) - $(IntDir) Level4 - ProgramDatabase - - UNICODE;WIN32;QT_LARGEFILE_SUPPORT;UNIT_TESTING;_DEBUG;%(PreprocessorDefinitions) - - shlwapi.lib;%(AdditionalDependencies) - $(OutDir)test.exe + shlwapi.lib;../externals\pcre.lib;%(AdditionalDependencies) + ../externals;%(AdditionalLibraryDirectories) true - - + true + debug\test.exe Console - - + true - - $(IntDir)$(ProjectName).bsc - - - - - 0 - Unsigned - None - - - Disabled - ..\lib;..\cli;%(AdditionalIncludeDirectories) - _DEBUG;WIN64;UNIT_TESTING;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) - EnableFastChecks - MultiThreadedDebug - false - $(IntDir) - $(IntDir) - Level4 - ProgramDatabase - + - UNICODE;WIN32;QT_LARGEFILE_SUPPORT;UNIT_TESTING;_DEBUG;%(PreprocessorDefinitions) + UNICODE;WIN32;QT_LARGEFILE_SUPPORT;_CRT_SECURE_NO_WARNINGS;_DEBUG;%(PreprocessorDefinitions) - - shlwapi.lib;%(AdditionalDependencies) - $(OutDir)test.exe - true - - - Console - - - - - $(IntDir)$(ProjectName).bsc - - - - 0 - Unsigned - None - + + ".";"..\cli";"..\lib";"..\externals";c:\Qt\VS4.7.0\mkspecs\win32-msvc2010;%(AdditionalIncludeDirectories) + -Zm200 -w34100 -w34189 %(AdditionalOptions) + temp\ + false + false + Sync + temp\ MaxSpeed - true - true - ..\lib;..\cli;..\externals;%(AdditionalIncludeDirectories) - NDEBUG;WIN32;UNIT_TESTING;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) - MultiThreaded + QT_NO_DEBUG;NDEBUG;UNICODE;WIN32;QT_LARGEFILE_SUPPORT;_CRT_SECURE_NO_WARNINGS;NDEBUG;%(PreprocessorDefinitions) + false + .\ + MultiThreadedDLL + true + true false - $(IntDir) - $(IntDir) Level4 - ProgramDatabase - - QT_NO_DEBUG;NDEBUG;UNICODE;WIN32;QT_LARGEFILE_SUPPORT;UNIT_TESTING;%(PreprocessorDefinitions) - - shlwapi.lib;%(AdditionalDependencies) - $(OutDir)test.exe - true - - + shlwapi.lib;../externals\pcre.lib;%(AdditionalDependencies) + ../externals;%(AdditionalLibraryDirectories) + false + true + false + release\test.exe Console - UseLinkTimeCodeGeneration + true - - $(IntDir)$(ProjectName).bsc - - - - - 0 - Unsigned - None - - - MaxSpeed - true - true - ..\lib;..\cli;%(AdditionalIncludeDirectories) - NDEBUG;WIN64;UNIT_TESTING;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) - MultiThreaded - false - $(IntDir) - $(IntDir) - Level4 - ProgramDatabase - + - QT_NO_DEBUG;NDEBUG;UNICODE;WIN32;QT_LARGEFILE_SUPPORT;UNIT_TESTING;%(PreprocessorDefinitions) + QT_NO_DEBUG;NDEBUG;UNICODE;WIN32;QT_LARGEFILE_SUPPORT;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) - - shlwapi.lib;%(AdditionalDependencies) - $(OutDir)test.exe - true - - - Console - UseLinkTimeCodeGeneration - - - $(IntDir)$(ProjectName).bsc - - - - - - - - @@ -244,20 +129,20 @@ + + + + - - - - @@ -290,13 +175,16 @@ + + + + + + + + - - - - - @@ -310,25 +198,29 @@ - + + + + + + + + + - - - - - + \ No newline at end of file diff --git a/test/test.vcxproj.filters b/test/test.vcxproj.filters index e101a1d38..15e944c5c 100644 --- a/test/test.vcxproj.filters +++ b/test/test.vcxproj.filters @@ -1,91 +1,19 @@ - + - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx - {93995380-89BD-4b04-88EB-625FBE52EBFB} h;hpp;hxx;hm;inl;inc;xsd - - {eaf5e7d4-d840-494c-8a24-8f167e2b4fb3} + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - Source Files - - Source Files - Source Files @@ -98,18 +26,36 @@ Source Files + + Source Files + + + Source Files + Source Files + + Source Files + Source Files + + Source Files + Source Files + + Source Files + Source Files + + Source Files + Source Files @@ -119,107 +65,155 @@ Source Files + + Source Files + Source Files Source Files + + Source Files + + + Source Files + Source Files Source Files - + Source Files - + Source Files - + Source Files - + + Source Files + + Source Files Source Files - + Source Files - + Source Files - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - + Source Files Source Files + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + - TinyXml + Source Files - TinyXml + Source Files - TinyXml + Source Files - TinyXml + Source Files + + + Source Files + + + Source Files - - Header Files - Header Files - - Header Files - Header Files @@ -235,21 +229,36 @@ Header Files + + Header Files + + + Header Files + Header Files + + Header Files + Header Files + + Header Files + Header Files - + Header Files Header Files + + Header Files + Header Files @@ -259,62 +268,53 @@ Header Files + + Header Files + Header Files Header Files - - Header Files - - - Header Files - - + Header Files Header Files - - Header Files - - - Header Files - - - Header Files - - - Header Files - - + Header Files Header Files - - Header Files - - - Header Files - - - Header Files - - + Header Files Header Files + + Header Files + + + Header Files + + + Header Files + - TinyXml + Header Files - TinyXml + Header Files + + + Header Files + + + Header Files \ No newline at end of file