]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - msvc/testsuite/testsuite.vcxproj
Make it compile in visual studio again, without warnings.
[xonotic/gmqcc.git] / msvc / testsuite / testsuite.vcxproj
index f0207f9e7ee72f83d4ab2fd933dddb97ac6b937c..bad2db1113a1546b8c709e0fbc0c5637575d8783 100755 (executable)
       <Platform>Win32</Platform>\r
     </ProjectConfiguration>\r
   </ItemGroup>\r
+  <ItemGroup>\r
+    <ClCompile Include="..\..\conout.c" />\r
+    <ClCompile Include="..\..\fs.c" />\r
+    <ClCompile Include="..\..\opts.c" />\r
+    <ClCompile Include="..\..\stat.c" />\r
+    <ClCompile Include="..\..\test.c" />\r
+    <ClCompile Include="..\..\util.c" />\r
+  </ItemGroup>\r
+  <ItemGroup>\r
+    <ClInclude Include="..\..\gmqcc.h" />\r
+  </ItemGroup>\r
+  <ItemGroup>\r
+    <None Include="..\..\opts.def" />\r
+  </ItemGroup>\r
   <PropertyGroup Label="Globals">\r
     <ProjectGuid>{7E2839D9-9C1A-4489-9FF9-FDC854EBED3D}</ProjectGuid>\r
     <RootNamespace>testsuite</RootNamespace>\r
@@ -41,6 +55,7 @@
     <ClCompile>\r
       <WarningLevel>Level3</WarningLevel>\r
       <Optimization>Disabled</Optimization>\r
+      <PreprocessorDefinitions>NVALGRIND;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
     </ClCompile>\r
     <Link>\r
       <GenerateDebugInformation>true</GenerateDebugInformation>\r
@@ -52,6 +67,7 @@
       <Optimization>MaxSpeed</Optimization>\r
       <FunctionLevelLinking>true</FunctionLevelLinking>\r
       <IntrinsicFunctions>true</IntrinsicFunctions>\r
+      <PreprocessorDefinitions>NVALGRIND;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
     </ClCompile>\r
     <Link>\r
       <GenerateDebugInformation>true</GenerateDebugInformation>\r
       <OptimizeReferences>true</OptimizeReferences>\r
     </Link>\r
   </ItemDefinitionGroup>\r
-  <ItemGroup>\r
-    <ClCompile Include="..\..\conout.c" />\r
-    <ClCompile Include="..\..\fs.c" />\r
-    <ClCompile Include="..\..\test.c" />\r
-    <ClCompile Include="..\..\util.c" />\r
-  </ItemGroup>\r
-  <ItemGroup>\r
-    <ClInclude Include="..\..\gmqcc.h" />\r
-  </ItemGroup>\r
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />\r
   <ImportGroup Label="ExtensionTargets">\r
   </ImportGroup>\r