Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bill Hoffman
CMake
Commits
b7fa8201
Commit
b7fa8201
authored
Dec 14, 2005
by
Bill Hoffman
Browse files
ENH: add documentation support for modules
parent
805d365d
Changes
116
Hide whitespace changes
Inline
Side-by-side
Modules/CMake.cmake
View file @
b7fa8201
# This file is used by cmake.cxx to compute the CMAKE_ROOT location.
# Do not remove this file from cvs without updating cmake.cxx to look
# for a different file.
Modules/CMakeBackwardCompatibilityC.cmake
View file @
b7fa8201
# Nothing here yet
IF
(
CMAKE_GENERATOR MATCHES
"Visual Studio 7"
)
INCLUDE
(
CMakeVS7BackwardCompatibility
)
...
...
Modules/CMakeBackwardCompatibilityCXX.cmake
View file @
b7fa8201
#
# - define a bunch of backwards compatibility varibles
# CMAKE_ANSI_CXXFLAGS - flag for ansi c++
# CMAKE_HAS_ANSI_STRING_STREAM - has <strstream>
# INCLUDE(TestForANSIStreamHeaders)
# INCLUDE(CheckIncludeFileCXX)
# INCLUDE(TestForSTDNamespace)
# INCLUDE(TestForANSIForScope)
IF
(
NOT CMAKE_SKIP_COMPATIBILITY_TESTS
)
# check for some ANSI flags in the CXX compiler if it is not gnu
IF
(
NOT CMAKE_COMPILER_IS_GNUCXX
)
...
...
Modules/CMakeCInformation.cmake
View file @
b7fa8201
# This file sets the basic flags for the C language in CMake.
# It also loads the available platform file for the system-compiler
# if it exists.
...
...
Modules/CMakeCXXInformation.cmake
View file @
b7fa8201
# This file sets the basic flags for the C++ language in CMake.
# It also loads the available platform file for the system-compiler
# if it exists.
...
...
Modules/CMakeCommonLanguageInclude.cmake
View file @
b7fa8201
# this file has flags that are shared across languages and sets
# cache values that can be initialized in the platform-compiler.cmake file
# it may be included by more than one language.
...
...
Modules/CMakeDetermineCCompiler.cmake
View file @
b7fa8201
# determine the compiler to use for C programs
# NOTE, a generator may set CMAKE_C_COMPILER before
# loading this file to force a compiler.
...
...
Modules/CMakeDetermineCXXCompiler.cmake
View file @
b7fa8201
# determine the compiler to use for C++ programs
# NOTE, a generator may set CMAKE_CXX_COMPILER before
# loading this file to force a compiler.
...
...
Modules/CMakeDetermineFortranCompiler.cmake
View file @
b7fa8201
# determine the compiler to use for C programs
# NOTE, a generator may set CMAKE_C_COMPILER before
# loading this file to force a compiler.
...
...
Modules/CMakeDetermineJavaCompiler.cmake
View file @
b7fa8201
# determine the compiler to use for Java programs
# NOTE, a generator may set CMAKE_Java_COMPILER before
# loading this file to force a compiler.
...
...
Modules/CMakeDetermineRCCompiler.cmake
View file @
b7fa8201
# determine the compiler to use for C programs
# NOTE, a generator may set CMAKE_C_COMPILER before
# loading this file to force a compiler.
...
...
Modules/CMakeDetermineSystem.cmake
View file @
b7fa8201
# This module is used by the Makefile generator to determin the following variables:
# CMAKE_SYSTEM_NAME - on unix this is uname -s, for windows it is Windows
# CMAKE_SYSTEM_VERSION - on unix this is uname -r, for windows it is empty
...
...
Modules/CMakeExportBuildSettings.cmake
View file @
b7fa8201
# Macro to export the build settings for use by another project.
# Provide as an argument the file into which the settings are to be
# stored.
# - export build settings from a project.
# CMAKE_EXPORT_BUILD_SETTINGS(SETTINGS_FILE) - macro defined to export the build
# settings for use by another project.
# SETTINGS_FILE - the file into which the settings are to be stored.
MACRO
(
CMAKE_EXPORT_BUILD_SETTINGS SETTINGS_FILE
)
IF
(
${
SETTINGS_FILE
}
MATCHES
".+"
)
CONFIGURE_FILE
(
${
CMAKE_ROOT
}
/Modules/CMakeBuildSettings.cmake.in
...
...
Modules/CMakeFindFrameworks.cmake
View file @
b7fa8201
# - helper module to find OSX frameworks
IF
(
NOT CMAKE_FIND_FRAMEWORKS_INCLUDED
)
SET
(
CMAKE_FIND_FRAMEWORKS_INCLUDED 1
)
MACRO
(
CMAKE_FIND_FRAMEWORKS fwk
)
...
...
Modules/CMakeFortranInformation.cmake
View file @
b7fa8201
# This file sets the basic flags for the Fortran language in CMake.
# It also loads the available platform file for the system-compiler
# if it exists.
...
...
Modules/CMakeImportBuildSettings.cmake
View file @
b7fa8201
# Macro to import the build settings from another project. Provide as
# an argument the file created by the other project's
# CMAKE_EXPORT_BUILD_SETTINGS command.
# - import build settings from another project
# CMAKE_IMPORT_BUILD_SETTINGS(SETTINGS_FILE) - macro defined to import the
# build settings from another project.
# SETTINGS_FILE - a file created by the other project's call to the
# CMAKE_EXPORT_BUILD_SETTINGS macro, see CMakeExportBuildSettings.
MACRO
(
CMAKE_IMPORT_BUILD_SETTINGS SETTINGS_FILE
)
IF
(
${
SETTINGS_FILE
}
MATCHES
".+"
)
# Load the settings.
...
...
Modules/CMakeJavaInformation.cmake
View file @
b7fa8201
# this is a place holder if java needed flags for javac they would go here.
IF
(
NOT CMAKE_Java_CREATE_STATIC_LIBRARY
)
SET
(
CMAKE_Java_CREATE_STATIC_LIBRARY
...
...
Modules/CMakePrintSystemInformation.cmake
View file @
b7fa8201
# this file can be used for diagnostic purposes
# just include it in a project to see various internal cmake
# variables
# - print system information
# This file can be used for diagnostic purposes
# just include it in a project to see various internal CMake
# variables.
MESSAGE
(
"CMAKE_SYSTEM is
${
CMAKE_SYSTEM
}
${
CMAKE_SYSTEM_NAME
}
${
CMAKE_SYSTEM_VERSION
}
"
)
MESSAGE
(
"CMAKE_SYSTEM file is
${
CMAKE_SYSTEM_INFO_FILE
}
"
)
...
...
Modules/CMakeRCInformation.cmake
View file @
b7fa8201
# This file sets the basic flags for the Fortran language in CMake.
# It also loads the available platform file for the system-compiler
# if it exists.
...
...
Modules/CMakeSystemSpecificInformation.cmake
View file @
b7fa8201
# This file is included by cmGlobalGenerator::EnableLanguage.
# It is included after the compiler has been determined, so
# we know things like the compiler name and if the compiler is gnu.
...
...
Prev
1
2
3
4
5
6
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment