-
Notifications
You must be signed in to change notification settings - Fork 48
/
common.props
66 lines (66 loc) · 3.06 KB
/
common.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets" />
<PropertyGroup Label="UserMacros">
<BuildConfiguration>$(PlatformShortName)-$(Configuration.ToLower())</BuildConfiguration>
<LibRecklessBuildConfiguration Condition="$(Configuration.Contains(`Debug`))">$(PlatformShortName)-debug</LibRecklessBuildConfiguration>
<LibRecklessBuildConfiguration Condition="$(Configuration.Contains(`Release`))">$(PlatformShortName)-release</LibRecklessBuildConfiguration>
<BuildDir>$(SolutionDir)build\$(BuildConfiguration)\</BuildDir>
<BuildSubDir>$(ProjectDir.SubString($(SolutionDir.Length)))</BuildSubDir>
<RecklessLibDir>$(SolutionDir)build\$(LibRecklessBuildConfiguration)\lib</RecklessLibDir>
</PropertyGroup>
<PropertyGroup>
<OutDir Condition="'$(OutputType)' == 'exe'">$(BuildDir)$(BuildSubDir)\</OutDir>
<OutDir Condition="'$(OutputType)' == 'staticlibrary'">$(BuildDir)lib\</OutDir>
<IntDir>$(BuildDir)obj\$(BuildSubDir)$(ProjectFileName)\</IntDir>
<IncludePath>$(SolutionDir)reckless\include;$(SolutionDir)performance_log\include\;$(IncludePath)</IncludePath>
<LibraryPath>$(RecklessLibDir);$(LibraryPath)</LibraryPath>
</PropertyGroup>
<PropertyGroup Condition="$(Configuration.Contains(`Debug`))" Label="Configuration">
<UseDebugLibraries>true</UseDebugLibraries>
</PropertyGroup>
<PropertyGroup Condition="$(Configuration.Contains(`Release`))" Label="Configuration">
<UseDebugLibraries>false</UseDebugLibraries>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS</PreprocessorDefinitions>
</ClCompile>
<ProjectReference>
<LinkLibraryDependencies>false</LinkLibraryDependencies>
</ProjectReference>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="$(Configuration.Contains(`Debug`))">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
<TreatWarningAsError>true</TreatWarningAsError>
<AdditionalIncludeDirectories>$(SolutionDir)performance_log\include\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="$(Configuration.Contains(`Release`))">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<BuildMacro Include="BuildConfiguration">
<Value>$(BuildConfiguration)</Value>
</BuildMacro>
<BuildMacro Include="BuildDir">
<Value>$(BuildDir)</Value>
</BuildMacro>
<BuildMacro Include="BuildSubDir">
<Value>$(BuildSubDir)</Value>
</BuildMacro>
</ItemGroup>
</Project>