summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentVariables.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Clarify CMAKE_MODULE_PATH documentationBrad King2010-02-181-4/+4
| | | | | Reword the documentation to make it clear that the variable can be a list of directories.
* Remove CMAKE_SHARED_MODULE_RUNTIME_${lang}_FLAGBrad King2009-12-021-4/+0
| | | | | This platform configuration variable is unused. Modules are built using the value of CMAKE_SHARED_LIBRARY_RUNTIME_${lang}_FLAG.
* -document CMAKE_EXTRA_GENERATORAlexander Neundorf2009-11-221-0/+8
| | | | Alex
* Document CMAKE_CURRENT_LIST_FILE more preciselyBrad King2009-10-021-1/+12
| | | | | | There is confusion whether the file "currently being processed" inside a function or macro is the file containing the definition or not. This commit explicitly describes the behavior. See issue #9646.
* Teach Xcode generator to set XCODE_VERSIONBrad King2009-09-231-0/+7
| | | | | We set the variable 'XCODE_VERSION' in the CMake language to the Xcode version string (e.g. "3.1.2"). Platform config files may use it later.
* Remove CMakeSetup. Long live cmake-gui, start building Qt now.Bill Hoffman2009-09-031-4/+4
|
* some white space fixes for the bookKen Martin2009-09-031-1/+1
|
* Document CMAKE_<LANG>_COMPILER_LOADED variableBrad King2009-08-201-2/+7
|
* Do not always propagate linker language preferenceBrad King2009-07-301-4/+17
| | | | | | | | | | | | The commit "Consider link dependencies for link language" taught CMake to propagate linker language preference from languages compiled into libraries linked by a target. It turns out this should only be done for some languages, such as C++, because normally the language of the program entry point (main) should be used. We introduce variable CMAKE_<LANG>_LINKER_PREFERENCE_PROPAGATES to tell CMake whether a language should propagate its linker preference across targets. Currently it is true only for C++.
* ENH: Implicit link info for C, CXX, and FortranBrad King2009-07-231-1/+22
| | | | | | | | | | | | | This teaches CMake to detect implicit link information for C, C++, and Fortran compilers. We detect the implicit linker search directories and implicit linker options for UNIX-like environments using verbose output from compiler front-ends. We store results in new variables called CMAKE_<LANG>_IMPLICIT_LINK_LIBRARIES CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES The implicit libraries can contain linker flags as well as library names.
* BUG: Use link language for target name computationBrad King2009-07-081-26/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | The commit "Do not compute link language for LOCATION" was wrong. The variables CMAKE_STATIC_LIBRARY_PREFIX_Java CMAKE_STATIC_LIBRARY_SUFFIX_Java are used for building Java .jar files. This commit re-enables the feature and documents the variables: CMAKE_EXECUTABLE_SUFFIX_<LANG> CMAKE_IMPORT_LIBRARY_PREFIX_<LANG> CMAKE_IMPORT_LIBRARY_SUFFIX_<LANG> CMAKE_SHARED_LIBRARY_PREFIX_<LANG> CMAKE_SHARED_LIBRARY_SUFFIX_<LANG> CMAKE_SHARED_MODULE_PREFIX_<LANG> CMAKE_SHARED_MODULE_SUFFIX_<LANG> CMAKE_STATIC_LIBRARY_PREFIX_<LANG> CMAKE_STATIC_LIBRARY_SUFFIX_<LANG> Instead of making separate, repetitive entries for the _<LANG> variable documentation, we just mention the per-language name in the text of the platform-wide variable documentation. Internally we keep undocumented definitions of these properties to satisfy CMAKE_STRICT mode.
* ENH: Do not compute link language for LOCATIONBrad King2009-07-081-6/+0
| | | | | | | | | | | | | The LOCATION property requires the full file name of a target to be computed. Previously we computed the linker language for a target to look up variables such as CMAKE_SHARED_LIBRARY_SUFFIX_<LANG>. This led to locating all the source files immediately instead of delaying the search to generation time. In the future even more computation will be needed to get the linker language, so it is better to avoid it. The _<LANG> versions of these variables are undocumented, not set in any platform file we provide, and do not produce hits in google. This change just removes the unused feature outright.
* BUG: Fix documentation of CMAKE_CFG_INTDIRBrad King2009-06-301-21/+36
| | | | | The documentation of this variable was out-dated and misleading. See issue #9219.
* STYLE: document CMAKE_SKIP_INSTALL_ALL_DEPENDENCY variableAlexander Neundorf2009-06-271-0/+13
| | | | Alex
* ENH: Document variable CMAKE_NO_BUILTIN_CHRPATHBrad King2009-06-101-0/+10
| | | | | This adds documentation for the variable which was previously missing. See issue #9130.
* BUG: Recognize .so shared libraries on HP-UXBrad King2009-06-031-0/+9
| | | | | | HP-UX uses both .sl and .so as extensions for shared libraries. This teaches CMake to recognize .so shared libraries so they are treated properly during link dependency analysis.
* ENH: Make CMAKE_<LANG>_SIZEOF_DATA_PTR publicBrad King2009-05-141-2/+4
| | | | | The variable was previously documented for internal-use only. This officially documents it for general use by projects.
* STYLE: document CMAKE_INCLUDE_CURRENT_DIRAlexander Neundorf2009-05-091-0/+14
| | | | Alex
* STYLE: fix typos in the docsAlexander Neundorf2009-04-191-5/+5
| | | | Alex
* ENH: Overhaul CMake version numberingBrad King2009-03-051-3/+3
| | | | | | | | | | | | | This moves the version numbers into an isolated configured header so that not all of CMake needs to rebuild when the version changes. Previously we had spaces, dashes and/or the word 'patch' randomly chosen before the patch number. Now we always report version numbers in the traditional format "<major>.<minor>.<patch>[-rc<rc>]". We still use odd minor numbers for development versions. Now we also use the CCYYMMDD date as the patch number of development versions, thus allowing tests for exact CMake versions.
* ENH: Re-enable system include dir suppressionBrad King2009-02-251-0/+9
| | | | | | | | | | | | | | | This creates variable CMAKE_<LANG>_IMPLICIT_INCLUDE_DIRECTORIES to specify implicit include directories on a per-language basis. This replaces the previous platform-wide variable. It is necessary to avoid explicit specification of -I/usr/include on some compilers (such as HP aCC) because: 1.) It may break ordering among system include directories defined internally by the compiler, thus getting wrong system headers. 2.) It tells the compiler to treat the system include directory as a user include directory, enabling warnings in the headers. See issue #8598.
* ENH: Clarify docs of old *_OUTPUT_PATH varsBrad King2009-02-201-11/+7
| | | | | This clarifies the documentation of EXECUTABLE_OUTPUT_PATH and LIBRARY_OUTPUT_PATH to sound less like deprecation.
* ENH: Provide variable CMAKE_VERSIONBrad King2009-01-151-0/+8
| | | | | | This creates the variable CMAKE_VERSION containing the full version of cmake in "major.minor.patch" format. It is particularly useful with the component-wise version comparison provided by the if() command.
* ENH: Document variable CMAKE_PATCH_VERSIONBrad King2009-01-151-0/+6
| | | | | This adds documentation of CMAKE_PATCH_VERSION to the generated variables documentation.
* STYLE: document CMAKE_COLOR_MAKEFILE (#7878)Alexander Neundorf2009-01-101-2/+9
| | | | Alex
* BUG: Fix <CONFIG>_POSTFIX property/variable docsBrad King2008-12-151-7/+12
| | | | | | | | The CMAKE_<CONFIG>_POSTFIX variable and <CONFIG>_POSTFIX property were not documented. This updates the CMAKE_DEBUG_POSTFIX and DEBUG_POSTFIX documentation to refer to the more general variable/property. It also clarifies that the variable is used as the property default only for non-executable targets. See issue #7868.
* ENH: Allow custom limit on object file path lengthBrad King2008-08-211-0/+18
| | | | | | | | Some native build tools, particularly those for cross compiling, may have a limit on the length of the full path to an object file name that is lower than the platform otherwise supports. This change allows the limit to be set by the project toolchain file through the variable CMAKE_OBJECT_PATH_MAX.
* STYLE: fix #7146, add documentation forAlexander Neundorf2008-07-201-8/+98
| | | | | | | | | | CMAKE[_SYSTEM]_(LIBRARY|PROGRAM|INCLUDE|PREFIX)_PATH variables -moved CMAKE_CROSSCOMPILING from "Variables that modify behaviour" to "variables that Provide Information", since it should be used only for testing whether we are currently in cross compiling mode, not for switching between the modes. Alex
* ENH: Convert CMAKE_LINK_OLD_PATHS to policy CMP0003.Brad King2008-03-131-18/+0
| | | | | | | | | - Policy is WARN by default so projects will build as they did in 2.4 without user intervention - Remove CMAKE_LINK_OLD_PATHS variable since it was never in a release and the policy supercedes it - Report target creation backtrace in warning message since policy should be set by that point
* BUG: Fix typo in documentation of LIBRARY_OUTPUT_PATH.Brad King2008-03-041-1/+1
|
* ENH: Handle large object file lists on some platformsBrad King2008-02-271-0/+2
| | | | | | | - Use a response file when enabled by CMAKE_<LANG>_USE_RESPONSE_FILE_FOR_OBJECTS - Enable for C and CXX with cl (MSVC) - Enable for Fortran with ifort (Intel Fortran)
* ENH: Update documentation of EXECUTABLE_OUTPUT_PATH and LIBRARY_OUTPUT_PATH ↵Brad King2008-02-121-2/+9
| | | | to reference their replacements.
* ENH: Pass dependent library search path to linker on some platforms.Brad King2008-02-011-2/+7
| | | | | | | | | | | | | | | | - Move runtime path ordering out of cmComputeLinkInformation into its own class cmOrderRuntimeDirectories. - Create an instance of cmOrderRuntimeDirectories for runtime path ordering and another instance for dependent library path ordering. - Replace CMAKE_DEPENDENT_SHARED_LIBRARY_MODE with explicit CMAKE_LINK_DEPENDENT_LIBRARY_FILES boolean. - Create CMAKE_LINK_DEPENDENT_LIBRARY_DIRS boolean. - Create variables to specify -rpath-link flags: CMAKE_SHARED_LIBRARY_RPATH_LINK_<LANG>_FLAG CMAKE_EXECUTABLE_RPATH_LINK_<LANG>_FLAG - Enable -rpath-link flag on Linux and QNX. - Documentation and error message updates
* ENH: Support linking to shared libs with dependent libsBrad King2008-01-311-0/+2
| | | | | | | | | - Split IMPORTED_LINK_LIBRARIES into two parts: IMPORTED_LINK_INTERFACE_LIBRARIES IMPORTED_LINK_DEPENDENT_LIBRARIES - Add CMAKE_DEPENDENT_SHARED_LIBRARY_MODE to select behavior - Set mode to LINK for Darwin (fixes universal binary problem) - Update ExportImport test to account for changes
* ENH: Added build rule variables CMAKE_<LANG>_ARCHIVE_CREATE, ↵Brad King2008-01-301-1/+28
| | | | CMAKE_<LANG>_ARCHIVE_APPEND, and CMAKE_<LANG>_ARCHIVE_FINISH to support creation of static archive libraries out of a large number of objects. See bug #6284.
* ENH: Added CMAKE_LINK_OLD_PATHS compatibility mode for linker search paths.Brad King2008-01-231-0/+18
|
* BUG: Fix generation of Watcom link lines.Brad King2008-01-231-0/+6
| | | | | - Work-around bug in Watcom command line parsing for spaces in paths. - Add 'library' option before libraries specified by file path.
* ENH: Implement linking with paths to library files instead of -L and -l ↵Brad King2008-01-221-0/+6
| | | | | | | | | | | | | | | | | separation. See bug #3832 - This is purely an implementation improvement. No interface has changed. - Create cmComputeLinkInformation class - Move and re-implement logic from: cmLocalGenerator::ComputeLinkInformation cmOrderLinkDirectories - Link libraries to targets with their full path (if it is known) - Dirs specified with link_directories command still added with -L - Make link type specific to library names without paths (name libfoo.a without path becomes -Wl,-Bstatic -lfoo) - Make directory ordering specific to a runtime path computation feature (look for conflicting SONAMEs instead of library names) - Implement proper rpath support on HP-UX and AIX.
* ENH: Generalize the check for sizeof void* to detect more ABI information.Brad King2008-01-211-0/+21
|
* ENH: Implemented Fortran module output directory and search path flags.Brad King2007-12-301-0/+9
|
* STYLE: Fixed line-too-long for undocumented variable entries.Brad King2007-11-101-40/+80
|
* ENH: different way of testing propertiesKen Martin2007-11-061-0/+42
|
* ENH: minor fixKen Martin2007-10-311-1/+1
|
* ENH: added documentation for more variablesKen Martin2007-10-311-12/+358
|
* STYLE: fix some long linesKen Martin2007-10-231-5/+10
|
* ENH: change to make the documentation class more generic, about halfway ↵Ken Martin2007-10-221-75/+143
| | | | there, also provides secitons for Variables now
* ENH: add docs for variablesBill Hoffman2007-10-181-0/+520