summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-01-13 14:30:48 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-01-13 14:30:48 (GMT)
commitb9d5389bcaa89fa285551547bb177dada83ca284 (patch)
tree873a831586070f78f4df8fd90e4279f34a5050cf /Tests
parentc6323d154ba79fcbb14f5d4e1ba5852e8b82d1c8 (diff)
downloadCMake-b9d5389bcaa89fa285551547bb177dada83ca284.zip
CMake-b9d5389bcaa89fa285551547bb177dada83ca284.tar.gz
CMake-b9d5389bcaa89fa285551547bb177dada83ca284.tar.bz2
BUG: fix CMAKE_C_FLAGS for visual studio 6, and add a test case
Diffstat (limited to 'Tests')
-rw-r--r--Tests/Complex/Library/testConly.c2
-rw-r--r--Tests/ComplexOneConfig/Library/testConly.c2
-rw-r--r--Tests/ComplexRelativePaths/Library/testConly.c2
3 files changed, 0 insertions, 6 deletions
diff --git a/Tests/Complex/Library/testConly.c b/Tests/Complex/Library/testConly.c
index d179b21..35d6a39 100644
--- a/Tests/Complex/Library/testConly.c
+++ b/Tests/Complex/Library/testConly.c
@@ -2,13 +2,11 @@
int CsharedFunction()
{
-#if !defined(_WIN32) || defined(__CYGWIN__)
#ifndef TEST_C_FLAGS
printf("TEST_C_FLAGS failed\n");
return 0;
#else
printf("Passed: TEST_C_FLAGS passed\n");
#endif
-#endif
return 1;
}
diff --git a/Tests/ComplexOneConfig/Library/testConly.c b/Tests/ComplexOneConfig/Library/testConly.c
index d179b21..35d6a39 100644
--- a/Tests/ComplexOneConfig/Library/testConly.c
+++ b/Tests/ComplexOneConfig/Library/testConly.c
@@ -2,13 +2,11 @@
int CsharedFunction()
{
-#if !defined(_WIN32) || defined(__CYGWIN__)
#ifndef TEST_C_FLAGS
printf("TEST_C_FLAGS failed\n");
return 0;
#else
printf("Passed: TEST_C_FLAGS passed\n");
#endif
-#endif
return 1;
}
diff --git a/Tests/ComplexRelativePaths/Library/testConly.c b/Tests/ComplexRelativePaths/Library/testConly.c
index d179b21..35d6a39 100644
--- a/Tests/ComplexRelativePaths/Library/testConly.c
+++ b/Tests/ComplexRelativePaths/Library/testConly.c
@@ -2,13 +2,11 @@
int CsharedFunction()
{
-#if !defined(_WIN32) || defined(__CYGWIN__)
#ifndef TEST_C_FLAGS
printf("TEST_C_FLAGS failed\n");
return 0;
#else
printf("Passed: TEST_C_FLAGS passed\n");
#endif
-#endif
return 1;
}