Permalink
Browse files

Create separate debug and release profiles for VS

  • Loading branch information...
1 parent d1a5d15 commit f356a4c9335c4fe4719b91b869b97dfbaeea9102 @Nukem9 Nukem9 committed Nov 1, 2015
Showing with 203 additions and 28 deletions.
  1. +14 −2 XEDParse.sln
  2. +82 −2 XEDParse.vcxproj
  3. +24 −24 XEDParse.vcxproj.filters
  4. +14 −0 XEDParse.vcxproj.user
  5. +69 −0 XEDParseTest/XEDParseTest.vcxproj
View
@@ -1,6 +1,8 @@

-Microsoft Visual Studio Solution File, Format Version 11.00
-# Visual Studio 2010
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 14
+VisualStudioVersion = 14.0.23107.0
+MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "XEDParse", "XEDParse.vcxproj", "{05FD4520-9761-3F68-5034-D8E8EDB3B729}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "XEDParseTest", "XEDParseTest\XEDParseTest.vcxproj", "{CB690634-908F-4E23-A178-834CCB189CD5}"
@@ -10,12 +12,18 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "XEDParseTest", "XEDParseTes
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Debug|x64 = Debug|x64
Release|Win32 = Release|Win32
Release|x64 = Release|x64
Static Release|Win32 = Static Release|Win32
Static Release|x64 = Static Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {05FD4520-9761-3F68-5034-D8E8EDB3B729}.Debug|Win32.ActiveCfg = Debug|Win32
+ {05FD4520-9761-3F68-5034-D8E8EDB3B729}.Debug|Win32.Build.0 = Debug|Win32
+ {05FD4520-9761-3F68-5034-D8E8EDB3B729}.Debug|x64.ActiveCfg = Debug|x64
+ {05FD4520-9761-3F68-5034-D8E8EDB3B729}.Debug|x64.Build.0 = Debug|x64
{05FD4520-9761-3F68-5034-D8E8EDB3B729}.Release|Win32.ActiveCfg = Release|Win32
{05FD4520-9761-3F68-5034-D8E8EDB3B729}.Release|Win32.Build.0 = Release|Win32
{05FD4520-9761-3F68-5034-D8E8EDB3B729}.Release|x64.ActiveCfg = Release|x64
@@ -24,6 +32,10 @@ Global
{05FD4520-9761-3F68-5034-D8E8EDB3B729}.Static Release|Win32.Build.0 = Static Release|Win32
{05FD4520-9761-3F68-5034-D8E8EDB3B729}.Static Release|x64.ActiveCfg = Static Release|x64
{05FD4520-9761-3F68-5034-D8E8EDB3B729}.Static Release|x64.Build.0 = Static Release|x64
+ {CB690634-908F-4E23-A178-834CCB189CD5}.Debug|Win32.ActiveCfg = Debug|Win32
+ {CB690634-908F-4E23-A178-834CCB189CD5}.Debug|Win32.Build.0 = Debug|Win32
+ {CB690634-908F-4E23-A178-834CCB189CD5}.Debug|x64.ActiveCfg = Debug|x64
+ {CB690634-908F-4E23-A178-834CCB189CD5}.Debug|x64.Build.0 = Debug|x64
{CB690634-908F-4E23-A178-834CCB189CD5}.Release|Win32.ActiveCfg = Release|Win32
{CB690634-908F-4E23-A178-834CCB189CD5}.Release|Win32.Build.0 = Release|Win32
{CB690634-908F-4E23-A178-834CCB189CD5}.Release|x64.ActiveCfg = Release|x64
View
@@ -1,6 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="Debug|Win32">
+ <Configuration>Debug</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Debug|x64">
+ <Configuration>Debug</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
@@ -124,6 +132,12 @@
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v100</PlatformToolset>
+ <WholeProgramOptimization>true</WholeProgramOptimization>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+ <ConfigurationType>DynamicLibrary</ConfigurationType>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ <PlatformToolset>v120</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
@@ -134,6 +148,12 @@
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
+ <WholeProgramOptimization>true</WholeProgramOptimization>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
+ <ConfigurationType>DynamicLibrary</ConfigurationType>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ <PlatformToolset>v120</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static Release|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
@@ -146,36 +166,55 @@
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
+ <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ </ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Static Release|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<OutDir>$(SolutionDir)bin\x32\</OutDir>
- <IntDir>$(Platform)\$(Configuration)\</IntDir>
+ <IntDir>$(SolutionDir)bin\obj\x32\</IntDir>
+ <TargetName>XEDParse</TargetName>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+ <OutDir>$(SolutionDir)bin\x32\</OutDir>
+ <IntDir>$(SolutionDir)bin\obj\x32\</IntDir>
<TargetName>XEDParse</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static Release|Win32'">
<OutDir>$(SolutionDir)bin\static x32\</OutDir>
- <IntDir>$(Platform)\$(Configuration)\</IntDir>
+ <IntDir>$(SolutionDir)bin\obj\static x32\</IntDir>
<TargetName>XEDParse</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>
</LinkIncremental>
<OutDir>$(SolutionDir)bin\x64\</OutDir>
<TargetName>XEDParse</TargetName>
+ <IntDir>$(SolutionDir)bin\obj\x64\</IntDir>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+ <LinkIncremental />
+ <OutDir>$(SolutionDir)bin\x64\</OutDir>
+ <TargetName>XEDParse</TargetName>
+ <IntDir>$(SolutionDir)bin\obj\x64\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Static Release|x64'">
<LinkIncremental />
<OutDir>$(SolutionDir)bin\static x64\</OutDir>
<TargetName>XEDParse</TargetName>
+ <IntDir>$(SolutionDir)bin\obj\static x64\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
@@ -184,6 +223,27 @@
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<AdditionalOptions>/wd 4244 /wd 4267 %(AdditionalOptions)</AdditionalOptions>
+ </ClCompile>
+ <Link>
+ <TargetMachine>MachineX86</TargetMachine>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ <SubSystem>Windows</SubSystem>
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
+ <OptimizeReferences>true</OptimizeReferences>
+ <AdditionalDependencies>$(SolutionDir)\xed2\lib\libxed_x86.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <IgnoreSpecificDefaultLibraries>
+ </IgnoreSpecificDefaultLibraries>
+ <AdditionalOptions>
+ </AdditionalOptions>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+ <ClCompile>
+ <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;XEDPARSE_BUILD;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
+ <WarningLevel>Level3</WarningLevel>
+ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
+ <AdditionalOptions>/wd 4244 /wd 4267 %(AdditionalOptions)</AdditionalOptions>
<Optimization>Disabled</Optimization>
</ClCompile>
<Link>
@@ -231,6 +291,26 @@
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<AdditionalOptions>/wd 4244 /wd 4267 %(AdditionalOptions)</AdditionalOptions>
+ </ClCompile>
+ <Link>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ <SubSystem>Windows</SubSystem>
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
+ <OptimizeReferences>true</OptimizeReferences>
+ <AdditionalDependencies>$(SolutionDir)\xed2\lib\libxed_x64.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <IgnoreSpecificDefaultLibraries>
+ </IgnoreSpecificDefaultLibraries>
+ <AdditionalOptions>
+ </AdditionalOptions>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+ <ClCompile>
+ <PreprocessorDefinitions>WIN64;_DEBUG;_WINDOWS;_USRDLL;XEDPARSE_BUILD;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
+ <WarningLevel>Level3</WarningLevel>
+ <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
+ <AdditionalOptions>/wd 4244 /wd 4267 %(AdditionalOptions)</AdditionalOptions>
<Optimization>Disabled</Optimization>
</ClCompile>
<Link>
@@ -18,40 +18,40 @@
</Filter>
</ItemGroup>
<ItemGroup>
- <ClCompile Include="XEDParse.cpp">
+ <ClCompile Include="src\BranchInst.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="MnemonicTable.cpp">
+ <ClCompile Include="src\MemOperand.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="Operand.cpp">
+ <ClCompile Include="src\MnemonicTable.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="Prefix.cpp">
+ <ClCompile Include="src\Operand.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="Validator.cpp">
+ <ClCompile Include="src\OpSize.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="Translator.cpp">
+ <ClCompile Include="src\Parser.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="Parser.cpp">
+ <ClCompile Include="src\ParseTest.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="OpSize.cpp">
+ <ClCompile Include="src\Prefix.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="ParseTest.cpp">
+ <ClCompile Include="src\Register.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="BranchInst.cpp">
+ <ClCompile Include="src\Validator.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="MemOperand.cpp">
+ <ClCompile Include="src\Translator.cpp">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="Register.cpp">
+ <ClCompile Include="src\XEDParse.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
@@ -260,40 +260,40 @@
<ClInclude Include="xed2\include\xed-version.h">
<Filter>Header Files\XED2</Filter>
</ClInclude>
- <ClInclude Include="MnemonicTable.h">
+ <ClInclude Include="src\BranchInst.h">
<Filter>Header Files</Filter>
</ClInclude>
- <ClInclude Include="Operand.h">
+ <ClInclude Include="src\MemOperand.h">
<Filter>Header Files</Filter>
</ClInclude>
- <ClInclude Include="Prefix.h">
+ <ClInclude Include="src\MnemonicTable.h">
<Filter>Header Files</Filter>
</ClInclude>
- <ClInclude Include="Validator.h">
+ <ClInclude Include="src\Operand.h">
<Filter>Header Files</Filter>
</ClInclude>
- <ClInclude Include="Translator.h">
+ <ClInclude Include="src\OpSize.h">
<Filter>Header Files</Filter>
</ClInclude>
- <ClInclude Include="Parser.h">
+ <ClInclude Include="src\Parser.h">
<Filter>Header Files</Filter>
</ClInclude>
- <ClInclude Include="OpSize.h">
+ <ClInclude Include="src\ParseTest.h">
<Filter>Header Files</Filter>
</ClInclude>
- <ClInclude Include="ParseTest.h">
+ <ClInclude Include="src\Prefix.h">
<Filter>Header Files</Filter>
</ClInclude>
- <ClInclude Include="BranchInst.h">
+ <ClInclude Include="src\RegisterTable.h">
<Filter>Header Files</Filter>
</ClInclude>
- <ClInclude Include="MemOperand.h">
+ <ClInclude Include="src\Register.h">
<Filter>Header Files</Filter>
</ClInclude>
- <ClInclude Include="RegisterTable.h">
+ <ClInclude Include="src\Translator.h">
<Filter>Header Files</Filter>
</ClInclude>
- <ClInclude Include="Register.h">
+ <ClInclude Include="src\Validator.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
View
@@ -3,15 +3,29 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LocalDebuggerCommand>$(SolutionDir)bin\x64\XEDParseTest.exe</LocalDebuggerCommand>
</PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+ <LocalDebuggerCommand>$(SolutionDir)bin\x64\XEDParseTest.exe</LocalDebuggerCommand>
+ </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LocalDebuggerWorkingDirectory>$(SolutionDir)bin\x64\</LocalDebuggerWorkingDirectory>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
</PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
+ <LocalDebuggerWorkingDirectory>$(SolutionDir)bin\x64\</LocalDebuggerWorkingDirectory>
+ <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
+ </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LocalDebuggerCommand>$(SolutionDir)bin\x32\XEDParseTest.exe</LocalDebuggerCommand>
</PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+ <LocalDebuggerCommand>$(SolutionDir)bin\x32\XEDParseTest.exe</LocalDebuggerCommand>
+ </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LocalDebuggerWorkingDirectory>$(SolutionDir)bin\x32\</LocalDebuggerWorkingDirectory>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
</PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+ <LocalDebuggerWorkingDirectory>$(SolutionDir)bin\x32\</LocalDebuggerWorkingDirectory>
+ <DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
+ </PropertyGroup>
</Project>
Oops, something went wrong.

0 comments on commit f356a4c

Please sign in to comment.