소스 검색

ENH: removed old commands

Ken Martin 20 년 전
부모
커밋
d94deaea1a
3개의 변경된 파일9개의 추가작업 그리고 9개의 파일을 삭제
  1. 3 3
      Tests/Complex/Library/CMakeLists.txt
  2. 3 3
      Tests/ComplexOneConfig/Library/CMakeLists.txt
  3. 3 3
      Tests/ComplexRelativePaths/Library/CMakeLists.txt

+ 3 - 3
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")

+ 3 - 3
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")

+ 3 - 3
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")