summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2010-12-22 20:40:53 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2010-12-22 20:40:53 (GMT)
commit753e2082851b67163dda4764e08c8ce9b84690fe (patch)
tree6cb3671bfd1cbfc7e3a3671bf53cfc00b93aaa00
parent16e7d4ba2c82081afea5af05bc6360b281d5e0c3 (diff)
downloadCMake-753e2082851b67163dda4764e08c8ce9b84690fe.zip
CMake-753e2082851b67163dda4764e08c8ce9b84690fe.tar.gz
CMake-753e2082851b67163dda4764e08c8ce9b84690fe.tar.bz2
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.
-rw-r--r--Tests/VSResource/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/VSResource/CMakeLists.txt b/Tests/VSResource/CMakeLists.txt
index 8a71bd0..e842955 100644
--- a/Tests/VSResource/CMakeLists.txt
+++ b/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)