summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* stringapi: Use strings for AddString methodsBen Boeckel2014-03-086-11/+11
| | | | It gets turned into a string anyways, so pass them in.
* stringapi: Use strings in CPack generator parametersBen Boeckel2014-03-084-22/+23
| | | | | | Most of these are turned into strings in the body of the method (multiple times in some cases). Accept strings to simplify the API and keep string construction down.
* stringapi: Use strings for TryFullPathBen Boeckel2014-03-082-5/+6
|
* stringapi: Use strings for source namesBen Boeckel2014-03-0810-41/+37
|
* genex: Store predicates as a map for faster searchingBen Boeckel2014-03-081-83/+52
| | | | May warrant a fast path for predicates which more frequently.
* makefile: Remove an unused methodBen Boeckel2014-03-082-11/+0
|
* stringapi: Accept string parameters in methods which store to stringsBen Boeckel2014-03-081-1/+1
|
* stringapi: Accept strings in cmStrCmpBen Boeckel2014-03-083-6/+11
|
* stringapi: Use strings for variable namesBen Boeckel2014-03-0838-156/+142
| | | | Variable names are always generated by CMake and should never be NULL.
* stringapi: Use strings for property namesBen Boeckel2014-03-0832-310/+262
| | | | Property names are always generated by CMake and should never be NULL.
* Merge topic 'different-python-header-libs-exe-0013794'Brad King2014-03-061-1/+0
|\ | | | | | | | | bf28ff1f FindPythonLibs: Do not try to find the interpreter (#13794)
| * FindPythonLibs: Do not try to find the interpreter (#13794)Brad King2014-03-051-1/+0
| | | | | | | | | | | | | | | | | | | | The parent commit taught FindPythonLibs to try to find PythonInterp unconditionally. Some projects may want the libraries of a specific version even when the corresponding interpreter is not available. Drop the internal use of FindPythonInterp and just use the versions from it if it happens to have been found by the project first. That will allow projects to get a consistent version when they want both but not otherwise force them to find the interpreter.
* | Merge topic 'link-libraries-response-files'Brad King2014-03-0610-68/+148
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 489b1c23 Windows: Use response files to specify link libraries for GNU tools 745caae6 Makefile: Rename linker response file boolean to be more specific 5e8e4d0f cmLocalGenerator: Add response file option to OutputLinkLibraries b9aa5041 cmLocalGenerator: Simplify GetIncludeFlags output formatting 971653b7 cmLocalGenerator: Add format option to ConvertToLinkReference 0c0ef9e7 cmLocalGenerator: Add format option to ConvertToIncludeReference 02bebd60 cmLocalGenerator: Add format option to ConvertToOutputForExisting c8751709 Makefile: Factor out some duplicate link libraries generation
| * | Windows: Use response files to specify link libraries for GNU toolsBrad King2014-03-056-4/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | Work around the command-line-length limit by using an @linklibs.rsp response file to pass the flags for link libraries. This allows very long lists of libraries to be used in addition to the existing support for passing object files via response file. Suggested-by: Peter Keuschnigg <peter.keuschnigg@pmu.ac.at>
| * | Makefile: Rename linker response file boolean to be more specificBrad King2014-03-052-9/+9
| | | | | | | | | | | | | | | Rename local variable useResponseFile to useResponseFileForObjects when it represents CMAKE_<LANG>_USE_RESPONSE_FILE_FOR_OBJECTS.
| * | cmLocalGenerator: Add response file option to OutputLinkLibrariesBrad King2014-03-043-11/+17
| | | | | | | | | | | | | | | Response files require different path conversion to be threaded through construction of the link libraries flags.
| * | cmLocalGenerator: Simplify GetIncludeFlags output formattingBrad King2014-03-041-12/+4
| | | | | | | | | | | | Use the output format argument to ConvertToIncludeReference.
| * | cmLocalGenerator: Add format option to ConvertToLinkReferenceBrad King2014-03-044-7/+11
| | | | | | | | | | | | Replace the hard-coded SHELL output format with an optional argument.
| * | cmLocalGenerator: Add format option to ConvertToIncludeReferenceBrad King2014-03-044-6/+10
| | | | | | | | | | | | Replace the hard-coded SHELL output format with an optional argument.
| * | cmLocalGenerator: Add format option to ConvertToOutputForExistingBrad King2014-03-042-11/+17
| | | | | | | | | | | | Replace the hard-coded SHELL output format with an optional argument.
| * | Makefile: Factor out some duplicate link libraries generationBrad King2014-03-044-12/+21
| | | | | | | | | | | | | | | | | | | | | The generators for executable and library targets duplicate the logic to call the OutputLinkLibraries helper on the local generator. Factor it out into a cmMakefileTargetGenerator::CreateLinkLibs method to avoid dpulication.
* | | CMake Nightly Date StampKitware Robot2014-03-061-1/+1
| | |
* | | Merge topic 'FeatureSummary_combine_WHAT_values'Brad King2014-03-051-0/+6
|\ \ \ | | | | | | | | | | | | | | | | 4da09d1a Help: Add release notes for topic 'FeatureSummary_combine_WHAT_values'
| * | | Help: Add release notes for topic 'FeatureSummary_combine_WHAT_values'Brad King2014-03-051-0/+6
| | | |
* | | | Merge topic 'watcom-rtdll-version'Brad King2014-03-051-10/+14
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | b052902c Remove hard-coded version of RTDLL for Open Watcom
| * | | | Remove hard-coded version of RTDLL for Open WatcomJiri Malak2014-03-041-10/+14
| | |/ / | |/| | | | | | | | | | | | | | | | | | In InstallRequiredSystemLibraries the version number for RTDLL can be calculated from the compiler version. This will support current and future OW versions without updating the module again.
* | | | Merge topic 'update-kwsys'Brad King2014-03-057-9/+268
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | 7db95df3 Merge branch 'upstream-kwsys' into update-kwsys f096786d KWSys 2014-03-03 (b1916e0a)
| * \ \ \ Merge branch 'upstream-kwsys' into update-kwsysBrad King2014-03-047-9/+268
| |\ \ \ \ | | |/ / / | |/| | |
| | * | | KWSys 2014-03-03 (b1916e0a)KWSys Robot2014-03-047-9/+268
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extract upstream KWSys using the following shell commands. $ git archive --prefix=upstream-kwsys/ b1916e0a | tar x $ git shortlog --no-merges --abbrev=8 --format='%h %s' 606d7d6f..b1916e0a Adrien Destugues (1): b1916e0a SystemInformation: Update CPU count code for Haiku Clinton Stimpson (3): 0d8ef429 Encoding: Help enforce the use of wide apis on Windows. cfbc1cc8 FStream: Remove unused basic_filebuf declaration. b3b20cc0 FStream: Add ability to detect BOM. Jiri Malak (1): e66d99b8 SystemTools: Fix compilation with Open Watcom Matt McCormick (1): b3db597b SystemInformation: Mark EXECINFO_LIB as advanced Change-Id: I154a92be7a3ec4c7c12bffbfcd7b50ec7de53c5f
* | | | | Merge topic 'fix-check-build-system-crash'Brad King2014-03-051-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 3504f9b9 cmake: Fix --check-build-system argument count check (#14784)
| * | | | | cmake: Fix --check-build-system argument count check (#14784)Brad King2014-03-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This internal option requires two arguments, not just one. Fix the argument count required to recognize the option.
* | | | | | Merge topic 'doc-host-target-vars'Brad King2014-03-058-26/+32
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 06986afc Help: Update CMAKE_SYSTEM* and CMAKE_HOST_SYSTEM* documentation
| * | | | | | Help: Update CMAKE_SYSTEM* and CMAKE_HOST_SYSTEM* documentationJiri Malak2014-03-048-26/+32
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | Update to documentation for HOST/TARGET system related variables to be consistent with current functionality.
* | | | | | Merge topic 'test-external-cmake'Brad King2014-03-0536-326/+329
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9608ef6f Tests: Optionally configure tests exclusively, with an external CMake 9f5bd180 Tests: Drop CMAKE_TEST_GENERATOR(|_TOOLSET) variables 76477267 Tests: Drop CMAKE_TEST_MAKEPROGRAM variable a8a9fb7e Tests: Rename CMAKE_TEST_MAKEPROGRAM uses for explicit make program 40475573 Tests: Rename CMAKE_TEST_MAKEPROGRAM uses for nested test projects f99734b2 Tests: Rename CMAKE_TEST_DEVENV -> CMake_TEST_DEVENV 3c01ee5a Tests: Drop CMAKE_TEST_MSVC and test MSVC directly daf0a5fe Tests: Drop CMAKE_TEST_GENERATOR and CMAKE_TEST_MAKEPROGRAM options e5096312 Tests: Drop kwsys test
| * | | | | | Tests: Optionally configure tests exclusively, with an external CMakeBrad King2014-03-032-153/+193
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add an undocumented CMake_TEST_EXTERNAL_CMAKE option to name an external CMake 'bin' directory. Skip all main CMake binary builds and instead configure the Tests directory to run using the external CMake provided. This will provide a means to exercise the CMake test suite generating for target platforms and compilers with which the CMake source does not build. That will allow us to raise the level of C++ features required of a compiler to build our source while retaining tests for generating projects with older compiler tools.
| * | | | | | Tests: Drop CMAKE_TEST_GENERATOR(|_TOOLSET) variablesBrad King2014-03-0331-104/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | s/CMAKE_TEST_GENERATOR/CMAKE_GENERATOR/g
| * | | | | | Tests: Drop CMAKE_TEST_MAKEPROGRAM variableBrad King2014-03-031-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remaining uses of the variable simply test its value so use CMAKE_MAKE_PROGRAM directly instead.
| * | | | | | Tests: Rename CMAKE_TEST_MAKEPROGRAM uses for explicit make programBrad King2014-03-031-11/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename uses of the variable for specifying the make program used to build test projects to CMake_TEST_EXPLICIT_MAKE_PROGRAM.
| * | | | | | Tests: Rename CMAKE_TEST_MAKEPROGRAM uses for nested test projectsBrad King2014-03-036-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the ExportImport, Fortran, and MacRuntimePath tests the CMAKE_TEST_MAKEPROGRAM variable is used to pass an explicit request for a CMAKE_MAKE_PROGRAM value to be used when building the inner projects. Rename these use cases to CMake_TEST_NESTED_MAKE_PROGRAM.
| * | | | | | Tests: Rename CMAKE_TEST_DEVENV -> CMake_TEST_DEVENVBrad King2014-03-031-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Follow the convention of naming variables related to the CMake build itself as "CMake_" rather than "CMAKE_". While at it, consolidate the code computing CMake_TEST_DEVENV to be more localized.
| * | | | | | Tests: Drop CMAKE_TEST_MSVC and test MSVC directlyBrad King2014-03-032-13/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that we no longer support running tests using a different generator we can trust the MSVC platform indicator directly.
| * | | | | | Tests: Drop CMAKE_TEST_GENERATOR and CMAKE_TEST_MAKEPROGRAM optionsBrad King2014-03-032-21/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Drop the option to test with a different generator and make program than was used to build. This was used only to test support for the Open Watcom compiler which at one time could not build CMake. Instead we will allow CMake to be configured to skip building binaries and just run the test suite using an external CMake (in a future change). For now leave the two option variables hard-coded to the old option defaults until code can be updated to stop using them.
| * | | | | | Tests: Drop kwsys testBrad King2014-03-031-13/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | KWSys now has its own dashboard and test clients that run on all the machines where we test CMake. We no longer need a test inside CMake to test KWSys independently.
* | | | | | | Merge topic 'fix-CMP0017-check'Brad King2014-03-054-4/+5
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7e187eea CMP0017: Fix check when including from CMake source tree
| * | | | | | | CMP0017: Fix check when including from CMake source treeBrad King2014-03-044-4/+5
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When running CMake from the build tree the CMAKE_ROOT is the entire source tree. Fix the CMP0017 check to be specific to the Modules/ directory under CMAKE_ROOT so that Tests/ does not count. Fix the FindPackageTest modules to include FPHSA by full path from CMAKE_ROOT so that they do not include the local FPHSA which reports an error meant to test that CMP0017 works.
* | | | | | | Merge topic 'doc-find_package-build-paths'Brad King2014-03-051-0/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 69d73d27 Help: Mention in find_package that cmake-gui step is Windows-only (#14781)
| * | | | | | | Help: Mention in find_package that cmake-gui step is Windows-only (#14781)Brad King2014-03-031-0/+1
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Recently used cmake-gui locations are searched only on Windows because the Windows registry is used to record the values. This behavior is historical and may be removed by a policy in the future so rather than implementing it on other platforms simply document the current behavior.
* | | | | | | Merge topic 'FeatureSummary_combine_WHAT_values'Brad King2014-03-0519-17/+141
|\ \ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | 8372b455 FeatureSummary: Add unit tests d348cd1b FeatureSummary: Allow to combine and reorder values for the "WHAT" option
| * | | | | | FeatureSummary: Add unit testsDaniele E. Domenichelli2014-03-0318-0/+102
| | | | | | |
| * | | | | | FeatureSummary: Allow to combine and reorder values for the "WHAT" optionDaniele E. Domenichelli2014-03-031-17/+39
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For example it is now possible to do: feature_summary(WHAT ENABLED_FEATURES DISABLED_FEATURES) That produces an output like: -- -- The following features have been enabled: * Feature1 * Feature2 -- The following features have been disabled: * Feature2 Skipping the lists that are empty. Without this patch this would require to do: message(STATUS "") feature_summary(WHAT ENABLED_FEATURES DESCRIPTION "The following features have been enabled:") feature_summary(WHAT DISABLED_FEATURES DESCRIPTION "The following features have been disabled:") And empty lists would not be skipped. The behaviour when WHAT has a single argument (ALL or any option) is unchanged.