diff options
author | jtattermusch <jtattermusch@google.com> | 2014-12-12 15:02:32 -0800 |
---|---|---|
committer | Nicolas Noble <nnoble@google.com> | 2014-12-12 16:31:01 -0800 |
commit | 1de3a5c0a19d6fef9c6443ff735a54691b6157c9 (patch) | |
tree | c45eebf63ba584187fdae2afa6ea54e46cb886c9 /templates/vsprojects/vs2013/vcxproj_defs.include | |
parent | 350e1a795adb06bc4be0e3076d5e759e1ceef529 (diff) |
Add Visual Studio project for building zlib.
Change on 2014/12/12 by jtattermusch <jtattermusch@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82017498
Diffstat (limited to 'templates/vsprojects/vs2013/vcxproj_defs.include')
-rw-r--r-- | templates/vsprojects/vs2013/vcxproj_defs.include | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/templates/vsprojects/vs2013/vcxproj_defs.include b/templates/vsprojects/vs2013/vcxproj_defs.include index fea86ddf36..35c493f686 100644 --- a/templates/vsprojects/vs2013/vcxproj_defs.include +++ b/templates/vsprojects/vs2013/vcxproj_defs.include @@ -1,6 +1,7 @@ <%def name="to_windows_path(path)">${path.replace('/','\\')}</%def>\ <%def name="get_configuration_type(is_library)">${'StaticLibrary' if is_library else 'Application'}</%def>\ <%def name="get_subsystem(is_library)">${'Windows' if is_library else 'Console'}</%def>\ +<%def name="include_directories()">$(SolutionDir)\..\..;$(SolutionDir)\..\..\include;$(SolutionDir)\..\..\third_party\zlib;%(AdditionalIncludeDirectories)</%def>\ <%def name="gen_project(name, libs, targets)">\ <% ## TODO(jtattermusch): this code is c&p from the solution template @@ -38,8 +39,6 @@ project_dict = dict([(p.name, p) for p in projects]) </ItemGroup> <PropertyGroup Label="Globals"> <ProjectGuid>${project.vs_project_guid}</ProjectGuid> - <Keyword>Win32Proj</Keyword> - <RootNamespace></RootNamespace> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> @@ -75,7 +74,7 @@ project_dict = dict([(p.name, p) for p in projects]) <Optimization>Disabled</Optimization> <PreprocessorDefinitions>WIN32;_DEBUG;_LIB;_USE_32BIT_TIME_T;%(PreprocessorDefinitions)</PreprocessorDefinitions> <SDLCheck>true</SDLCheck> - <AdditionalIncludeDirectories>$(SolutionDir)\..\..;$(SolutionDir)\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <AdditionalIncludeDirectories>${include_directories()}</AdditionalIncludeDirectories> </ClCompile> <Link> <SubSystem>${get_subsystem(project.is_library)}</SubSystem> @@ -91,7 +90,7 @@ project_dict = dict([(p.name, p) for p in projects]) <IntrinsicFunctions>true</IntrinsicFunctions> <PreprocessorDefinitions>WIN32;NDEBUG;_LIB;_USE_32BIT_TIME_T;%(PreprocessorDefinitions)</PreprocessorDefinitions> <SDLCheck>true</SDLCheck> - <AdditionalIncludeDirectories>$(SolutionDir)\..\..;$(SolutionDir)\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <AdditionalIncludeDirectories>${include_directories()}</AdditionalIncludeDirectories> </ClCompile> <Link> <SubSystem>${get_subsystem(project.is_library)}</SubSystem> |