summaryrefslogtreecommitdiffstats
path: root/Help/manual
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'fortran-compiler-id'Brad King2019-01-211-0/+13
|\ | | | | | | | | | | | | a080914274 Fortran: Add compiler ID/Version generator expressions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2804
| * Fortran: Add compiler ID/Version generator expressionsAndrew Paprocki2019-01-181-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | Adds `Fortran_COMPILER_ID` and `Fortran_COMPILER_VERSION` generator expression support to match equivalent `C_COMPILER_ID`, `CXX_COMPILER_ID`, `C_COMPILER_VERSION`, and `CXX_COMPILER_VERSION` support. This is very helpful in the case where the C/C++ compiler suite is a different type of compiler from the platform Fortran compiler and projects use generator expressions to assign compiler flags and definitions. (e.g. `GNU` C/C++ and `SunPro` Fortran on Linux)
* | Merge topic 'find-package-resolve-symlinks'Brad King2019-01-211-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | b773e58099 find_package: add test coverage for CMAKE_FIND_PACKAGE_RESOLVE_SYMLINKS a5e948a36f find_package: optionally resolve symlinks when discovering packages Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2798
| * | find_package: optionally resolve symlinks when discovering packagesDavid Aguilar2019-01-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Teach find_package() to resolve symlinks when constructing relocatable prefix paths from discovered cmake config files. The `CMAKE_FIND_PACKAGE_RESOLVE_SYMLINKS` variable enables this behavior when set to `TRUE`. Fixes: #18704
* | | Merge topic 'submit-url'Brad King2019-01-212-8/+24
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2915a75615 CTest: Add documentation and release notes for SubmitURL d6475daa79 Modules/CTest: Set SubmitURL 938f06fda6 ctest_submit: Add parameter SUBMIT_URL 65e725c957 CTest: Add option SubmitURL 65f1fc9d63 CTest: Add function GetSubmitURL 2bedd5fb7c ctest_submit: Remove submit method from log output Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2719
| * | CTest: Add documentation and release notes for SubmitURLRegina Pfeifer2019-01-162-8/+24
| |/
* | Merge topic 'GHS_updates'Brad King2019-01-182-5/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 21ab58d3f8 GHS: Update test suite 72e0c115b7 GHS: Add Compiler ID detection 436cc5e991 GHS: try_compile() now uses GHS platform variables 4a1ec0de3d GHS: Fix toolset selection 1a66acdef2 GHS: Append ".gpj" to target name when generating build command 0c9e47d7cd GHS: Integrity Application updates 8044318431 GHS: Add support for some of the source file properties 73092b2213 GHS: Add support for object libraries ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2231
| * | GHS: Integrity Application updatesFred Baksik2019-01-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -- Check the property "ghs_integrity_app" on executables to set [INTEGRITY Application] If the property is not set then check if an integrate file is one of the source files (.int file). Dynamic Downloads that do not have an integrate file can use this property along with setting the compiler flag "-dynamic". -- Remove parsing for -dynamic flag; it is only used to print a comment The MULTI GUI will show if it is a Monolith or Dynamic Download application -- Use project references to specify which executables are part of the Integrity Application Usually Implicit Dependency Analysis will ensure that executable targets become part of the application. This does not work for Dynamic Download without integrate files. Use `add_dependencies(dd vas)` to mark that the vas target is part of dd target. -- Update file locations in the Integrate files.
| * | GHS: Use the correct compiler flags for CMAKE_BUILD_TYPEFred Baksik2019-01-161-5/+0
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | -- Do not use CMAKE_C_FLAGS_RELEASE flags when CMAKE_BUILD_TYPE is empty if CMAKE_BUILD_TYPE was not set the generator would use Release settings this does not match the documented behavior of CMAKE_BUILD_TYPE -- CMAKE_C_FLAGS_<CONFIG> not used when -kernel is present Fixes issue where CMAKE_C_FLAGS_<CONFIG> is ignored when -kernel option is present as a compiler option When the -kernel option is added to an executable it uses a different set of language flags This does not occur -kernel=<type> is used or if it is added as part of a link flag The variables CMAKE_<LANG>_GHS_KERNEL_FLAGS_<CONFIG> are removed NOTE: By default this only added the flag -ldebug which links in the debugger library. -- Separate compiler options by newlines
* | Merge topic 'remove-duplicate-link'Brad King2019-01-181-1/+0
|\ \ | | | | | | | | | | | | | | | | | | 00c7e006a5 Help: Remove duplicate reference to IMPORTED_LINK_DEPENDENT_LIBRARIES_<CONFIG> Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2818
| * | Help: Remove duplicate reference to IMPORTED_LINK_DEPENDENT_LIBRARIES_<CONFIG>Kyle Edwards2019-01-171-1/+0
| | |
* | | Merge topic 'cmake_role-global-property'Brad King2019-01-171-0/+1
|\ \ \ | |/ / |/| | | | | | | | | | | | | | 4568d046c4 Properties: Add CMAKE_ROLE global property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2805
| * | Properties: Add CMAKE_ROLE global propertyKyle Edwards2019-01-171-0/+1
| |/ | | | | | | | | This property allows scripts to determine whether they're in project mode, script mode, find-package mode, CTest, or CPack.
* | Merge topic 'qt_wrap_command_deprecations'Craig Scott2019-01-161-5/+6
|\ \ | |/ |/| | | | | | | | | | | 74dc68b406 qt_wrap_*: Add deprecation notes to command docs Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Brad King <brad.king@kitware.com> Merge-request: !2738
| * qt_wrap_*: Add deprecation notes to command docsTobias Hunger2019-01-151-5/+6
| | | | | | Co-authored-by: Craig Scott <craig.scott@crascit.com>
* | Merge topic 'vs2019'Brad King2019-01-151-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 57e48f16f2 VS: Add Visual Studio 16 2019 generator bdef729646 VS: Parameterize VS 2017 generator to support future versions 68d316e0cf VS: Rename VS 2017 generator sources to be version-independent d8ed309d05 VS: Parameterize cmVSSetupAPIHelper instances with VS version Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2789
| * | VS: Add Visual Studio 16 2019 generatorBrad King2019-01-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add this generator *without* support for specifying the target architecture in the generator name. cmake-gui will be taught to provide a field for this, and command-line builds can use -A. Also, teach this generator to select a default target architecture based on the host architecture. Fixes: #18689 Inspired-by: Egor Pugin <egor.pugin@gmail.com>
* | | Merge topic 'extendwhitelist'Brad King2019-01-151-0/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 59c408d053 cmTargetPropertyComputer: whitelist 'MANUALLY_ADDED_DEPENDENCIES'. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2808
| * | | cmTargetPropertyComputer: whitelist 'MANUALLY_ADDED_DEPENDENCIES'.Sebastian Lipponer2019-01-141-0/+1
| |/ /
* | | Merge topic 'check-fortran-run'Brad King2019-01-151-0/+1
|\ \ \ | |/ / |/| | | | | | | | | | | | | | 10a1477b63 CheckFortranSourceRuns: Add module to check if Fortran code runs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2714
| * | CheckFortranSourceRuns: Add module to check if Fortran code runsMichael Hirsch, Ph.D2019-01-101-0/+1
| | | | | | | | | | | | | | | Add a Fortran equivalent to the existing `Check{C,CXX}SourceRuns` modules.
* | | Merge topic 'bison_target_policy'Brad King2019-01-111-0/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 5000fed5af FindBISON: Add policy CMP0088 to run bison in build tree Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2774
| * | | FindBISON: Add policy CMP0088 to run bison in build treeRobert Maynard2019-01-101-0/+1
| | | |
* | | | Merge topic 'fix-doc-typo'Brad King2019-01-111-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 261ae28ccd Help: fix typo for CTEST_CUSTOM_TESTS_IGNORE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2770
| * | | | Help: fix typo for CTEST_CUSTOM_TESTS_IGNOREBen Boeckel2019-01-021-1/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | In commit v3.4.0-rc1~57^2 (Help: document CTEST_CUSTOM_* variables, 2015-09-17), the CTEST_CUSTOM_TESTS_IGNORE variable was documented with a typo.
* | | | Merge topic 'sort1'Brad King2019-01-111-2/+2
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | 20b7826e14 Help: correct alphabetical sorting of lines Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2784
| * | | Help: correct alphabetical sorting of linesJoachim Wuttke (o)2019-01-101-2/+2
| |/ /
* | | Merge topic 'ctest-show-as-json'Brad King2019-01-101-1/+70
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 67209a9291 Tests: Add cases for ctest --show-only=json-v1 fc41a95f08 CTest: Add --show-only[=format] option to print test info 7b81d8c21e TestGenerator: Record support file and line where test was added 00530d74d5 Tests: Pass python interpreter into RunCMake.CTestCommandLine Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Brad King <brad.king@kitware.com> Merge-request: !2499
| * | | CTest: Add --show-only[=format] option to print test infoJustin Goshi2019-01-101-1/+70
| |/ / | | | | | | | | | | | | | | | format can be 'human' to print the current text format or 'json-v1' to print the test object model in json format and is useful for IDEs who want to gather information about the tests. Defaults to 'human' format.
* | | Autogen: Add AUTO(MOC|RCC|UIC)_EXECUTABLE target propertiesTobias Hunger2019-01-101-0/+3
|/ / | | | | | | | | | | | | | | | | | | Allow to force moc/rcc/uic compiler used for AUTO(MOC|RCC|UIC). Setting these properties is only necessary if you are going to do strange things like build these tools as part of your own build system. Setting these properties will also prevent cmake from testing the binary: It is user-provided and assumed to be valid.
* | Merge topic 'link-options'Craig Scott2018-12-231-0/+1
|\ \ | | | | | | | | | | | | | | | | | | f255280fd9 PIE link options: Update strategy to fix performance regression Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2739
| * | PIE link options: Update strategy to fix performance regressionMarc Chevrier2018-12-191-0/+1
| |/ | | | | | | Fixes: #18700
* | Merge topic 'install-code-script-genex'Craig Scott2018-12-231-0/+1
|\ \ | |/ |/| | | | | | | | | 25cae1e85d install: Teach CODE,SCRIPT modes to evaluate generator expressions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2688
| * install: Teach CODE,SCRIPT modes to evaluate generator expressionsJon Chronopoulos2018-12-221-0/+1
| | | | | | | | | | | | | | This also introduces CMP0087 which will keep the OLD behaviour of not evaluating generator expressions Fixes: #15785
* | Merge topic 'fileapi'Brad King2018-12-131-0/+1111
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b9c6f08276 Help: Add release note for fileapi feature 4b6b2a571c fileapi: extend codemodel v2 with directory details eb8c7676a4 fileapi: extend codemodel v2 with a project model 42f0125ceb fileapi: Add test for cmakeFiles v1 6615408193 fileapi: add cmakeFiles v1 3f6ee75a66 fileapi: Add test for cache v2 7489e95b8e fileapi: add cache v2 ea0a060168 fileapi: Add test for codemodel v2 ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2706
| * | fileapi: extend codemodel v2 with directory detailsBrad King2018-12-121-2/+30
| | | | | | | | | | | | | | | Issue: #18398 Co-Author: Kyle Edwards <kyle.edwards@kitware.com>
| * | fileapi: extend codemodel v2 with a project modelBrad King2018-12-121-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | Offer clients a `project()`-centric view of the build system. This is similar to the directory-centric view but consolidates subdirectories that do not call `project()` with a new project name. Issue: #18398 Co-Author: Kyle Edwards <kyle.edwards@kitware.com>
| * | fileapi: add cmakeFiles v1Brad King2018-12-121-0/+82
| | | | | | | | | | | | Issue: #18398
| * | fileapi: add cache v2Brad King2018-12-121-0/+74
| | | | | | | | | | | | | | | | | | Start with v2 to distinguish it from server-mode v1. Issue: #18398
| * | fileapi: add codemodel v2Brad King2018-12-121-0/+470
| | | | | | | | | | | | | | | | | | Start with v2 to distinguish it from server-mode v1. Issue: #18398
| * | fileapi: Report cmake generator in reply index fileBrad King2018-12-121-0/+13
| | |
| * | fileapi: Add protocol v1 support for stateful per-client queriesBrad King2018-12-121-3/+122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for client-owned *stateful* query files. These allow clients to request a list of versions of each object kind and get only the first-listed version that CMake recognizes. Since clients own their stateful query files they can mutate them over time. As a client installation is updated it may update the queries that it writes to build trees to get newer object versions without paying the cost of continuing to generate older versions. Issue: #18398
| * | fileapi: Add protocol v1 support for client-specific query filesBrad King2018-12-121-2/+51
| | | | | | | | | | | | | | | | | | | | | | | | Add support for client-owned stateless query files. These allow clients to *own* requests for major object versions and get all those recognized by CMake. Issue: #18398
| * | fileapi: Add protocol v1 infrastructure with support for shared query filesBrad King2018-12-121-0/+220
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a file-based API that clients may use to get semantic information about the buildsystem that CMake generates. Clients will write query files under a designated location in the build tree, and CMake will write reply files for clients to read. Start with support for shared stateless query files. These allow clients to share requests for major object versions and get all those recognized by CMake. Once any client has written a shared request to a build tree it will persist. Other clients will not need to overwrite the request (since it is stateless) and should not remove it either. For now we add only an undocumented object kind to use for testing the query and reply infrastructure. Object kinds providing real semantic information will be added later. Issue: #18398
* | | Merge topic 'default-test-timeout'Brad King2018-12-121-3/+4
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | 3e0eb3307f Help: clarify documentation of ctest --timeout Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2721
| * | Help: clarify documentation of ctest --timeoutRegina Pfeifer2018-12-091-3/+4
| | |
* | | Merge topic 'SWIG'Brad King2018-12-101-0/+1
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | dff28141dc UseSWIG: add management of SWIG option -module 7b3d4799f8 Help: update policy 0078 documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2669
| * | UseSWIG: add management of SWIG option -moduleMarc Chevrier2018-12-071-0/+1
| |/ | | | | | | | | | | | | When file property SWIG_MODULE_NAME is specified, provide option -module to SWIG compiler. Fixes: #18374
* | Merge topic 'gnu-octave'Brad King2018-12-071-0/+1
|\ \ | | | | | | | | | | | | | | | | | | 170bcb6fdc FindOctave: Add module to find GNU octave Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2630
| * | FindOctave: Add module to find GNU octaveMichael Hirsch, Ph.D2018-12-061-0/+1
| |/