ENH: preclean some warnings

This commit is contained in:
Ken Martin 2008-03-25 11:27:18 -04:00
parent 5905d79c8a
commit ce8810c4e7
70 changed files with 72 additions and 2 deletions

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
project(Assembler)
set(SRCS)

View File

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

View File

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

View File

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

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
PROJECT(CTestTest)
SET(DART_ROOT "" CACHE STRING "" FORCE)

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
PROJECT(CTestTest2)
SET(DART_ROOT "" CACHE STRING "" FORCE)

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
PROJECT(CommandLineTest)
GET_FILENAME_COMPONENT(CMAKE_BIN_DIR ${CMAKE_COMMAND} PATH)

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
project(ConvLibrary)
# create a source list

View File

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

View File

@ -1,6 +1,7 @@
#
# Wrapping
#
cmake_minimum_required (VERSION 2.6)
PROJECT (CustomCommand)
ADD_SUBDIRECTORY(GeneratedHeader)

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
PROJECT(TestWorkingDir)
ADD_CUSTOM_COMMAND(

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
PROJECT( Dependency )
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_ANSI_CFLAGS}")

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
project (DocTest)
add_executable (DocTest DocTest.cxx)

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
project(ExportImport C)
# Wipe out the install tree to make sure the exporter works.

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
project(Export C)
# We need ansi C support.

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
project(Import C)
# We need ansi C support.

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
PROJECT (ExternalOBJ)
IF(APPLE)

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
PROJECT(Object)
IF(APPLE)
# set _CMAKE_OSX_MACHINE to umame -m

View File

@ -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.

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
PROJECT(testf Fortran)
SET(CMAKE_VERBOSE_MAKEFILE 1)
MESSAGE("ENV_FLAGS = $ENV{FFLAGS}")

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
project(Framework)
add_library(foo SHARED

View File

@ -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}")

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
PROJECT(hello Java)
SET(CMAKE_VERBOSE_MAKEFILE 1)

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
PROJECT(Jump)
SET(CMAKE_IGNORE_DEPENDENCIES_ORDERING 1)

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
PROJECT(CMAKE_LOADED_COMMANDS)
IF (MUDSLIDE_TYPE MATCHES MUCHO)

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
PROJECT(LoadCommand)
# set a definition

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
PROJECT(CMAKE_LOADED_COMMANDS)
IF (MUDSLIDE_TYPE MATCHES MUCHO)

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
PROJECT(LoadCommand)
# set a definition

View File

@ -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}")

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
PROJECT(MakeClean)
SET(CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS}")

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
PROJECT(MathTest)

View File

@ -1,4 +1,5 @@
# a simple CXX only test case
cmake_minimum_required (VERSION 2.6)
project (NewlineArgs CXX)
add_definitions("-DTEST_FLAG_1

View File

@ -1,4 +1,5 @@
# a simple test cas
cmake_minimum_required (VERSION 2.6)
project (OutOfSource)
add_subdirectory(SubDir)

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
PROJECT(Plugin)
# Test per-target output directory properties.

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
PROJECT(PrecompiledHeader C)
# Make sure the proper compiler is in use.

View File

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

View File

@ -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}")

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
project(RuntimePath C)
if(CMAKE_ANSI_CFLAGS)

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
PROJECT(SameName C)
ADD_SUBDIRECTORY(Lib1)

View File

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

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
project(SimpleExclude C)
set(EXECUTABLE_OUTPUT_PATH "${SimpleExclude_BINARY_DIR}" CACHE INTERNAL "" FORCE)

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
PROJECT (TestSimpleInstall)
SET(CMAKE_VERBOSE_MAKEFILE 1)
SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
PROJECT (TestSimpleInstall)
SET(CMAKE_VERBOSE_MAKEFILE 1)
SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY

View File

@ -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:

View File

@ -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}}")

View File

@ -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.")

View File

@ -1,2 +1,3 @@
cmake_minimum_required (VERSION 2.6)
PROJECT(Examples)
SUBDIRS(example1 example2)

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
PROJECT(example1)
ADD_EXECUTABLE(example1 example1.cxx)

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
PROJECT(SUBDIR)
# Some systems do not seem to support rpath with spaces.

View File

@ -1,2 +1,3 @@
cmake_minimum_required (VERSION 2.6)
PROJECT(Examples)
SUBDIRS(example1 example2)

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
PROJECT(example1)
ADD_EXECUTABLE(example1 example1.cxx)

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
project(SubProject)
message("${CMAKE_IMPORT_LIBRARY_SUFFIX}")
add_library(bar bar.cxx)

View File

@ -1,5 +1,6 @@
SET(language "python")
cmake_minimum_required (VERSION 2.6)
PROJECT(example_${language}_class)

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
PROJECT(SystemInformation)
INCLUDE_DIRECTORIES("This does not exists")

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
PROJECT(TarTest)
# this is macro that we will be running

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
project(TargetName)
add_subdirectory(executables)

View File

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

View File

@ -1,6 +1,7 @@
#
# Testing
#
cmake_minimum_required (VERSION 2.6)
PROJECT (Testing)
#

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
PROJECT(TryCompile)
MACRO(TEST_ASSERT value msg)

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
project (Tutorial)
# The version number.

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
project (Tutorial)
# The version number.

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
project (Tutorial)
# The version number.

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
project (Tutorial)
# The version number.

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
project (Tutorial)
# The version number.

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
project (Tutorial)
# The version number.

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
project (Tutorial)
# The version number.

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
PROJECT (UsewxWidgets)
FIND_PACKAGE(wxWidgets REQUIRED)

View File

@ -1,3 +1,4 @@
cmake_minimum_required (VERSION 2.6)
PROJECT(VSExternalInclude)
IF(${CMAKE_GENERATOR} MATCHES "Visual Studio 6")

View File

@ -1,6 +1,7 @@
#
# Wrapping
#
cmake_minimum_required (VERSION 2.6)
PROJECT (Wrapping)
# Disable cleaning of custom command outputs to preserve the hacks

View File

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