summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-07-06 11:36:26 +0200
committerJose <jose@zeroc.com>2016-07-06 11:36:26 +0200
commit5ce4cd58a554ee6ea48f16de813761e9c937f724 (patch)
treeae17edea4be86d93d8d3413bf24b164026f7cf5b /cpp
parentMSbuild build updates (diff)
downloadice-5ce4cd58a554ee6ea48f16de813761e9c937f724.tar.bz2
ice-5ce4cd58a554ee6ea48f16de813761e9c937f724.tar.xz
ice-5ce4cd58a554ee6ea48f16de813761e9c937f724.zip
MSbuild missing files
Diffstat (limited to 'cpp')
-rw-r--r--cpp/msbuild/icebuilder.cpp.props85
1 files changed, 85 insertions, 0 deletions
diff --git a/cpp/msbuild/icebuilder.cpp.props b/cpp/msbuild/icebuilder.cpp.props
new file mode 100644
index 00000000000..66663ba249e
--- /dev/null
+++ b/cpp/msbuild/icebuilder.cpp.props
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <!--
+ This property file is included by Ice Builder when building
+ C++ projects
+ -->
+
+ <!--
+ Guess the Configuration for C++ builds
+ -->
+ <PropertyGroup Condition="'$(UseDebugLibraries)' == 'true'">
+ <Ice_Configuration>Debug</Ice_Configuration>
+ </PropertyGroup>
+
+ <PropertyGroup Condition="'$(UseDebugLibraries)' != 'true'">
+ <Ice_Configuration>Release</Ice_Configuration>
+ </PropertyGroup>
+
+ <!--
+ Guess the Platform for C++ builds
+ -->
+ <PropertyGroup Condition="'$(Platform)'=='Win32'">
+ <Ice_Platform>Win32</Ice_Platform>
+ </PropertyGroup>
+
+ <PropertyGroup Condition="'$(Platform)'=='x64'">
+ <Ice_Platform>x64</Ice_Platform>
+ </PropertyGroup>
+
+ <!--
+ When building UWP ARM we use the Win32 Slice compilers
+ -->
+ <PropertyGroup Condition="'$(Platform)'=='ARM'">
+ <Ice_Platform>Win32</Ice_Platform>
+ </PropertyGroup>
+
+ <!--
+ C++98 is the default mapping
+ -->
+ <PropertyGroup Condition="'$(Ice_CppMapping)' == ''">
+ <Ice_CppMapping>cpp98</Ice_CppMapping>
+ </PropertyGroup>
+
+ <!--
+ IceBinPath:
+
+ This variable points to the Ice binary directory used by the current
+ build, it depends on the Platform and Configuration of the project.
+
+ IceLibraryPath:
+
+ This variable points to the Ice library directory used by the current
+ build, it depends on the Platform and Configuration of the project.
+
+ IceIncludePath:
+
+ This variable contains the Ice header search path for the current build,
+ for source builds that depends on the Platform, Configuration and Cpp
+ mapping being used.
+
+ IceToolsPath:
+
+ This variable points to the directory containing the Slice compilers used
+ by the current build.
+ -->
+ <PropertyGroup>
+ <IceBinPath>$(IceHome)\cpp\bin\$(Platform)\$(Ice_Configuration)</IceBinPath>
+ <IceLibraryPath>$(IceHome)\cpp\lib\$(Platform)\$(Ice_Configuration)</IceLibraryPath>
+ <IceIncludePath>$(IceHome)\cpp\include;$(IceHome)\cpp\include\generated\$(Ice_CppMapping)\$(Platform)\$(Ice_Configuration)</IceIncludePath>
+ <IceToolsPath>$(IceHome)\cpp\bin\$(Ice_Platform)\$(Ice_Configuration)</IceToolsPath>
+ <Path>$(IceBinPath);$(Path)</Path>
+ </PropertyGroup>
+
+ <!--
+ Configure C++ include and library search paths using the variables defined above.
+ -->
+ <ItemDefinitionGroup>
+ <ClCompile>
+ <AdditionalIncludeDirectories>$(IceIncludePath);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
+ </ClCompile>
+ <Link>
+ <AdditionalLibraryDirectories>$(IceLibraryPath);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+ </Link>
+ </ItemDefinitionGroup>
+</Project>