Skip to content

Instantly share code, notes, and snippets.

@fearthecowboy
Created January 8, 2014 23:19
Show Gist options
  • Save fearthecowboy/8326592 to your computer and use it in GitHub Desktop.
Save fearthecowboy/8326592 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
<SolutionPath Condition="$(SolutionPath) == '' Or $(SolutionPath) == '*Undefined*'">$(SolutionDir)\OneSetup.sln</SolutionPath>
<OutDir>$(SolutionDir)Output/$(Platform)/$(Configuration)/</OutDir>
<IntDir>$(SolutionDir)Intermediate/$(MsBuildProjectName)/$(Platform)/$(Configuration)/</IntDir>
</PropertyGroup>
<Import Project="$(SolutionPath).projectconfigurations.props" Condition="Exists('$(SolutionPath).projectconfigurations.props')" />
<PropertyGroup Label="Globals">
<ProjectGuid>{BEF4C597-97BE-431D-8ED5-8F357FB2D53A}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>OneSetup</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup>
<ConfigurationType>DynamicLibrary</ConfigurationType>
</PropertyGroup>
<Import Project="$(SolutionPath).configuration.props" Condition="Exists('$(SolutionPath).configuration.props')" />
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<Import Project="$(SolutionPath).common.props" Condition="Exists('$(SolutionPath).common.props')" />
<ItemDefinitionGroup>
<ClCompile>
<PreprocessorDefinitions>ONESETUP_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="src/*.cpp" Exclude="src/*(*).cpp"/>
<ClCompile Include="src/*(windows).cpp" />
<ResourceCompile Include="resources/*(common).rc" />
<ResourceCompile Include="resources/*(windows).rc" />
<ClInclude Include="include/*.h*" Exclude="include/*(*).h*" />
<ClInclude Include="include/*(windows).h*" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
/* C++ project file */
(DefaultTargets:Build, ToolsVersion:12.0);
SolutionDir?= ..\ ;
SolutionPath?=$(SolutionDir)\OneSetup.sln;
OutDir=$(SolutionDir)Output/$(Platform)/$(Configuration)/;
IntDir=$(SolutionDir)Intermediate/$(MsBuildProjectName)/$(Platform)/$(Configuration)/;
#TryImport $(SolutionPath).projectconfigurations.props;
Globals {
ProjectGuid="{BEF4C597-97BE-431D-8ED5-8F357FB2D53A}";
Keyword=Win32Proj;
RootNamespace=OneSetup;
}
#Import $(VCTargetsPath)\Microsoft.Cpp.Default.props;
ConfigurationType=DynamicLibrary;
#TryImport $(SolutionPath).configuration.props;
#Import $(VCTargetsPath)\Microsoft.Cpp.props;
#TryTmport $(SolutionPath).common.props;
ItemDefinitionGroup.ClCompile.PreprocessorDefinitions += ONESETUP_EXPORTS;
ClCompile {
src\*.cpp (Exclude:src\*(*).cpp),
src\*(windows).cpp
}
ResourceCompile {
resources\*.rc (Exclude:resources\*(*).rc),
resources\*(windows).rc
}
ClInclude {
include\*.h* (Exclude:include\*(*).h ),
include\*(windows).h*
}
#Import $(VCTargetsPath)\Microsoft.Cpp.targets;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment