summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-07-13 13:20:36 (GMT)
committerBrad King <brad.king@kitware.com>2009-07-13 13:20:36 (GMT)
commit61367c69d7168a1ffcf39266cdb0784200e57e94 (patch)
tree9adfb19952e16f54caa3502466d7386de74a91e0 /Tests
parent44eeda9a045b5c61c3be05954816ab8df668d88b (diff)
downloadCMake-61367c69d7168a1ffcf39266cdb0784200e57e94.zip
CMake-61367c69d7168a1ffcf39266cdb0784200e57e94.tar.gz
CMake-61367c69d7168a1ffcf39266cdb0784200e57e94.tar.bz2
COMP: Fix ExportImport testLib6 on VS6
The compiler does not support multiple source files differing only by extension in one target. This renames the C source file in the test.
Diffstat (limited to 'Tests')
-rw-r--r--Tests/ExportImport/Export/CMakeLists.txt2
-rw-r--r--Tests/ExportImport/Export/testLib6c.c (renamed from Tests/ExportImport/Export/testLib6.c)0
2 files changed, 1 insertions, 1 deletions
diff --git a/Tests/ExportImport/Export/CMakeLists.txt b/Tests/ExportImport/Export/CMakeLists.txt
index 1588b0c..0dd2550 100644
--- a/Tests/ExportImport/Export/CMakeLists.txt
+++ b/Tests/ExportImport/Export/CMakeLists.txt
@@ -45,7 +45,7 @@ set_property(TARGET testLib4 PROPERTY FRAMEWORK 1)
add_library(testLib5 SHARED testLib5.c)
-add_library(testLib6 STATIC testLib6.cxx testLib6.c)
+add_library(testLib6 STATIC testLib6.cxx testLib6c.c)
# Work-around: Visual Studio 6 does not support per-target object files.
set(VS6)
diff --git a/Tests/ExportImport/Export/testLib6.c b/Tests/ExportImport/Export/testLib6c.c
index 493ca07..493ca07 100644
--- a/Tests/ExportImport/Export/testLib6.c
+++ b/Tests/ExportImport/Export/testLib6c.c