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.
This commit is contained in:
Bill Hoffman 2010-12-22 15:40:53 -05:00
parent 16e7d4ba2c
commit 753e208285
1 changed files with 3 additions and 0 deletions

View File

@ -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)