ENH: add a test for per file flags
This commit is contained in:
parent
ac74d51382
commit
42c56a7cc7
|
@ -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)
|
||||
|
||||
#
|
||||
|
|
|
@ -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)
|
||||
|
||||
#
|
||||
|
|
|
@ -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)
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue