]> granicus.if.org Git - icinga2/blob - lib/icinga/icinga.vcxproj
Build fix for Windows.
[icinga2] / lib / icinga / icinga.vcxproj
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3   <ItemGroup Label="ProjectConfigurations">
4     <ProjectConfiguration Include="Debug|Win32">
5       <Configuration>Debug</Configuration>
6       <Platform>Win32</Platform>
7     </ProjectConfiguration>
8     <ProjectConfiguration Include="Release|Win32">
9       <Configuration>Release</Configuration>
10       <Platform>Win32</Platform>
11     </ProjectConfiguration>
12   </ItemGroup>
13   <ItemGroup>
14     <ClCompile Include="endpoint.cpp" />
15     <ClCompile Include="endpointmanager.cpp" />
16     <ClCompile Include="i2-icinga.cpp">
17       <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
18       <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
19     </ClCompile>
20     <ClCompile Include="icingaapplication.cpp" />
21   </ItemGroup>
22   <ItemGroup>
23     <ClInclude Include="endpoint.h" />
24     <ClInclude Include="endpointmanager.h" />
25     <ClInclude Include="i2-icinga.h" />
26     <ClInclude Include="icingaapplication.h" />
27   </ItemGroup>
28   <PropertyGroup Label="Globals">
29     <ProjectGuid>{C1FC77E1-04A4-481B-A78B-2F7AF489C2F8}</ProjectGuid>
30     <Keyword>Win32Proj</Keyword>
31     <RootNamespace>icinga</RootNamespace>
32     <ProjectName>icinga</ProjectName>
33   </PropertyGroup>
34   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
35   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
36     <ConfigurationType>DynamicLibrary</ConfigurationType>
37     <UseDebugLibraries>true</UseDebugLibraries>
38     <CharacterSet>MultiByte</CharacterSet>
39   </PropertyGroup>
40   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
41     <ConfigurationType>DynamicLibrary</ConfigurationType>
42     <UseDebugLibraries>false</UseDebugLibraries>
43     <WholeProgramOptimization>true</WholeProgramOptimization>
44     <CharacterSet>MultiByte</CharacterSet>
45   </PropertyGroup>
46   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
47   <ImportGroup Label="ExtensionSettings">
48   </ImportGroup>
49   <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
50     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
51   </ImportGroup>
52   <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
53     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
54   </ImportGroup>
55   <PropertyGroup Label="UserMacros" />
56   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
57     <LinkIncremental>true</LinkIncremental>
58     <IncludePath>$(SolutionDir)\lib\base;$(SolutionDir)\lib\jsonrpc;$(SolutionDir)\lib\config;$(IncludePath)</IncludePath>
59     <LibraryPath>$(OutDir);$(LibraryPath)</LibraryPath>
60   </PropertyGroup>
61   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
62     <LinkIncremental>false</LinkIncremental>
63     <IncludePath>$(SolutionDir)\lib\base;$(SolutionDir)\lib\jsonrpc;$(SolutionDir)\lib\config;$(IncludePath)</IncludePath>
64     <LibraryPath>$(OutDir);$(LibraryPath)</LibraryPath>
65   </PropertyGroup>
66   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
67     <ClCompile>
68       <PrecompiledHeader>Use</PrecompiledHeader>
69       <Optimization>Disabled</Optimization>
70       <PreprocessorDefinitions>WIN32;I2_ICINGA_BUILD;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
71       <WarningLevel>Level3</WarningLevel>
72       <MinimalRebuild>false</MinimalRebuild>
73       <PrecompiledHeaderFile>i2-icinga.h</PrecompiledHeaderFile>
74       <MultiProcessorCompilation>true</MultiProcessorCompilation>
75     </ClCompile>
76     <Link>
77       <SubSystem>Console</SubSystem>
78       <GenerateDebugInformation>true</GenerateDebugInformation>
79       <AdditionalDependencies>base.lib;jsonrpc.lib;cJSON.lib;dyn.lib;%(AdditionalDependencies)</AdditionalDependencies>
80     </Link>
81   </ItemDefinitionGroup>
82   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
83     <ClCompile>
84       <PrecompiledHeader>Use</PrecompiledHeader>
85       <Optimization>MaxSpeed</Optimization>
86       <FunctionLevelLinking>true</FunctionLevelLinking>
87       <IntrinsicFunctions>true</IntrinsicFunctions>
88       <PreprocessorDefinitions>WIN32;I2_ICINGA_BUILD;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
89       <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
90       <WarningLevel>Level3</WarningLevel>
91       <MinimalRebuild>false</MinimalRebuild>
92       <PrecompiledHeaderFile>i2-icinga.h</PrecompiledHeaderFile>
93       <MultiProcessorCompilation>true</MultiProcessorCompilation>
94     </ClCompile>
95     <Link>
96       <SubSystem>Console</SubSystem>
97       <GenerateDebugInformation>true</GenerateDebugInformation>
98       <EnableCOMDATFolding>true</EnableCOMDATFolding>
99       <OptimizeReferences>true</OptimizeReferences>
100       <AdditionalDependencies>base.lib;jsonrpc.lib;cJSON.lib;dyn.lib;%(AdditionalDependencies)</AdditionalDependencies>
101     </Link>
102   </ItemDefinitionGroup>
103   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
104   <ImportGroup Label="ExtensionTargets">
105   </ImportGroup>
106 </Project>