1<?xml version="1.0" encoding="utf-8"?> 2<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 3 <PropertyGroup Label="Globals"> 4 <ProjectGuid>{25F534DF-93C9-4853-A88E-DB7D8CF74042}</ProjectGuid> 5 </PropertyGroup> 6 <PropertyGroup Label="Configuration"> 7 <ConfigurationType>Application</ConfigurationType> 8 <UseOfMfc>false</UseOfMfc> 9 <CharacterSet>MultiByte</CharacterSet> 10 </PropertyGroup> 11 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> 12 <!-- The following import will include the 'default' configuration options for VS projects. --> 13 <Import Project="..\..\allinone\Build.Windows.ProjectConfiguration.props" /> 14 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> 15 <ImportGroup Label="ExtensionSettings"> 16 </ImportGroup> 17 <PropertyGroup Label="UserMacros" /> 18 <PropertyGroup> 19 <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> 20 <OutDir>.\$(Platform)\$(Configuration)\</OutDir> 21 <IntDir>.\$(Platform)\$(Configuration)\</IntDir> 22 <!-- The ICU projects use "Win32" to mean "x86", so we need to special case it. --> 23 <OutDir Condition="'$(Platform)'=='Win32'">.\x86\$(Configuration)\</OutDir> 24 <IntDir Condition="'$(Platform)'=='Win32'">.\x86\$(Configuration)\</IntDir> 25 <!-- Disable Incremental Linking for Release builds as it prevents Link-time Code Generation --> 26 <LinkIncremental Condition="'$(Configuration)'=='Debug'">true</LinkIncremental> 27 <LinkIncremental Condition="'$(Configuration)'=='Release'">false</LinkIncremental> 28 </PropertyGroup> 29 <!-- Options that are common to *all* project configurations --> 30 <ItemDefinitionGroup> 31 <Midl> 32 <TypeLibraryName>$(OutDir)\ufortune.tlb</TypeLibraryName> 33 </Midl> 34 <ClCompile> 35 <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 36 <PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions> 37 <WarningLevel>Level3</WarningLevel> 38 <CompileAs>Default</CompileAs> 39 <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> 40 <PrecompiledHeaderOutputFile>$(OutDir)/ufortune.pch</PrecompiledHeaderOutputFile> 41 <AssemblerListingLocation>$(OutDir)/</AssemblerListingLocation> 42 <ObjectFileName>$(OutDir)/</ObjectFileName> 43 <ProgramDataBaseFileName>$(OutDir)/ufortune.pdb</ProgramDataBaseFileName> 44 </ClCompile> 45 <ResourceCompile> 46 <AdditionalIncludeDirectories>..\..\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 47 </ResourceCompile> 48 <Link> 49 <AdditionalLibraryDirectories>..\..\..\$(IcuLibOutputDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> 50 </Link> 51 </ItemDefinitionGroup> 52 <!-- Options that are common to all 'Debug' project configurations --> 53 <ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'"> 54 <ClCompile> 55 <BrowseInformation>true</BrowseInformation> 56 <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> 57 </ClCompile> 58 <Link> 59 <GenerateDebugInformation>true</GenerateDebugInformation> 60 <AdditionalDependencies>icuucd.lib;resources\fortune_resources.lib;icuiod.lib;%(AdditionalDependencies)</AdditionalDependencies> 61 </Link> 62 </ItemDefinitionGroup> 63 <!-- Options that are common to all 'Release' project configurations --> 64 <ItemDefinitionGroup Condition="'$(Configuration)'=='Release'"> 65 <ClCompile> 66 <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> 67 <FunctionLevelLinking>true</FunctionLevelLinking> 68 </ClCompile> 69 <Link> 70 <AdditionalDependencies>icuuc.lib;resources\fortune_resources.lib;icuio.lib;%(AdditionalDependencies)</AdditionalDependencies> 71 </Link> 72 </ItemDefinitionGroup> 73 <ItemGroup> 74 <ClCompile Include="ufortune.c" /> 75 </ItemGroup> 76 <ItemGroup> 77 <None Include="resources\es.txt" /> 78 <None Include="resources\res-file-list.txt" /> 79 <None Include="resources\root.txt" /> 80 <CustomBuild Include="resources\fortune_resources.mak"> 81 <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">cd resources 82nmake -f fortune_resources.mak CFG=x86\Debug 83copy Fortune_Resources.DLL "$(TargetDir)" 84</Command> 85 <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">resources\fortune_resources.DLL;%(Outputs)</Outputs> 86 <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">cd resources 87nmake -f fortune_resources.mak CFG=x86\Release 88copy Fortune_Resources.DLL "$(TargetDir)" 89</Command> 90 <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">resources\fortune_resources.DLL;%(Outputs)</Outputs> 91 </CustomBuild> 92 </ItemGroup> 93 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> 94 <ImportGroup Label="ExtensionTargets"> 95 </ImportGroup> 96</Project>