source: trunk/win32/lol-test.vcxproj @ 911

Last change on this file since 911 was 911, checked in by sam, 10 years ago

test: add a few Visual Studio 2010 project files and fix testsuite code
so that it builds properly.

File size: 5.6 KB
Line 
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="..\test\half.cpp" />
15    <ClCompile Include="..\test\lol-test.cpp" />
16    <ClCompile Include="..\test\matrix.cpp" />
17    <ClCompile Include="..\test\trig.cpp" />
18  </ItemGroup>
19  <PropertyGroup Label="Globals">
20    <ProjectGuid>{80F81C11-8DA2-4990-91CB-9807783BA46E}</ProjectGuid>
21    <Keyword>Win32Proj</Keyword>
22    <RootNamespace>testmap</RootNamespace>
23  </PropertyGroup>
24  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
25  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
26    <ConfigurationType>Application</ConfigurationType>
27    <UseDebugLibraries>true</UseDebugLibraries>
28    <CharacterSet>Unicode</CharacterSet>
29    <UseOfMfc>Dynamic</UseOfMfc>
30  </PropertyGroup>
31  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
32    <ConfigurationType>Application</ConfigurationType>
33    <UseDebugLibraries>false</UseDebugLibraries>
34    <WholeProgramOptimization>true</WholeProgramOptimization>
35    <CharacterSet>Unicode</CharacterSet>
36    <UseOfMfc>Dynamic</UseOfMfc>
37  </PropertyGroup>
38  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
39  <ImportGroup Label="ExtensionSettings">
40  </ImportGroup>
41  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
42    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
43    <Import Project="Contribs.props" />
44  </ImportGroup>
45  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
46    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
47    <Import Project="Contribs.props" />
48  </ImportGroup>
49  <PropertyGroup Label="UserMacros" />
50  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
51    <IntDir>Debug\$(ProjectName)\</IntDir>
52    <LinkIncremental>true</LinkIncremental>
53  </PropertyGroup>
54  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
55    <IntDir>Release\$(ProjectName)\</IntDir>
56    <LinkIncremental>false</LinkIncremental>
57  </PropertyGroup>
58  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
59    <ClCompile>
60      <PrecompiledHeader>
61      </PrecompiledHeader>
62      <WarningLevel>Level3</WarningLevel>
63      <Optimization>Disabled</Optimization>
64      <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;$(LolDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
65      <AdditionalIncludeDirectories>$(SolutionDir)\..\src;$(CppUnitIncludes);$(GlIncludes);$(SdlIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
66    </ClCompile>
67    <Link>
68      <SubSystem>Console</SubSystem>
69      <GenerateDebugInformation>true</GenerateDebugInformation>
70      <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies);$(SdlDeps);libcppunit_msvcd.lib;$(GlDeps);$(OutDir)\lolcore.lib</AdditionalDependencies>
71      <AdditionalLibraryDirectories>$(SdlLibs);$(CppUnitLibs);$(GlLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
72    </Link>
73    <PostBuildEvent>
74      <Command>for %%I in ($(SdlLibs)) do xcopy /y /c /d %%I\*.dll $(TargetDir)</Command>
75    </PostBuildEvent>
76  </ItemDefinitionGroup>
77  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
78    <ClCompile>
79      <WarningLevel>Level3</WarningLevel>
80      <PrecompiledHeader>
81      </PrecompiledHeader>
82      <Optimization>MaxSpeed</Optimization>
83      <FunctionLevelLinking>true</FunctionLevelLinking>
84      <IntrinsicFunctions>true</IntrinsicFunctions>
85      <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;$(LolDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
86      <AdditionalIncludeDirectories>$(SolutionDir)\..\src;$(CppUnitIncludes);$(GlIncludes);$(SdlIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
87    </ClCompile>
88    <Link>
89      <SubSystem>Console</SubSystem>
90      <GenerateDebugInformation>true</GenerateDebugInformation>
91      <EnableCOMDATFolding>true</EnableCOMDATFolding>
92      <OptimizeReferences>true</OptimizeReferences>
93      <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies);$(SdlDeps);libcppunit_msvc.lib;$(GlDeps);$(OutDir)\lolcore.lib</AdditionalDependencies>
94      <AdditionalLibraryDirectories>$(SdlLibs);$(CppUnitLibs);$(GlLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
95    </Link>
96    <PostBuildEvent>
97      <Command>for %%I in ($(SdlLibs)) do xcopy /y /c /d %%I\*.dll $(TargetDir)</Command>
98    </PostBuildEvent>
99  </ItemDefinitionGroup>
100  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
101  <ImportGroup Label="ExtensionTargets">
102  </ImportGroup>
103</Project>
Note: See TracBrowser for help on using the repository browser.