Browse Source

Disable incremental testing for this test, it crashes vs9 linker.

On windows 7 64 bit, the vs9 linker will crash when linking an
application with a resource in it.
Bill Hoffman 15 years ago
parent
commit
753e208285
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Tests/VSResource/CMakeLists.txt

+ 3 - 0
Tests/VSResource/CMakeLists.txt

@@ -1,4 +1,7 @@
 cmake_minimum_required (VERSION 2.6)
 project (VSResource)
 add_definitions(/DCMAKE_RCDEFINE="test.txt")
+string(REPLACE "/INCREMENTAL:YES" ""
+  CMAKE_EXE_LINKER_FLAGS_DEBUG
+  "${CMAKE_EXE_LINKER_FLAGS_DEBUG}")
 add_executable(VSResource main.cpp test.rc)