goat3d
view goatview/goatview.vcxproj @ 103:45a9d493e98c
fixed the input latency issue by calling QWidget::update() instead of QGLWidget::updateGL()
update schedules an update instead of redrawing immediately.
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 12 Sep 2015 17:40:02 +0300 |
parents | a42f6cd4e2fa |
children |
line source
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="Debug|x64">
9 <Configuration>Debug</Configuration>
10 <Platform>x64</Platform>
11 </ProjectConfiguration>
12 <ProjectConfiguration Include="Release|Win32">
13 <Configuration>Release</Configuration>
14 <Platform>Win32</Platform>
15 </ProjectConfiguration>
16 <ProjectConfiguration Include="Release|x64">
17 <Configuration>Release</Configuration>
18 <Platform>x64</Platform>
19 </ProjectConfiguration>
20 </ItemGroup>
21 <PropertyGroup Label="Globals">
22 <ProjectGuid>{26EB2DC7-B2FF-4587-95CD-5DF70287FA0A}</ProjectGuid>
23 <Keyword>Win32Proj</Keyword>
24 <RootNamespace>goatview</RootNamespace>
25 </PropertyGroup>
26 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
27 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
28 <ConfigurationType>Application</ConfigurationType>
29 <UseDebugLibraries>true</UseDebugLibraries>
30 <PlatformToolset>v110</PlatformToolset>
31 <CharacterSet>Unicode</CharacterSet>
32 </PropertyGroup>
33 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
34 <ConfigurationType>Application</ConfigurationType>
35 <UseDebugLibraries>true</UseDebugLibraries>
36 <PlatformToolset>v110</PlatformToolset>
37 <CharacterSet>Unicode</CharacterSet>
38 </PropertyGroup>
39 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
40 <ConfigurationType>Application</ConfigurationType>
41 <UseDebugLibraries>false</UseDebugLibraries>
42 <PlatformToolset>v110</PlatformToolset>
43 <WholeProgramOptimization>true</WholeProgramOptimization>
44 <CharacterSet>Unicode</CharacterSet>
45 </PropertyGroup>
46 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
47 <ConfigurationType>Application</ConfigurationType>
48 <UseDebugLibraries>false</UseDebugLibraries>
49 <PlatformToolset>v110</PlatformToolset>
50 <WholeProgramOptimization>true</WholeProgramOptimization>
51 <CharacterSet>Unicode</CharacterSet>
52 </PropertyGroup>
53 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
54 <ImportGroup Label="ExtensionSettings">
55 </ImportGroup>
56 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
57 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
58 </ImportGroup>
59 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
60 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
61 </ImportGroup>
62 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
63 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
64 </ImportGroup>
65 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
66 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
67 </ImportGroup>
68 <PropertyGroup Label="UserMacros" />
69 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
70 <LinkIncremental>true</LinkIncremental>
71 </PropertyGroup>
72 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
73 <LinkIncremental>true</LinkIncremental>
74 </PropertyGroup>
75 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
76 <LinkIncremental>false</LinkIncremental>
77 </PropertyGroup>
78 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
79 <LinkIncremental>false</LinkIncremental>
80 </PropertyGroup>
81 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
82 <ClCompile>
83 <PrecompiledHeader>
84 </PrecompiledHeader>
85 <WarningLevel>Level3</WarningLevel>
86 <Optimization>Disabled</Optimization>
87 <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
88 </ClCompile>
89 <Link>
90 <SubSystem>Console</SubSystem>
91 <GenerateDebugInformation>true</GenerateDebugInformation>
92 </Link>
93 </ItemDefinitionGroup>
94 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
95 <ClCompile>
96 <PrecompiledHeader>
97 </PrecompiledHeader>
98 <WarningLevel>Level3</WarningLevel>
99 <Optimization>Disabled</Optimization>
100 <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
101 <AdditionalIncludeDirectories>$(SolutionDir)\src</AdditionalIncludeDirectories>
102 <DisableSpecificWarnings>4305</DisableSpecificWarnings>
103 </ClCompile>
104 <Link>
105 <SubSystem>Console</SubSystem>
106 <GenerateDebugInformation>true</GenerateDebugInformation>
107 <AdditionalDependencies>goat3d-x64.lib;qtmaind.lib;Qt5Guid.lib;Qt5Cored.lib;Qt5Widgetsd.lib;Qt5OpenGLd.lib;opengl32.lib;glu32.lib;glew32-x64.lib;libvmath-x64-dbg.lib;libanim-x64-dbg.lib;pthreadVC2_x64.lib;%(AdditionalDependencies)</AdditionalDependencies>
108 <AdditionalLibraryDirectories>$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
109 </Link>
110 <CustomBuildStep>
111 <Command>
112 </Command>
113 </CustomBuildStep>
114 <CustomBuildStep>
115 <Message>
116 </Message>
117 </CustomBuildStep>
118 <CustomBuildStep>
119 <Outputs>
120 </Outputs>
121 </CustomBuildStep>
122 <CustomBuildStep>
123 <Inputs>
124 </Inputs>
125 </CustomBuildStep>
126 </ItemDefinitionGroup>
127 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
128 <ClCompile>
129 <WarningLevel>Level3</WarningLevel>
130 <PrecompiledHeader>
131 </PrecompiledHeader>
132 <Optimization>MaxSpeed</Optimization>
133 <FunctionLevelLinking>true</FunctionLevelLinking>
134 <IntrinsicFunctions>true</IntrinsicFunctions>
135 <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
136 </ClCompile>
137 <Link>
138 <SubSystem>Console</SubSystem>
139 <GenerateDebugInformation>true</GenerateDebugInformation>
140 <EnableCOMDATFolding>true</EnableCOMDATFolding>
141 <OptimizeReferences>true</OptimizeReferences>
142 </Link>
143 </ItemDefinitionGroup>
144 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
145 <ClCompile>
146 <WarningLevel>Level3</WarningLevel>
147 <PrecompiledHeader>
148 </PrecompiledHeader>
149 <Optimization>MaxSpeed</Optimization>
150 <FunctionLevelLinking>true</FunctionLevelLinking>
151 <IntrinsicFunctions>true</IntrinsicFunctions>
152 <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
153 <AdditionalIncludeDirectories>$(SolutionDir)\src</AdditionalIncludeDirectories>
154 <DisableSpecificWarnings>4305</DisableSpecificWarnings>
155 </ClCompile>
156 <Link>
157 <SubSystem>Console</SubSystem>
158 <GenerateDebugInformation>true</GenerateDebugInformation>
159 <EnableCOMDATFolding>true</EnableCOMDATFolding>
160 <OptimizeReferences>true</OptimizeReferences>
161 <AdditionalDependencies>goat3d-x64.lib;qtmain.lib;Qt5Gui.lib;Qt5Widgets.lib;Qt5OpenGL.lib;opengl32.lib;glu32.lib;glew32-x64.lib;libvmath-x64.lib;libanim-x64.lib;pthreadVC2_x64.lib;%(AdditionalDependencies)</AdditionalDependencies>
162 <AdditionalLibraryDirectories>$(OutDir)</AdditionalLibraryDirectories>
163 </Link>
164 </ItemDefinitionGroup>
165 <ItemGroup>
166 <ClCompile Include="src\goatview.cc" />
167 <ClCompile Include="src\main.cc" />
168 <ClCompile Include="src\moc_goatview.cc" />
169 <ClCompile Include="src\moc_scenemodel.cc" />
170 <ClCompile Include="src\opengl.c" />
171 <ClCompile Include="src\scenemodel.cc" />
172 </ItemGroup>
173 <!--ItemGroup>
174 <ClInclude Include="src\goatview.h" />
175 </ItemGroup-->
176 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
177 <ImportGroup Label="ExtensionTargets">
178 </ImportGroup>
179 <ItemGroup>
180 <CustomBuild Include="src\goatview.h">
181 <Message>Running MOC on src\goatview.h ...</Message>
182 <Command>moc.exe src\goatview.h -o src\moc_goatview.cc</Command>
183 <Outputs>src\moc_goatview.cc</Outputs>
184 </CustomBuild>
185 <CustomBuild Include="src\scenemodel.h">
186 <Message>Running MOC on src\scenemodel.h ...</Message>
187 <Command>moc.exe src\scenemodel.h -o src\moc_scenemodel.cc</Command>
188 <Outputs>src\moc_scenemodel.cc</Outputs>
189 </CustomBuild>
190 </ItemGroup>
191 <ItemGroup>
192 <ClInclude Include="src\opengl.h" />
193 </ItemGroup>
194 <PropertyGroup>
195 <CustomBuildAfterTargets>ClCompile</CustomBuildAfterTargets>
196 <CustomBuildBeforeTargets>Link</CustomBuildBeforeTargets>
197 </PropertyGroup>
198 </Project>