diff options
author | Ken Martin <ken.martin@kitware.com> | 2005-06-02 18:56:50 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2005-06-02 18:56:50 (GMT) |
commit | d94deaea1a85b3dbf04936df24ec31e5b336eeca (patch) | |
tree | 1928b9dc0b50121a07c22782abeca146d29f0e1b | |
parent | 19b5c93ca21df5a4e1bdd409f40a3291c055dcfb (diff) | |
download | CMake-d94deaea1a85b3dbf04936df24ec31e5b336eeca.zip CMake-d94deaea1a85b3dbf04936df24ec31e5b336eeca.tar.gz CMake-d94deaea1a85b3dbf04936df24ec31e5b336eeca.tar.bz2 |
ENH: removed old commands
-rw-r--r-- | Tests/Complex/Library/CMakeLists.txt | 6 | ||||
-rw-r--r-- | Tests/ComplexOneConfig/Library/CMakeLists.txt | 6 | ||||
-rw-r--r-- | Tests/ComplexRelativePaths/Library/CMakeLists.txt | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/Tests/Complex/Library/CMakeLists.txt b/Tests/Complex/Library/CMakeLists.txt index f246861..3eeb1ea 100644 --- a/Tests/Complex/Library/CMakeLists.txt +++ b/Tests/Complex/Library/CMakeLists.txt @@ -13,13 +13,13 @@ ADD_EXECUTABLE(create_file create_file.cxx) # SOURCE_FILES_REMOVE is used for Coverage. empty.h is included for coverage # AUX_SOURCE_DIRECTORY(ExtraSources LibrarySources) -SOURCE_FILES(LibrarySources +SET(LibrarySources ${LibrarySources} file2 empty create_file.cxx GENERATED nonexisting_file) -SOURCE_FILES_REMOVE(LibrarySources create_file.cxx GENERATED nonexisting_file) +REMOVE(LibrarySources create_file.cxx GENERATED nonexisting_file) ADD_LIBRARY(CMakeTestLibrary ${LibrarySources}) IF(WIN32) @@ -40,7 +40,7 @@ ENDIF(WIN32) # # Create shared library # -SOURCE_FILES(SharedLibrarySources sharedFile) +SET(SharedLibrarySources sharedFile) ADD_LIBRARY(CMakeTestLibraryShared SHARED ${SharedLibrarySources}) ADD_LIBRARY(CMakeTestModule MODULE moduleFile.c) SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DTEST_C_FLAGS") diff --git a/Tests/ComplexOneConfig/Library/CMakeLists.txt b/Tests/ComplexOneConfig/Library/CMakeLists.txt index f246861..3eeb1ea 100644 --- a/Tests/ComplexOneConfig/Library/CMakeLists.txt +++ b/Tests/ComplexOneConfig/Library/CMakeLists.txt @@ -13,13 +13,13 @@ ADD_EXECUTABLE(create_file create_file.cxx) # SOURCE_FILES_REMOVE is used for Coverage. empty.h is included for coverage # AUX_SOURCE_DIRECTORY(ExtraSources LibrarySources) -SOURCE_FILES(LibrarySources +SET(LibrarySources ${LibrarySources} file2 empty create_file.cxx GENERATED nonexisting_file) -SOURCE_FILES_REMOVE(LibrarySources create_file.cxx GENERATED nonexisting_file) +REMOVE(LibrarySources create_file.cxx GENERATED nonexisting_file) ADD_LIBRARY(CMakeTestLibrary ${LibrarySources}) IF(WIN32) @@ -40,7 +40,7 @@ ENDIF(WIN32) # # Create shared library # -SOURCE_FILES(SharedLibrarySources sharedFile) +SET(SharedLibrarySources sharedFile) ADD_LIBRARY(CMakeTestLibraryShared SHARED ${SharedLibrarySources}) ADD_LIBRARY(CMakeTestModule MODULE moduleFile.c) SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DTEST_C_FLAGS") diff --git a/Tests/ComplexRelativePaths/Library/CMakeLists.txt b/Tests/ComplexRelativePaths/Library/CMakeLists.txt index f246861..3eeb1ea 100644 --- a/Tests/ComplexRelativePaths/Library/CMakeLists.txt +++ b/Tests/ComplexRelativePaths/Library/CMakeLists.txt @@ -13,13 +13,13 @@ ADD_EXECUTABLE(create_file create_file.cxx) # SOURCE_FILES_REMOVE is used for Coverage. empty.h is included for coverage # AUX_SOURCE_DIRECTORY(ExtraSources LibrarySources) -SOURCE_FILES(LibrarySources +SET(LibrarySources ${LibrarySources} file2 empty create_file.cxx GENERATED nonexisting_file) -SOURCE_FILES_REMOVE(LibrarySources create_file.cxx GENERATED nonexisting_file) +REMOVE(LibrarySources create_file.cxx GENERATED nonexisting_file) ADD_LIBRARY(CMakeTestLibrary ${LibrarySources}) IF(WIN32) @@ -40,7 +40,7 @@ ENDIF(WIN32) # # Create shared library # -SOURCE_FILES(SharedLibrarySources sharedFile) +SET(SharedLibrarySources sharedFile) ADD_LIBRARY(CMakeTestLibraryShared SHARED ${SharedLibrarySources}) ADD_LIBRARY(CMakeTestModule MODULE moduleFile.c) SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DTEST_C_FLAGS") |