Skip to content

Commit

Permalink
Add 64-bit targets for VS2008 project/solution files.
Browse files Browse the repository at this point in the history
Since VS2008 Express does not support x64 platform we must create new
configurations named Debug-x64 and Release-x64.
  • Loading branch information
kimmov committed Oct 26, 2010
1 parent eb3070e commit 59752f1
Show file tree
Hide file tree
Showing 3 changed files with 350 additions and 2 deletions.
172 changes: 171 additions & 1 deletion cli/cppcheck.vcproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9,00"
Version="9.00"
Name="cppcheck"
ProjectGUID="{7D0D241B-E144-3FAC-ABD3-8D1BBA4B600A}"
RootNamespace="cppcheck"
Expand Down Expand Up @@ -183,6 +183,176 @@
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Debug-x64|Win32"
OutputDirectory="..\Build\$(ConfigurationName)"
IntermediateDirectory="..\BuildTmp\$(TargetName)\$(ConfigurationName)"
ConfigurationType="1"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
WarningLevel="0"
DefaultCharType="0"
EnableErrorChecks="1"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
WholeProgramOptimization="false"
AdditionalIncludeDirectories="..\lib"
PreprocessorDefinitions="_DEBUG;WIN64;_CRT_SECURE_NO_WARNINGS"
BasicRuntimeChecks="3"
RuntimeLibrary="1"
TreatWChar_tAsBuiltInType="false"
AssemblerListingLocation="$(IntDir)\"
ProgramDataBaseFileName="$(IntDir)\"
WarningLevel="4"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="WIN32;_DEBUG"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
IgnoreImportLibrary="true"
AdditionalOptions="/MACHINE:x64"
AdditionalDependencies="shlwapi.lib"
OutputFile="$(OutDir)\cppcheck.exe"
GenerateDebugInformation="true"
ProgramDatabaseFile=""
SubSystem="1"
LinkTimeCodeGeneration="0"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
OutputFile="$(IntDir)/$(ProjectName).bsc"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release-x64|Win32"
OutputDirectory="..\Build\$(ConfigurationName)"
IntermediateDirectory="..\BuildTmp\$(TargetName)\$(ConfigurationName)"
ConfigurationType="1"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
WarningLevel="0"
DefaultCharType="0"
EnableErrorChecks="1"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="2"
EnableIntrinsicFunctions="true"
WholeProgramOptimization="true"
AdditionalIncludeDirectories="..\lib"
PreprocessorDefinitions="NDEBUG,WIN64;_CRT_SECURE_NO_WARNINGS"
RuntimeLibrary="0"
TreatWChar_tAsBuiltInType="false"
AssemblerListingLocation="$(IntDir)\"
ObjectFile="$(IntDir)\"
ProgramDataBaseFileName="$(IntDir)\"
WarningLevel="4"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="NDEBUG,WIN32"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
IgnoreImportLibrary="true"
AdditionalOptions="/MACHINE:x64"
AdditionalDependencies="shlwapi.lib"
OutputFile="$(OutDir)\cppcheck.exe"
LinkIncremental="1"
GenerateDebugInformation="true"
ProgramDatabaseFile=""
SubSystem="1"
LinkTimeCodeGeneration="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
OutputFile="$(IntDir)/$(ProjectName).bsc"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
</References>
Expand Down
10 changes: 10 additions & 0 deletions cppcheck.sln
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,27 @@ EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Debug-x64|Win32 = Debug-x64|Win32
Release|Win32 = Release|Win32
Release-x64|Win32 = Release-x64|Win32
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|Win32.ActiveCfg = Debug-x64|Win32
{7D0D241B-E144-3FAC-ABD3-8D1BBA4B600A}.Debug-x64|Win32.Build.0 = Debug-x64|Win32
{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|Win32.ActiveCfg = Release-x64|Win32
{7D0D241B-E144-3FAC-ABD3-8D1BBA4B600A}.Release-x64|Win32.Build.0 = Release-x64|Win32
{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|Win32.ActiveCfg = Debug-x64|Win32
{BA98E531-D8B3-39CB-8171-064854404B81}.Debug-x64|Win32.Build.0 = Debug-x64|Win32
{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|Win32.ActiveCfg = Release-x64|Win32
{BA98E531-D8B3-39CB-8171-064854404B81}.Release-x64|Win32.Build.0 = Release-x64|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
170 changes: 169 additions & 1 deletion test/test.vcproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9,00"
Version="9.00"
Name="test"
ProjectGUID="{BA98E531-D8B3-39CB-8171-064854404B81}"
Keyword="Qt4VSv1.0"
Expand Down Expand Up @@ -181,6 +181,174 @@
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Debug-x64|Win32"
OutputDirectory="..\Build\$(ConfigurationName)"
IntermediateDirectory="..\BuildTmp\$(TargetName)\$(ConfigurationName)"
ConfigurationType="1"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
WarningLevel="0"
DefaultCharType="0"
EnableErrorChecks="1"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="..\lib;..\cli"
PreprocessorDefinitions="_DEBUG,WIN64,UNIT_TESTING;_CRT_SECURE_NO_WARNINGS"
BasicRuntimeChecks="3"
RuntimeLibrary="1"
TreatWChar_tAsBuiltInType="false"
AssemblerListingLocation="$(IntDir)\"
ProgramDataBaseFileName="$(IntDir)\"
WarningLevel="4"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="UNICODE,WIN32,QT_LARGEFILE_SUPPORT,UNIT_TESTING,_DEBUG"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
IgnoreImportLibrary="true"
AdditionalOptions="/MACHINE:x64"
AdditionalDependencies="shlwapi.lib"
OutputFile="$(OutDir)\test.exe"
GenerateDebugInformation="true"
ProgramDatabaseFile=""
SubSystem="1"
LinkTimeCodeGeneration="0"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
OutputFile="$(IntDir)/$(ProjectName).bsc"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release-x64|Win32"
OutputDirectory="..\Build\$(ConfigurationName)"
IntermediateDirectory="..\BuildTmp\$(TargetName)\$(ConfigurationName)"
ConfigurationType="1"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
WarningLevel="0"
DefaultCharType="0"
EnableErrorChecks="1"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="2"
EnableIntrinsicFunctions="true"
WholeProgramOptimization="true"
AdditionalIncludeDirectories="..\lib;..\cli"
PreprocessorDefinitions="NDEBUG,WIN64,UNIT_TESTING;_CRT_SECURE_NO_WARNINGS"
RuntimeLibrary="0"
TreatWChar_tAsBuiltInType="false"
AssemblerListingLocation="$(IntDir)\"
ProgramDataBaseFileName="$(IntDir)\"
WarningLevel="4"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="QT_NO_DEBUG,NDEBUG,UNICODE,WIN32,QT_LARGEFILE_SUPPORT,UNIT_TESTING"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
IgnoreImportLibrary="true"
AdditionalOptions="/MACHINE:x64"
AdditionalDependencies="shlwapi.lib"
OutputFile="$(OutDir)\test.exe"
LinkIncremental="1"
GenerateDebugInformation="true"
ProgramDatabaseFile=""
SubSystem="1"
LinkTimeCodeGeneration="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
OutputFile="$(IntDir)/$(ProjectName).bsc"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
</References>
Expand Down

0 comments on commit 59752f1

Please sign in to comment.