ENH: add a test for per file flags

This commit is contained in:
Bill Hoffman 2002-03-04 14:11:48 -05:00
parent ac74d51382
commit 42c56a7cc7
3 changed files with 6 additions and 3 deletions

View File

@ -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)
#

View File

@ -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)
#

View File

@ -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)
#