-
Notifications
You must be signed in to change notification settings - Fork 83
/
Copy pathboost.props
23 lines (23 loc) · 1.16 KB
/
boost.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?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">
<!-- BOOST_HOME (or the path you will hard code here) should have a trailing '/' -->
<BoostRoot>$(BOOST_HOME)</BoostRoot>
<BoostIncludePath>$(BoostRoot)</BoostIncludePath>
<BoostLibraryPath Condition="'$(BOOST_LIB_PATH)'=='' And '$(Platform)'=='Win32'">$(BoostRoot)lib\</BoostLibraryPath>
<BoostLibraryPath Condition="'$(BOOST_LIB_PATH)'=='' And '$(Platform)'=='x64'">$(BoostRoot)lib\vc141-x64\</BoostLibraryPath>
<BoostLibraryPath Condition="'$(BOOST_LIB_PATH)'!=''">$(BOOST_LIB_PATH)</BoostLibraryPath>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>$(BoostIncludePath);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<AdditionalLibraryDirectories>$(BoostLibraryPath);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
</Link>
<PostBuildEvent>
<Command>%(Command)</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
</Project>