3 IF(CMAKE_SYSTEM MATCHES "OSF1-V.*")
4 IF(NOT CMAKE_COMPILER_IS_GNUCXX)
5 SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -tweak -no_implicit_include ")
6 ENDIF(NOT CMAKE_COMPILER_IS_GNUCXX)
7 ENDIF(CMAKE_SYSTEM MATCHES "OSF1-V.*")
9 SUBDIRS(Source Modules Templates Utilities)
12 # Include the standard Dart testing module
13 INCLUDE (${CMake_SOURCE_DIR}/Modules/Dart.cmake)
14 INCLUDE (${CMAKE_BINARY_DIR}/Source/InitialConfigureFlags.cmake OPTIONAL)
15 IF(CMAKE_CONFIGURE_INSTALL_PREFIX)
16 SET(CMAKE_INSTALL_PREFIX ${CMAKE_CONFIGURE_INSTALL_PREFIX} )
17 ENDIF(CMAKE_CONFIGURE_INSTALL_PREFIX)
19 # use the ansi CXX compile flag for building cmake
20 IF (CMAKE_ANSI_CXXFLAGS)
21 SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_ANSI_CXXFLAGS}")
22 ENDIF (CMAKE_ANSI_CXXFLAGS)
24 IF (CMAKE_ANSI_CFLAGS)
25 SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_ANSI_CFLAGS}")
26 ENDIF (CMAKE_ANSI_CFLAGS)
28 # add some testing dependencies
31 CONFIGURE_FILE(${CMake_SOURCE_DIR}/CMakeLogo.gif ${CMake_BINARY_DIR}/Testing/HTML/TestingResults/Icons/Logo.gif COPYONLY)
35 SET(EXECUTABLE_OUTPUT_PATH ${CMake_BINARY_DIR}/Source CACHE PATH
36 "Where to put the executables for CMake"
39 INCLUDE_REGULAR_EXPRESSION("^(\\.\\./)?(cm|CMake|form).*")