From 2301b4043325860b39f35a05e0b968d81db41dc2 Mon Sep 17 00:00:00 2001 From: Kimmo Varis Date: Sun, 24 Oct 2010 19:30:40 +0300 Subject: [PATCH] Add x64 build targets for VS 2010. This commit adds new x64-Debug and x64-Release -targets for VS 2010. To use those targets you need Windows SDK with x64 compiler. --- cli/cppcheck.vcxproj | 108 +++++++++++++++++++++++++++++++++++++++++++ cppcheck_vs2010.sln | 10 ++++ test/test.vcxproj | 105 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 223 insertions(+) diff --git a/cli/cppcheck.vcxproj b/cli/cppcheck.vcxproj index 1777748d9..170fffef1 100644 --- a/cli/cppcheck.vcxproj +++ b/cli/cppcheck.vcxproj @@ -5,10 +5,18 @@ Debug Win32 + + Debug + x64 + Release Win32 + + Release + x64 + {7D0D241B-E144-3FAC-ABD3-8D1BBA4B600A} @@ -20,35 +28,63 @@ Application false + + Application + false + Application false + + Application + false + + + + + + + <_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 + + + $(IncludePath) @@ -86,6 +122,42 @@ $(IntDir)$(ProjectName).bsc + + + 0 + Unsigned + None + + + Disabled + false + ..\lib;%(AdditionalIncludeDirectories) + _DEBUG;WIN64;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + EnableFastChecks + MultiThreadedDebug + false + $(IntDir) + $(IntDir) + Level4 + ProgramDatabase + + + WIN32;_DEBUG;%(PreprocessorDefinitions) + + + shlwapi.lib;%(AdditionalDependencies) + $(OutDir)cppcheck.exe + true + + + Console + + + + + $(IntDir)$(ProjectName).bsc + + 0 @@ -122,6 +194,42 @@ $(IntDir)$(ProjectName).bsc + + + 0 + Unsigned + None + + + MaxSpeed + true + true + ..\lib;%(AdditionalIncludeDirectories) + NDEBUG;WIN64;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + MultiThreaded + false + $(IntDir) + $(IntDir) + Level4 + ProgramDatabase + false + + + NDEBUG;WIN32;%(PreprocessorDefinitions) + + + shlwapi.lib;%(AdditionalDependencies) + $(OutDir)cppcheck.exe + false + + + Console + UseLinkTimeCodeGeneration + + + $(IntDir)$(ProjectName).bsc + + diff --git a/cppcheck_vs2010.sln b/cppcheck_vs2010.sln index c9c2d55f3..cc1f27116 100644 --- a/cppcheck_vs2010.sln +++ b/cppcheck_vs2010.sln @@ -7,17 +7,27 @@ EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 Release|Win32 = Release|Win32 + Release|x64 = Release|x64 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {7D0D241B-E144-3FAC-ABD3-8D1BBA4B600A}.Debug|Win32.ActiveCfg = Debug|Win32 {7D0D241B-E144-3FAC-ABD3-8D1BBA4B600A}.Debug|Win32.Build.0 = Debug|Win32 + {7D0D241B-E144-3FAC-ABD3-8D1BBA4B600A}.Debug|x64.ActiveCfg = Debug|x64 + {7D0D241B-E144-3FAC-ABD3-8D1BBA4B600A}.Debug|x64.Build.0 = Debug|x64 {7D0D241B-E144-3FAC-ABD3-8D1BBA4B600A}.Release|Win32.ActiveCfg = Release|Win32 {7D0D241B-E144-3FAC-ABD3-8D1BBA4B600A}.Release|Win32.Build.0 = Release|Win32 + {7D0D241B-E144-3FAC-ABD3-8D1BBA4B600A}.Release|x64.ActiveCfg = Release|x64 + {7D0D241B-E144-3FAC-ABD3-8D1BBA4B600A}.Release|x64.Build.0 = Release|x64 {BA98E531-D8B3-39CB-8171-064854404B81}.Debug|Win32.ActiveCfg = Debug|Win32 {BA98E531-D8B3-39CB-8171-064854404B81}.Debug|Win32.Build.0 = Debug|Win32 + {BA98E531-D8B3-39CB-8171-064854404B81}.Debug|x64.ActiveCfg = Debug|x64 + {BA98E531-D8B3-39CB-8171-064854404B81}.Debug|x64.Build.0 = Debug|x64 {BA98E531-D8B3-39CB-8171-064854404B81}.Release|Win32.ActiveCfg = Release|Win32 {BA98E531-D8B3-39CB-8171-064854404B81}.Release|Win32.Build.0 = Release|Win32 + {BA98E531-D8B3-39CB-8171-064854404B81}.Release|x64.ActiveCfg = Release|x64 + {BA98E531-D8B3-39CB-8171-064854404B81}.Release|x64.Build.0 = Release|x64 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/test/test.vcxproj b/test/test.vcxproj index cc708b716..08d0f7954 100644 --- a/test/test.vcxproj +++ b/test/test.vcxproj @@ -5,10 +5,18 @@ Debug Win32 + + Debug + x64 + Release Win32 + + Release + x64 + {BA98E531-D8B3-39CB-8171-064854404B81} @@ -19,35 +27,62 @@ Application false + + Application + false + Application false + + Application + false + + + + + + + <_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 + + @@ -84,6 +119,41 @@ $(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) + + + shlwapi.lib;%(AdditionalDependencies) + $(OutDir)test.exe + true + + + Console + + + + + $(IntDir)$(ProjectName).bsc + + 0 @@ -119,6 +189,41 @@ $(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) + + + shlwapi.lib;%(AdditionalDependencies) + $(OutDir)test.exe + true + + + Console + UseLinkTimeCodeGeneration + + + $(IntDir)$(ProjectName).bsc + +