summaryrefslogtreecommitdiffstats
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'FindProtobuf-gen-desc'Brad King2017-10-031-0/+5
|\ | | | | | | | | | | | | | | 1299f4cc FindProtobuf: add flag to allow descriptor files to be generated 4e91be95 FindProtobuf: Refactor custom command output listing Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1301
| * FindProtobuf: add flag to allow descriptor files to be generatedPeter Mitrano2017-10-021-0/+5
| | | | | | | | | | | | | | | | | | | | | | - The .desc files will be in the same folder as the generated .cc and .h files. - Paths to generate .desc files are stored in a variable passed in - This is only implemented for C++ - Remove legacy ARGS - Add test that generates and uses C++ protobuf message - Add test that checks that the generated .desc file can be instantiated with DynamicMessageFactory - Add Help rst for new feature
* | Merge topic 'autogen-predefs'Brad King2017-10-027-0/+57
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 6bbc1e77 Autogen: Add release notes for (CMAKE_)AUTOMOC_COMPILER_PREDEFINES 75c98b5e Autogen: Doc: Add documentation for (CMAKE_)AUTOMOC_COMPILER_PREDEFINES 1d7f099d Autogen: Add (CMAKE_)AUTOMOC_COMPILER_PREDEFINES Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1328
| * | Autogen: Add release notes for (CMAKE_)AUTOMOC_COMPILER_PREDEFINESSebastian Holtermann2017-09-291-0/+11
| | |
| * | Autogen: Doc: Add documentation for (CMAKE_)AUTOMOC_COMPILER_PREDEFINESSebastian Holtermann2017-09-296-0/+46
| | | | | | | | | | | | | | | | | | Also adds the documentation for CMAKE_<LANG>_COMPILER_PREDEFINES_COMMAND. Closes #17275
* | | Merge topic 'cuda_9_support'Brad King2017-09-291-1/+1
|\ \ \ | |/ / |/| | | | | | | | | | | | | | fe37b994 CUDA: Add support for requesting C++98 under CUDA 9 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1315
| * | CUDA: Add support for requesting C++98 under CUDA 9Robert Maynard2017-09-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Starting in CUDA 9 the default compilation mode is C++14, and you need to explicitly enable C++98/03 mode. While at it, document `14` among the values for `CUDA_STANDARD`. This was accidentally left out of commit v3.9.0-rc1~118^2 (CUDA: Add support for the C++14 standard flag, 2017-05-11).
* | | Merge topic 'add-vs-shader-properties'Brad King2017-09-294-0/+18
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 49dab3eb VS: Add VS_SHADER_OUTPUT_HEADER_FILE and VS_SHADER_VARIABLE_NAME properties. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1319
| * | | VS: Add VS_SHADER_OUTPUT_HEADER_FILE and VS_SHADER_VARIABLE_NAME properties.Kevin M. Godby2017-09-274-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The VS_SHADER_OUTPUT_HEADER_FILE property is the name of the generated header file containing the object code of the shader. The VS_SHADER_VARIABLE_NAME property is the name of the variable containing the object code in the above header file. Signed-off-by: Kevin M. Godby <kevin@godby.org>
* | | | Merge topic 'autogen-macro-names2'Brad King2017-09-295-37/+42
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 93c8d55d Autogen: Update (CMAKE_)AUTOMOC_MACRO_NAMES release notes 084ace47 Autogen: Tests: Update AUTOMOC_MACRO_NAMES test 08041dd1 Autogen: Doc: Update documentation for (CMAKE_)AUTOMOC_MACRO_NAMES 7b33d67b Autogen: Create info file directory before writing 786b5be0 Autogen: Define all macro names in CMAKE_AUTOMOC_MACRO_NAMES Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1321
| * | | | Autogen: Update (CMAKE_)AUTOMOC_MACRO_NAMES release notesSebastian Holtermann2017-09-281-8/+10
| | | | |
| * | | | Autogen: Doc: Update documentation for (CMAKE_)AUTOMOC_MACRO_NAMESSebastian Holtermann2017-09-284-29/+32
| | | | |
* | | | | Merge topic 'autogen-cmp0071-warning'Brad King2017-09-295-17/+61
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ff6a5125 Autogen: Doc: Add examples to the SKIP_AUTO* documentations 8831818f Autogen: Doc: Update CMP0071 description b0775c75 Autogen: Offer solution for CMP0071 in warning message Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1322
| * | | | | Autogen: Doc: Add examples to the SKIP_AUTO* documentationsSebastian Holtermann2017-09-284-5/+41
| | | | | |
| * | | | | Autogen: Doc: Update CMP0071 descriptionSebastian Holtermann2017-09-281-12/+20
| |/ / / /
* | | | | Use C++11 '= delete' instead of CM_EQ_DELETEBrad King2017-09-281-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | We now require C++11 support including `= delete`. Drop use of the old compatibility macro.
* | | | | Merge topic 'document_env_variables'Craig Scott2017-09-2729-0/+261
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | e6b77c5f Help: Document CMake's environment variables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1235
| * | | | Help: Document CMake's environment variablesRobert Maynard2017-09-2629-0/+261
| | | | |
* | | | | Merge topic 'auto_ptr'Brad King2017-09-271-4/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f0489856 Retire std::auto_ptr and its macro CM_AUTO_PTR Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Pavel Solodovnikov <hellyeahdominate@gmail.com> Merge-request: !1300
| * | | | | Retire std::auto_ptr and its macro CM_AUTO_PTRMatthias Maennich2017-09-251-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Matthias Maennich <matthias@maennich.net>
* | | | | | Merge topic 'autogen-per-config-sources'Brad King2017-09-273-8/+8
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4603d6b0 Autogen: Docs: Add documentation internal links f86ba8ee Autogen: Reintroduce per-config sources support 5d3bca64 Autogen: Rename cmQtAutoGen::GeneratorType to cmQtAutogen::Generator Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1307
| * | | | | | Autogen: Docs: Add documentation internal linksSebastian Holtermann2017-09-253-8/+8
| | | | | | |
* | | | | | | Merge topic 'FindOpenGL-glvnd'Brad King2017-09-271-0/+4
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e2e8a690 FindOpenGL: Add support for GLVND on Linux Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !782
| * | | | | | FindOpenGL: Add support for GLVND on LinuxTom Fogal2017-09-251-0/+4
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Find GLVND components if available. Add `GLX` and `EGL` options for COMPONENTS that allow requesting these libraries explicitly. Introduce new import targets for these windowing-system-specific libraries. On a GLVND system, populate the legacy `OPENGL_LIBRARIES` variable and the `OpenGL::GL` target using the `OpenGL` and `GLX` components. On non-GLVND systems, continue to use the legacy `GL` library and simply do not provide the GLVND components. Application code can choose to adapt based on the availability of GLVND components as imported targets.
* | | | | | Help: Update MSVC_VERSION documentationBrad King2017-09-251-11/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the corresponding toolset name for each version. While at it, link to the general compiler version variable.
* | | | | | Help: Document MSVC_VERSION value 1911Wojciech Mamrak2017-09-251-0/+1
|/ / / / /
* | | | | Merge topic 'FindOpenACC'Brad King2017-09-253-0/+7
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d3b6f291 FindOpenACC: Add module to detect compiler support for OpenACC Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1209
| * | | | | FindOpenACC: Add module to detect compiler support for OpenACCTin Huynh2017-09-223-0/+7
| | | | | |
* | | | | | Merge topic 'cpackifw-options'Brad King2017-09-251-0/+6
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9a24ab6b CPackIFW: Add some options Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1298
| * | | | | CPackIFW: Add some optionsKonstantin Podsvirov2017-09-211-0/+6
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | The `CPackIFW` module `cpack_ifw_configure_component` and `cpack_ifw_configure_component_group` commands gained a new `REPLACES` and `CHECKABLE` options.
* | | | | Merge topic 'graphviz-link-type'Craig Scott2017-09-221-0/+6
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | 5b46cc91 graphviz: distinguish target dependency types Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1229
| * | | | graphviz: distinguish target dependency typesNico Müller2017-09-211-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - The output graph of graphviz differs now between target link types - Updated documentation - Fixes: #17192
* | | | | Merge topic 'cpack-rpm-deb-version'Brad King2017-09-221-0/+14
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | 74b7457f CPack RPM and DEB: improved package version handling Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1296
| * | | | CPack RPM and DEB: improved package version handlingDomen Vrankar2017-09-211-0/+14
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds support for epoch version to CPackRPM and CPackDeb packagers. Also adds better version checking to CPackDeb that complies with Debian rules. Fixes: #17057
* | | | Merge topic 'midipix-support'Brad King2017-09-211-0/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0df43496 Midipix: Add minimal platform file Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1294
| * | | | Midipix: Add minimal platform filemidipix2017-09-201-0/+4
| |/ / / | | | | | | | | | | | | Add Midipix.cmake (UnixPaths, no overrides, no special cases).
* | | | Help: Add notes for topic 'freebsd-compiler-name'Brad King2017-09-211-0/+4
|/ / /
* | | Merge topic 'target_system_docs'Brad King2017-09-193-10/+7
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 77eb212d Help: Clarify/make consistent the APPLE, UNIX and WIN32 variable docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1279
| * | | Help: Clarify/make consistent the APPLE, UNIX and WIN32 variable docsCraig Scott2017-09-183-10/+7
| |/ /
* | | Merge topic 'ctest-runcommand'Brad King2017-09-181-0/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 67529aab Doc: document that CoverageExtraFlags will come first 69fac3c3 pass arguments as vector to cmCTest::RunCommand() Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1261
| * | | Doc: document that CoverageExtraFlags will come firstRolf Eike Beer2017-09-151-0/+2
| |/ /
* | | Merge topic 'findmpi-overhaul'Brad King2017-09-181-0/+16
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | bf1e606f FindMPI: Add support for FreeBSD and SLES 2f673da6 FindMPI: Support components for various languages 9a58e69c FindMPI: Modernization from ground up Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !893
| * | FindMPI: Support components for various languagesChristian Pfeiffer2017-09-151-0/+3
| | |
| * | FindMPI: Modernization from ground upChristian Pfeiffer2017-09-151-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a near-total rewrite of FindMPI implementing the following features: Environmental improvements: - C++ settings can now be picked from C settings if no dedicated C++ settings are found (some installs of IBM Platform MPI) - Fortran settings can now be found on MPICH-1, MVAPICH-1, Microsoft MPI and MPICH-2 on Windows. - Improved flag procession logic: Flags related to security enhancements of MPI itself, and unrelated to MPI usage (-fstack-protector-strong on e.g. RHEL 7 for MPICH and MVAPICH) will be filtered out properly now. -pthread is now being handled. -fno-strict-aliasing, which may be needed while compiling MVAPICH (e.g. RHEL 7's MVAPICH package) is also filtered. Features added: - MPI version can be determined for each language and is exposed as the package version - MPI functionality is being tested to ensure the correctness of settings - MPI-2 C++ bindings can be suppressed if desired by the project or user. For older MPIs, this often resolves issues and eliminated the infamous SEEK_SET trouble. - MPI-2 C++ bindings are now being searched for and exposed by a variable if detected. - Fortran support now does not make assumptions over the MPI present and works with ILP64 MPI implementations. - Fortran now exposes which bindings (mpif.h, mpi/mpi_f08 modules) are available - MPI detection can now work hybridly, which for example permits using the Fortran modules shipped with some compiler suites together with MPI (e.g. PGI on Windows shipping MSMPI modules) - Ability to determine MPI library version (*requires* try_run, caution) upon request - Ability to determine Fortran capabilities from MPI-3 for each of the bindings (subarrays, asynchronous attribute protecting entities) (also requires try_run) Fine grained control over the search process: - Possibility to selectively enable and disable steps like compiler wrapper search and guessing. Permits picking Microsoft MPI over Intel MPI if both are loaded (previously not possible without removing the IMPI compiler wrappers from the environment) - Ability to pick MPICH2 over MSMPI (previously the first one located was taken) - A user may now pass compiler flags to the compiler wrapper script, enabling much more flexibility. This permits for example linking the Intel MPI debug runtime, static linking, ILP64 with Fortran, linking tracing, ... - A user may define a suffix for all MPI binaries that are being looked for (useful on Debian/Ubuntu where the alternative MPI installs are each appended with their name, e.g. mpicc.mpich and mpicc.lam) Cache variable improvements - Instead of the previous plural cache variables a list-of-variables approach is now in place. Permits correcting individual variables instead of having to wade through a list, also speeds up the search process and increases comfort by eliminating duplicate entries in LIBRARIES over languages - MPIEXEC was corrected to MPIEXEC_EXECUTABLE in order to fix the grouping in the CMake GUI for the variable (previously ungrouped)
* | | Merge topic 'findopenmp-components'Brad King2017-09-151-0/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | d25f30a6 FindOpenMP: Add support for components 23530151 FindOpenMP: Minor environmental improvements Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1266
| * | | FindOpenMP: Add support for componentsChristian Pfeiffer2017-09-141-0/+5
| |/ / | | | | | | | | | | | | Language specific components are added to FindOpenMP to ease consumption of the module's results.
* | | Merge topic 'codeblocks-exclude-external'Brad King2017-09-154-1/+19
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | fb19b778 CodeBlocks: add option to exclude external files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1159
| * | | CodeBlocks: add option to exclude external filesAlexandr (Sagrer) Gridnev2017-09-144-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add variable `CMAKE_CODEBLOCKS_EXCLUDE_EXTERNAL_FILES` to optionally exclude files from outside the project root from the project file written by the CodeBlocks extra generator. This optionally restores logic that had been removed by commit v2.8.3~40^2 (CodeBlocks Generator: Do not omit files in the project file listing, 2010-10-05) in response to QTCREATORBUG-2250. Issue: #12110 Fixes: #17188
* | | | Merge topic 'get_filename_component-fix-program-split'Brad King2017-09-141-0/+9
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | 31f73eb1 get_filename_component: Revise PROGRAM/PROGRAM_ARGS split semantics Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1251
| * | | get_filename_component: Revise PROGRAM/PROGRAM_ARGS split semanticsBrad King2017-09-131-0/+9
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The KWSys `SystemTools::SplitProgramFromArgs` implementation goes into an infinite loop when the value is just " " (a space). Since the "program path with unquoted spaces plus command-line arguments" operation it is trying to provide is poorly defined (string parsing should not depend on filesystem content), just stop using it. Instead consider the main two use cases the old approach tried to handle: * The value is the name or absolute path of a program with no quoting or escaping, but also no command-line arguments. In this case we can use the value as given with no parsing, and assume no arguments. * The value is a command-line string containing the program name/path plus arguments. In this case we now assume that the command line is properly quoted or escaped. Fixes: #17262