From 42c56a7cc7f4a8c301b04d55be86195ab8ac4339 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Mon, 4 Mar 2002 14:11:48 -0500 Subject: ENH: add a test for per file flags --- Tests/Complex/Library/CMakeLists.txt | 3 ++- Tests/ComplexOneConfig/Library/CMakeLists.txt | 3 ++- Tests/ComplexRelativePaths/Library/CMakeLists.txt | 3 ++- 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) # -- cgit v0.12