diff options
author | Ken Martin <ken.martin@kitware.com> | 2008-03-25 15:27:18 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2008-03-25 15:27:18 (GMT) |
commit | ce8810c4e7b95637136c3e47b87f8fa409bfbbee (patch) | |
tree | 34875227f81c403b37530fe5cb390ebb202d645e | |
parent | 5905d79c8a10b172642a1b534f088b965667b007 (diff) | |
download | CMake-ce8810c4e7b95637136c3e47b87f8fa409bfbbee.zip CMake-ce8810c4e7b95637136c3e47b87f8fa409bfbbee.tar.gz CMake-ce8810c4e7b95637136c3e47b87f8fa409bfbbee.tar.bz2 |
ENH: preclean some warnings
70 files changed, 72 insertions, 2 deletions
diff --git a/Tests/Assembler/CMakeLists.txt b/Tests/Assembler/CMakeLists.txt index 68035ea..b2937bb 100644 --- a/Tests/Assembler/CMakeLists.txt +++ b/Tests/Assembler/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) project(Assembler) set(SRCS) diff --git a/Tests/BuildDepends/CMakeLists.txt b/Tests/BuildDepends/CMakeLists.txt index a56e944..0d143ca 100644 --- a/Tests/BuildDepends/CMakeLists.txt +++ b/Tests/BuildDepends/CMakeLists.txt @@ -4,6 +4,7 @@ # are working the executable should relink with the new # value. The subdir Project contains the CMakelists.txt # and source files for the test project. +cmake_minimum_required (VERSION 2.6) project(BuildDepends) # This entire test takes place during the initial diff --git a/Tests/BundleTest/CMakeLists.txt b/Tests/BundleTest/CMakeLists.txt index 2eec9ea..3f95afb 100644 --- a/Tests/BundleTest/CMakeLists.txt +++ b/Tests/BundleTest/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) PROJECT(BundleTest) SET(MACOSX_BUNDLE_INFO_STRING "bundle_info_string") SET(CMAKE_MacOSX_Content_COMPILE_OBJECT "\"${CMAKE_COMMAND}\" -E copy_if_different <SOURCE> <OBJECT>") diff --git a/Tests/COnly/CMakeLists.txt b/Tests/COnly/CMakeLists.txt index c4d76e0..7742055 100644 --- a/Tests/COnly/CMakeLists.txt +++ b/Tests/COnly/CMakeLists.txt @@ -1,4 +1,5 @@ # a simple C only test case +cmake_minimum_required (VERSION 2.6) project (COnly C) set(CMAKE_DEBUG_POSTFIX "_test_debug_postfix") diff --git a/Tests/CTestTest/CMakeLists.txt b/Tests/CTestTest/CMakeLists.txt index 70e368a..7d87612 100644 --- a/Tests/CTestTest/CMakeLists.txt +++ b/Tests/CTestTest/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) PROJECT(CTestTest) SET(DART_ROOT "" CACHE STRING "" FORCE) diff --git a/Tests/CTestTest2/CMakeLists.txt b/Tests/CTestTest2/CMakeLists.txt index 7678748..ec793c4 100644 --- a/Tests/CTestTest2/CMakeLists.txt +++ b/Tests/CTestTest2/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) PROJECT(CTestTest2) SET(DART_ROOT "" CACHE STRING "" FORCE) diff --git a/Tests/CommandLineTest/CMakeLists.txt b/Tests/CommandLineTest/CMakeLists.txt index f9abfdf..e01a4c7 100644 --- a/Tests/CommandLineTest/CMakeLists.txt +++ b/Tests/CommandLineTest/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) PROJECT(CommandLineTest) GET_FILENAME_COMPONENT(CMAKE_BIN_DIR ${CMAKE_COMMAND} PATH) diff --git a/Tests/ConvLibrary/CMakeLists.txt b/Tests/ConvLibrary/CMakeLists.txt index bf1ab83..afc1cb6 100644 --- a/Tests/ConvLibrary/CMakeLists.txt +++ b/Tests/ConvLibrary/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) project(ConvLibrary) # create a source list diff --git a/Tests/CustComDepend/CMakeLists.txt b/Tests/CustComDepend/CMakeLists.txt index e4a3325..d526684 100644 --- a/Tests/CustComDepend/CMakeLists.txt +++ b/Tests/CustComDepend/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) project(CustComDepend) include_directories("${CustComDepend_SOURCE_DIR}") add_definitions(-D_CRT_SECURE_NO_DEPRECATE=1) diff --git a/Tests/CustomCommand/CMakeLists.txt b/Tests/CustomCommand/CMakeLists.txt index 71ded6d..29c06cd 100644 --- a/Tests/CustomCommand/CMakeLists.txt +++ b/Tests/CustomCommand/CMakeLists.txt @@ -1,6 +1,7 @@ # # Wrapping # +cmake_minimum_required (VERSION 2.6) PROJECT (CustomCommand) ADD_SUBDIRECTORY(GeneratedHeader) diff --git a/Tests/CustomCommandWorkingDirectory/CMakeLists.txt b/Tests/CustomCommandWorkingDirectory/CMakeLists.txt index 4ddc87a..57cb712 100644 --- a/Tests/CustomCommandWorkingDirectory/CMakeLists.txt +++ b/Tests/CustomCommandWorkingDirectory/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) PROJECT(TestWorkingDir) ADD_CUSTOM_COMMAND( diff --git a/Tests/Dependency/CMakeLists.txt b/Tests/Dependency/CMakeLists.txt index f3578ac..729c028 100644 --- a/Tests/Dependency/CMakeLists.txt +++ b/Tests/Dependency/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) PROJECT( Dependency ) SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_ANSI_CFLAGS}") diff --git a/Tests/DocTest/CMakeLists.txt b/Tests/DocTest/CMakeLists.txt index bd78992..837328e 100644 --- a/Tests/DocTest/CMakeLists.txt +++ b/Tests/DocTest/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) project (DocTest) add_executable (DocTest DocTest.cxx) diff --git a/Tests/ExportImport/CMakeLists.txt b/Tests/ExportImport/CMakeLists.txt index 5577113..3b54e9d 100644 --- a/Tests/ExportImport/CMakeLists.txt +++ b/Tests/ExportImport/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) project(ExportImport C) # Wipe out the install tree to make sure the exporter works. diff --git a/Tests/ExportImport/Export/CMakeLists.txt b/Tests/ExportImport/Export/CMakeLists.txt index 74ff8ed..9f1bab3 100644 --- a/Tests/ExportImport/Export/CMakeLists.txt +++ b/Tests/ExportImport/Export/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) project(Export C) # We need ansi C support. diff --git a/Tests/ExportImport/Import/CMakeLists.txt b/Tests/ExportImport/Import/CMakeLists.txt index b54a069..5a946ed 100644 --- a/Tests/ExportImport/Import/CMakeLists.txt +++ b/Tests/ExportImport/Import/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) project(Import C) # We need ansi C support. diff --git a/Tests/ExternalOBJ/CMakeLists.txt b/Tests/ExternalOBJ/CMakeLists.txt index 1db0515..2b126e1 100644 --- a/Tests/ExternalOBJ/CMakeLists.txt +++ b/Tests/ExternalOBJ/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) PROJECT (ExternalOBJ) IF(APPLE) diff --git a/Tests/ExternalOBJ/Object/CMakeLists.txt b/Tests/ExternalOBJ/Object/CMakeLists.txt index 7c01e54..6f1d7e3 100644 --- a/Tests/ExternalOBJ/Object/CMakeLists.txt +++ b/Tests/ExternalOBJ/Object/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) PROJECT(Object) IF(APPLE) # set _CMAKE_OSX_MACHINE to umame -m diff --git a/Tests/FindPackageTest/CMakeLists.txt b/Tests/FindPackageTest/CMakeLists.txt index 2925db0..e19c709 100644 --- a/Tests/FindPackageTest/CMakeLists.txt +++ b/Tests/FindPackageTest/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) PROJECT(FindPackageTest) # Look for a package that has a find module and may be found. diff --git a/Tests/Fortran/CMakeLists.txt b/Tests/Fortran/CMakeLists.txt index 54f18d0..ca7d89a 100644 --- a/Tests/Fortran/CMakeLists.txt +++ b/Tests/Fortran/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) PROJECT(testf Fortran) SET(CMAKE_VERBOSE_MAKEFILE 1) MESSAGE("ENV_FLAGS = $ENV{FFLAGS}") diff --git a/Tests/Framework/CMakeLists.txt b/Tests/Framework/CMakeLists.txt index a6707a4..58c2cfb 100644 --- a/Tests/Framework/CMakeLists.txt +++ b/Tests/Framework/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) project(Framework) add_library(foo SHARED diff --git a/Tests/FunctionTest/CMakeLists.txt b/Tests/FunctionTest/CMakeLists.txt index 91f51b6..3a25bb4 100644 --- a/Tests/FunctionTest/CMakeLists.txt +++ b/Tests/FunctionTest/CMakeLists.txt @@ -1,4 +1,5 @@ # a simple C only test case +cmake_minimum_required (VERSION 2.6) PROJECT (FunctionTest) SET(CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS}") diff --git a/Tests/Java/CMakeLists.txt b/Tests/Java/CMakeLists.txt index 2af5b89..b0dfaa5 100644 --- a/Tests/Java/CMakeLists.txt +++ b/Tests/Java/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) PROJECT(hello Java) SET(CMAKE_VERBOSE_MAKEFILE 1) diff --git a/Tests/Jump/CMakeLists.txt b/Tests/Jump/CMakeLists.txt index 18776a1..4bdafd0 100644 --- a/Tests/Jump/CMakeLists.txt +++ b/Tests/Jump/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) PROJECT(Jump) SET(CMAKE_IGNORE_DEPENDENCIES_ORDERING 1) diff --git a/Tests/LoadCommand/CMakeCommands/CMakeLists.txt b/Tests/LoadCommand/CMakeCommands/CMakeLists.txt index 55b6b8b..4ba21d2 100644 --- a/Tests/LoadCommand/CMakeCommands/CMakeLists.txt +++ b/Tests/LoadCommand/CMakeCommands/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) PROJECT(CMAKE_LOADED_COMMANDS) IF (MUDSLIDE_TYPE MATCHES MUCHO) diff --git a/Tests/LoadCommand/CMakeLists.txt b/Tests/LoadCommand/CMakeLists.txt index 189f1c1..e99105a 100644 --- a/Tests/LoadCommand/CMakeLists.txt +++ b/Tests/LoadCommand/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) PROJECT(LoadCommand) # set a definition diff --git a/Tests/LoadCommandOneConfig/CMakeCommands/CMakeLists.txt b/Tests/LoadCommandOneConfig/CMakeCommands/CMakeLists.txt index 55b6b8b..4ba21d2 100644 --- a/Tests/LoadCommandOneConfig/CMakeCommands/CMakeLists.txt +++ b/Tests/LoadCommandOneConfig/CMakeCommands/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) PROJECT(CMAKE_LOADED_COMMANDS) IF (MUDSLIDE_TYPE MATCHES MUCHO) diff --git a/Tests/LoadCommandOneConfig/CMakeLists.txt b/Tests/LoadCommandOneConfig/CMakeLists.txt index 189f1c1..e99105a 100644 --- a/Tests/LoadCommandOneConfig/CMakeLists.txt +++ b/Tests/LoadCommandOneConfig/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) PROJECT(LoadCommand) # set a definition diff --git a/Tests/MacroTest/CMakeLists.txt b/Tests/MacroTest/CMakeLists.txt index 86937a9..d0220ff 100644 --- a/Tests/MacroTest/CMakeLists.txt +++ b/Tests/MacroTest/CMakeLists.txt @@ -1,4 +1,5 @@ # a simple C only test case +cmake_minimum_required (VERSION 2.6) PROJECT (MacroTest) SET(CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS}") diff --git a/Tests/MakeClean/CMakeLists.txt b/Tests/MakeClean/CMakeLists.txt index 6f09476..aaf39d7 100644 --- a/Tests/MakeClean/CMakeLists.txt +++ b/Tests/MakeClean/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) PROJECT(MakeClean) SET(CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS}") diff --git a/Tests/MathTest/CMakeLists.txt b/Tests/MathTest/CMakeLists.txt index bff35f7..d1e5b1a 100644 --- a/Tests/MathTest/CMakeLists.txt +++ b/Tests/MathTest/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) PROJECT(MathTest) diff --git a/Tests/NewlineArgs/CMakeLists.txt b/Tests/NewlineArgs/CMakeLists.txt index eb618a3..a182304 100644 --- a/Tests/NewlineArgs/CMakeLists.txt +++ b/Tests/NewlineArgs/CMakeLists.txt @@ -1,4 +1,5 @@ # a simple CXX only test case +cmake_minimum_required (VERSION 2.6) project (NewlineArgs CXX) add_definitions("-DTEST_FLAG_1 diff --git a/Tests/OutOfSource/CMakeLists.txt b/Tests/OutOfSource/CMakeLists.txt index 265d47d..e250f41 100644 --- a/Tests/OutOfSource/CMakeLists.txt +++ b/Tests/OutOfSource/CMakeLists.txt @@ -1,4 +1,5 @@ # a simple test cas +cmake_minimum_required (VERSION 2.6) project (OutOfSource) add_subdirectory(SubDir) diff --git a/Tests/Plugin/CMakeLists.txt b/Tests/Plugin/CMakeLists.txt index 4e8ff9e..2245a8a 100644 --- a/Tests/Plugin/CMakeLists.txt +++ b/Tests/Plugin/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) PROJECT(Plugin) # Test per-target output directory properties. diff --git a/Tests/PrecompiledHeader/CMakeLists.txt b/Tests/PrecompiledHeader/CMakeLists.txt index 8b76eb4..b0b7989 100644 --- a/Tests/PrecompiledHeader/CMakeLists.txt +++ b/Tests/PrecompiledHeader/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) PROJECT(PrecompiledHeader C) # Make sure the proper compiler is in use. diff --git a/Tests/Properties/CMakeLists.txt b/Tests/Properties/CMakeLists.txt index a889e3e..546a96a 100644 --- a/Tests/Properties/CMakeLists.txt +++ b/Tests/Properties/CMakeLists.txt @@ -1,4 +1,5 @@ # a simple CXX only test case +cmake_minimum_required (VERSION 2.6) project (Properties) # these first three tests really test both properties and the management of diff --git a/Tests/ReturnTest/CMakeLists.txt b/Tests/ReturnTest/CMakeLists.txt index e48c88d..bd0966e 100644 --- a/Tests/ReturnTest/CMakeLists.txt +++ b/Tests/ReturnTest/CMakeLists.txt @@ -1,4 +1,5 @@ # a simple C only test case +cmake_minimum_required (VERSION 2.6) project (ReturnTest) set (CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS}") diff --git a/Tests/RuntimePath/CMakeLists.txt b/Tests/RuntimePath/CMakeLists.txt index 4a5fbbd..5555709 100644 --- a/Tests/RuntimePath/CMakeLists.txt +++ b/Tests/RuntimePath/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) project(RuntimePath C) if(CMAKE_ANSI_CFLAGS) diff --git a/Tests/SameName/CMakeLists.txt b/Tests/SameName/CMakeLists.txt index 1c5cffb..a4b993c 100644 --- a/Tests/SameName/CMakeLists.txt +++ b/Tests/SameName/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) PROJECT(SameName C) ADD_SUBDIRECTORY(Lib1) diff --git a/Tests/SetLang/CMakeLists.txt b/Tests/SetLang/CMakeLists.txt index dda13c1..ab6570c 100644 --- a/Tests/SetLang/CMakeLists.txt +++ b/Tests/SetLang/CMakeLists.txt @@ -1,4 +1,5 @@ # test forcing a source file language to c++ from c +cmake_minimum_required (VERSION 2.6) project(SetLang) # force this to be verbose so I can debug a dashboard entry SET(CMAKE_VERBOSE_MAKEFILE 1) diff --git a/Tests/SimpleExclude/CMakeLists.txt b/Tests/SimpleExclude/CMakeLists.txt index e94f495..baca23e 100644 --- a/Tests/SimpleExclude/CMakeLists.txt +++ b/Tests/SimpleExclude/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) project(SimpleExclude C) set(EXECUTABLE_OUTPUT_PATH "${SimpleExclude_BINARY_DIR}" CACHE INTERNAL "" FORCE) diff --git a/Tests/SimpleInstall/CMakeLists.txt b/Tests/SimpleInstall/CMakeLists.txt index 34989d2..23d3d27 100644 --- a/Tests/SimpleInstall/CMakeLists.txt +++ b/Tests/SimpleInstall/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) PROJECT (TestSimpleInstall) SET(CMAKE_VERBOSE_MAKEFILE 1) SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY diff --git a/Tests/SimpleInstallS2/CMakeLists.txt b/Tests/SimpleInstallS2/CMakeLists.txt index 34989d2..23d3d27 100644 --- a/Tests/SimpleInstallS2/CMakeLists.txt +++ b/Tests/SimpleInstallS2/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) PROJECT (TestSimpleInstall) SET(CMAKE_VERBOSE_MAKEFILE 1) SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY diff --git a/Tests/SourceGroups/CMakeLists.txt b/Tests/SourceGroups/CMakeLists.txt index 30f6663..2bc511d 100644 --- a/Tests/SourceGroups/CMakeLists.txt +++ b/Tests/SourceGroups/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) project(SourceGroups) # We need ansi C support, otherwise it doesn't build e.g. on HP-UX: diff --git a/Tests/StringFileTest/CMakeLists.txt b/Tests/StringFileTest/CMakeLists.txt index f3041c3..8c5f3fa 100644 --- a/Tests/StringFileTest/CMakeLists.txt +++ b/Tests/StringFileTest/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) PROJECT(StringFileTest) INCLUDE_DIRECTORIES(${StringFileTest_BINARY_DIR}) @@ -100,7 +101,7 @@ STRING(STRIP " ST1 " ST1) STRING(STRIP "ST2 " ST2) -STRING(STRIP " ST3" ST3) +STRING(STRIP " ST3" ST3) FOREACH(var ST1 ST2 ST3) IF("${var}" STREQUAL "${${var}}") diff --git a/Tests/SubDir/CMakeLists.txt b/Tests/SubDir/CMakeLists.txt index b0f9f62..9cfbe25 100644 --- a/Tests/SubDir/CMakeLists.txt +++ b/Tests/SubDir/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) PROJECT(SUBDIR) SUBDIRS(Executable EXCLUDE_FROM_ALL Examples) WRITE_FILE(${SUBDIR_BINARY_DIR}/ShouldBeHere "This file should exist.") diff --git a/Tests/SubDir/Examples/CMakeLists.txt b/Tests/SubDir/Examples/CMakeLists.txt index 44f2ad2..b0f1e89 100644 --- a/Tests/SubDir/Examples/CMakeLists.txt +++ b/Tests/SubDir/Examples/CMakeLists.txt @@ -1,2 +1,3 @@ +cmake_minimum_required (VERSION 2.6) PROJECT(Examples) SUBDIRS(example1 example2) diff --git a/Tests/SubDir/Examples/example1/CMakeLists.txt b/Tests/SubDir/Examples/example1/CMakeLists.txt index e465899..3036183 100644 --- a/Tests/SubDir/Examples/example1/CMakeLists.txt +++ b/Tests/SubDir/Examples/example1/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) PROJECT(example1) ADD_EXECUTABLE(example1 example1.cxx) diff --git a/Tests/SubDirSpaces/CMakeLists.txt b/Tests/SubDirSpaces/CMakeLists.txt index fb04f83..a647fef 100644 --- a/Tests/SubDirSpaces/CMakeLists.txt +++ b/Tests/SubDirSpaces/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) PROJECT(SUBDIR) # Some systems do not seem to support rpath with spaces. diff --git a/Tests/SubDirSpaces/Some Examples/CMakeLists.txt b/Tests/SubDirSpaces/Some Examples/CMakeLists.txt index 44f2ad2..b0f1e89 100644 --- a/Tests/SubDirSpaces/Some Examples/CMakeLists.txt +++ b/Tests/SubDirSpaces/Some Examples/CMakeLists.txt @@ -1,2 +1,3 @@ +cmake_minimum_required (VERSION 2.6) PROJECT(Examples) SUBDIRS(example1 example2) diff --git a/Tests/SubDirSpaces/Some Examples/example1/CMakeLists.txt b/Tests/SubDirSpaces/Some Examples/example1/CMakeLists.txt index e465899..3036183 100644 --- a/Tests/SubDirSpaces/Some Examples/example1/CMakeLists.txt +++ b/Tests/SubDirSpaces/Some Examples/example1/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) PROJECT(example1) ADD_EXECUTABLE(example1 example1.cxx) diff --git a/Tests/SubProject/CMakeLists.txt b/Tests/SubProject/CMakeLists.txt index f825749..b669621 100644 --- a/Tests/SubProject/CMakeLists.txt +++ b/Tests/SubProject/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) project(SubProject) message("${CMAKE_IMPORT_LIBRARY_SUFFIX}") add_library(bar bar.cxx) diff --git a/Tests/SwigTest/CMakeLists.txt b/Tests/SwigTest/CMakeLists.txt index adf955f..5a8e619 100644 --- a/Tests/SwigTest/CMakeLists.txt +++ b/Tests/SwigTest/CMakeLists.txt @@ -1,5 +1,6 @@ SET(language "python") +cmake_minimum_required (VERSION 2.6) PROJECT(example_${language}_class) diff --git a/Tests/SystemInformation/CMakeLists.txt b/Tests/SystemInformation/CMakeLists.txt index 5e015ce..c428575 100644 --- a/Tests/SystemInformation/CMakeLists.txt +++ b/Tests/SystemInformation/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) PROJECT(SystemInformation) INCLUDE_DIRECTORIES("This does not exists") diff --git a/Tests/TarTest/CMakeLists.txt b/Tests/TarTest/CMakeLists.txt index cfb26bf..548712d 100644 --- a/Tests/TarTest/CMakeLists.txt +++ b/Tests/TarTest/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) PROJECT(TarTest) # this is macro that we will be running diff --git a/Tests/TargetName/CMakeLists.txt b/Tests/TargetName/CMakeLists.txt index 653286e..9729d21 100644 --- a/Tests/TargetName/CMakeLists.txt +++ b/Tests/TargetName/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) project(TargetName) add_subdirectory(executables) diff --git a/Tests/TestDriver/CMakeLists.txt b/Tests/TestDriver/CMakeLists.txt index 810c9ff..bd5e974 100644 --- a/Tests/TestDriver/CMakeLists.txt +++ b/Tests/TestDriver/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) PROJECT(TestDriverTest) SET(Extra_SRCS testExtraStuff.cxx testExtraStuff2.cxx ) @@ -7,7 +8,7 @@ CREATE_TEST_SOURCELIST(testSrcs TestDriverTest.cxx test1.cxx test2.cxx - subdir/test3.cxx + subdir/test3.cxx EXTRA_INCLUDE testArgs.h FUNCTION testProccessArgs) ADD_EXECUTABLE(TestDriverTest ${testSrcs} ${Extra_SRCS}) diff --git a/Tests/Testing/CMakeLists.txt b/Tests/Testing/CMakeLists.txt index 9d9cf9d..c4459bb 100644 --- a/Tests/Testing/CMakeLists.txt +++ b/Tests/Testing/CMakeLists.txt @@ -1,6 +1,7 @@ # # Testing # +cmake_minimum_required (VERSION 2.6) PROJECT (Testing) # diff --git a/Tests/TryCompile/CMakeLists.txt b/Tests/TryCompile/CMakeLists.txt index e3b4958..4667345 100644 --- a/Tests/TryCompile/CMakeLists.txt +++ b/Tests/TryCompile/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) PROJECT(TryCompile) MACRO(TEST_ASSERT value msg) diff --git a/Tests/Tutorial/Step1/CMakeLists.txt b/Tests/Tutorial/Step1/CMakeLists.txt index 9691eee..e461d3c 100644 --- a/Tests/Tutorial/Step1/CMakeLists.txt +++ b/Tests/Tutorial/Step1/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) project (Tutorial) # The version number. diff --git a/Tests/Tutorial/Step2/CMakeLists.txt b/Tests/Tutorial/Step2/CMakeLists.txt index bceb986..c82b7df 100644 --- a/Tests/Tutorial/Step2/CMakeLists.txt +++ b/Tests/Tutorial/Step2/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) project (Tutorial) # The version number. diff --git a/Tests/Tutorial/Step3/CMakeLists.txt b/Tests/Tutorial/Step3/CMakeLists.txt index 5481bce..0b05fd7 100644 --- a/Tests/Tutorial/Step3/CMakeLists.txt +++ b/Tests/Tutorial/Step3/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) project (Tutorial) # The version number. diff --git a/Tests/Tutorial/Step4/CMakeLists.txt b/Tests/Tutorial/Step4/CMakeLists.txt index 19d24fd..3b24b44 100644 --- a/Tests/Tutorial/Step4/CMakeLists.txt +++ b/Tests/Tutorial/Step4/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) project (Tutorial) # The version number. diff --git a/Tests/Tutorial/Step5/CMakeLists.txt b/Tests/Tutorial/Step5/CMakeLists.txt index 9aed227..3002ea0 100644 --- a/Tests/Tutorial/Step5/CMakeLists.txt +++ b/Tests/Tutorial/Step5/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) project (Tutorial) # The version number. diff --git a/Tests/Tutorial/Step6/CMakeLists.txt b/Tests/Tutorial/Step6/CMakeLists.txt index b1a61fb..4f70f4f 100644 --- a/Tests/Tutorial/Step6/CMakeLists.txt +++ b/Tests/Tutorial/Step6/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) project (Tutorial) # The version number. diff --git a/Tests/Tutorial/Step7/CMakeLists.txt b/Tests/Tutorial/Step7/CMakeLists.txt index 2e89083..826599b 100644 --- a/Tests/Tutorial/Step7/CMakeLists.txt +++ b/Tests/Tutorial/Step7/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) project (Tutorial) # The version number. diff --git a/Tests/UseWX/CMakeLists.txt b/Tests/UseWX/CMakeLists.txt index ac997ff..8638a08 100644 --- a/Tests/UseWX/CMakeLists.txt +++ b/Tests/UseWX/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) PROJECT (UsewxWidgets) FIND_PACKAGE(wxWidgets REQUIRED) diff --git a/Tests/VSExternalInclude/CMakeLists.txt b/Tests/VSExternalInclude/CMakeLists.txt index 841df4f..5f4a6aa 100644 --- a/Tests/VSExternalInclude/CMakeLists.txt +++ b/Tests/VSExternalInclude/CMakeLists.txt @@ -1,3 +1,4 @@ +cmake_minimum_required (VERSION 2.6) PROJECT(VSExternalInclude) IF(${CMAKE_GENERATOR} MATCHES "Visual Studio 6") diff --git a/Tests/Wrapping/CMakeLists.txt b/Tests/Wrapping/CMakeLists.txt index 4493577..c84dedc 100644 --- a/Tests/Wrapping/CMakeLists.txt +++ b/Tests/Wrapping/CMakeLists.txt @@ -1,6 +1,7 @@ # # Wrapping # +cmake_minimum_required (VERSION 2.6) PROJECT (Wrapping) # Disable cleaning of custom command outputs to preserve the hacks diff --git a/Tests/X11/CMakeLists.txt b/Tests/X11/CMakeLists.txt index f065257..28b41ed 100644 --- a/Tests/X11/CMakeLists.txt +++ b/Tests/X11/CMakeLists.txt @@ -1,4 +1,5 @@ # a simple C only test case +cmake_minimum_required (VERSION 2.6) PROJECT (UseX11 C) INCLUDE (${CMAKE_ROOT}/Modules/FindX11.cmake) |