summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-03-04 19:11:48 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-03-04 19:11:48 (GMT)
commit42c56a7cc7f4a8c301b04d55be86195ab8ac4339 (patch)
tree821a86ae6925fced2d5b0ec359ac62c84fb118ed
parentac74d513827b7575319e37911888c1d6816ddd8a (diff)
downloadCMake-42c56a7cc7f4a8c301b04d55be86195ab8ac4339.zip
CMake-42c56a7cc7f4a8c301b04d55be86195ab8ac4339.tar.gz
CMake-42c56a7cc7f4a8c301b04d55be86195ab8ac4339.tar.bz2
ENH: add a test for per file flags
-rw-r--r--Tests/Complex/Library/CMakeLists.txt3
-rw-r--r--Tests/ComplexOneConfig/Library/CMakeLists.txt3
-rw-r--r--Tests/ComplexRelativePaths/Library/CMakeLists.txt3
3 files changed, 6 insertions, 3 deletions
diff --git a/Tests/Complex/Library/CMakeLists.txt b/Tests/Complex/Library/CMakeLists.txt
index 1445ccc..581595c 100644
--- a/Tests/Complex/Library/CMakeLists.txt
+++ b/Tests/Complex/Library/CMakeLists.txt
@@ -23,7 +23,8 @@ ADD_LIBRARY(CMakeTestLibrary LibrarySources)
#
# Create shared library
#
-SOURCE_FILES(SharedLibrarySources sharedFile)
+SOURCE_FILES(SharedLibrarySources sharedFile fileFlags)
+SOURCE_FILES_FLAGS("-DEXTRA_FLAG" fileFlags )
ADD_LIBRARY(CMakeTestLibraryShared SHARED SharedLibrarySources)
#
diff --git a/Tests/ComplexOneConfig/Library/CMakeLists.txt b/Tests/ComplexOneConfig/Library/CMakeLists.txt
index 1445ccc..581595c 100644
--- a/Tests/ComplexOneConfig/Library/CMakeLists.txt
+++ b/Tests/ComplexOneConfig/Library/CMakeLists.txt
@@ -23,7 +23,8 @@ ADD_LIBRARY(CMakeTestLibrary LibrarySources)
#
# Create shared library
#
-SOURCE_FILES(SharedLibrarySources sharedFile)
+SOURCE_FILES(SharedLibrarySources sharedFile fileFlags)
+SOURCE_FILES_FLAGS("-DEXTRA_FLAG" fileFlags )
ADD_LIBRARY(CMakeTestLibraryShared SHARED SharedLibrarySources)
#
diff --git a/Tests/ComplexRelativePaths/Library/CMakeLists.txt b/Tests/ComplexRelativePaths/Library/CMakeLists.txt
index 1445ccc..581595c 100644
--- a/Tests/ComplexRelativePaths/Library/CMakeLists.txt
+++ b/Tests/ComplexRelativePaths/Library/CMakeLists.txt
@@ -23,7 +23,8 @@ ADD_LIBRARY(CMakeTestLibrary LibrarySources)
#
# Create shared library
#
-SOURCE_FILES(SharedLibrarySources sharedFile)
+SOURCE_FILES(SharedLibrarySources sharedFile fileFlags)
+SOURCE_FILES_FLAGS("-DEXTRA_FLAG" fileFlags )
ADD_LIBRARY(CMakeTestLibraryShared SHARED SharedLibrarySources)
#