summaryrefslogtreecommitdiffstats
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'command_file_link'Brad King2019-01-211-0/+23
|\ | | | | | | | | | | | | | | | | | | | | | | | | 0f08ed8936 cmSystemTools: Silence CreateLink and CreateSymlink errors 593d986470 Tests: Avoid cross-device links in CREATE_LINK test 9a3d85cfc5 Tests: Skip symlink tests on Windows e68ea269d7 Tests: CREATE_LINK subcommand negative test case 45aa9c65a1 Tests: file CREATE_LINK subcommand test cases 8bb7562f1a Help: Add documentation for file(CREATE_LINK) subcommand 81650e488c cmFileCommand: Add CREATE_LINK subcommand Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2759
| * Help: Add documentation for file(CREATE_LINK) subcommandTushar Maheshwari2019-01-161-0/+23
| |
* | Merge topic 'find-package-resolve-symlinks'Brad King2019-01-214-0/+22
|\ \ | | | | | | | | | | | | | | | | | | | | | 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-164-0/+22
| |/ | | | | | | | | | | | | | | | | 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-215-10/+44
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-165-10/+44
| |/
* | Merge topic 'GHS_updates'Brad King2019-01-1812-44/+43
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Add Compiler ID detectionFred Baksik2019-01-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -- Detect GHS compiler and version Detect ARCHITECTURE_ID for PPC / ARM / 86 targets Detect PLATFORM_ID for Integrity and Integrity178 platforms Using defines specified in the documents for the compilers: 201416 PPC / 201754 ARM / 201714 86 -- Fallback C/CXX compiler ID to GHS if not otherwise detected and using GHS MULTI generator Works around issue with some GHS compilers not setting __ghs__ compiler define -- Tweak Compiler ID checking so major id of 002017 is not replaced with 217 -- Prefer try_compile() library targets when testing for working GHS compilers -- Avoid CMake errors if reading past end of file for checking if file is PE executable
| * | GHS: try_compile() now uses GHS platform variablesFred Baksik2019-01-162-1/+5
| | | | | | | | | | | | | | | | | | | | | -- Forward GHS platform variables to try_compile() CMAKE_TRY_COMPILE_PLATFORM_VARIABLES only worked for source signature try_compile() -- Update tests to no longer add GHS platform variables to try_compile() -- Avoid linker error in GhsMulti/GhsMultiCompilerOptions/CMakeLists.txt by building library
| * | GHS: Fix toolset selectionFred Baksik2019-01-161-4/+5
| | | | | | | | | | | | | | | | | | -- Allow -T to accept full or partial paths -- Use "C:/ghs" if GHS_TOOLSET_ROOT is empty string -- Put more information in error messages
| * | GHS: Integrity Application updatesFred Baksik2019-01-164-11/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -- 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-166-30/+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
| * | GHS: Place build system outputs per target output directivesFred Baksik2019-01-161-0/+3
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | -- Set output and object file locations -- Suffixes are no longer being forced but will now follow the target properties By default GHS tools have no suffix for executable files so CMAKE_EXECUTABLE_SUFFIX was changed to meet this behavior -- Remove #if 0 blocked out code; it has been replaced. Forcing the -relprog option has been removed from non-kernel executable targets. The default value of this option (if it is even available) is determined by the tool-chain for the specified target and platform (Some tool-chains default to -locatedprogram). The use of -relprog can have unexpected results as it cannot always produce a fully relocated executable. -- Clarify use of CMAKE_BUILD_TYPE to control build configuration
* | 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-173-0/+27
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 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-173-0/+27
| | |/ | |/| | | | | | | | | | This property allows scripts to determine whether they're in project mode, script mode, find-package mode, CTest, or CPack.
* | | Merge topic 'vs-debug-utility-targets'Brad King2019-01-171-0/+6
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | 22b43b0009 VS: Add support for VS_DEBUGGER_* properties on custom targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2794
| * | VS: Add support for VS_DEBUGGER_* properties on custom targetsNils Gladitz2019-01-161-0/+6
| |/ | | | | | | | | | | Visual studio itself supports the corresponding `LocalDebugger*` properties on utility targets; support generating them from CMake as well.
* | Merge topic 'qt_wrap_command_deprecations'Craig Scott2019-01-163-7/+32
|\ \ | |/ |/| | | | | | | | | | | 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-153-7/+32
| | | | | | Co-authored-by: Craig Scott <craig.scott@crascit.com>
* | Merge topic 'vs2019'Brad King2019-01-154-0/+64
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-114-0/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 'rel-win7'Brad King2019-01-151-0/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 214a0bc924 Utilities/Release: Build for Windows 7 and above Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2807
| * | | | Utilities/Release: Build for Windows 7 and aboveBrad King2019-01-141-0/+6
| |/ / / | | | | | | | | | | | | | | | | | | | | Drop support for Windows XP and Windows Vista. Upstream libuv has done this, and since that is a dependency of ours we will soon need to do so also.
* | | | Merge topic 'check-fortran-run'Brad King2019-01-153-0/+8
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-103-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | Add a Fortran equivalent to the existing `Check{C,CXX}SourceRuns` modules.
* | | | | Merge topic 'deprecate-policy-old'Brad King2019-01-151-0/+8
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6845e2559d Add deprecation warnings for policies CMP0065 and below Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2793
| * | | | | Add deprecation warnings for policies CMP0065 and belowBrad King2019-01-111-0/+8
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | The OLD behaviors of all policies are deprecated, but only by documentation. Add an explicit deprecation diagnostic for some policies to encourage projects to port away from setting policies to OLD.
* | | | | Merge topic 'find_package-doc-clarification'Kyle Edwards2019-01-151-3/+3
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | 427ebecdf5 Help/find_package: clarify intended behavior with REQUIRED QUIET Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2777
| * | | | Help/find_package: clarify intended behavior with REQUIRED QUIETBen Boeckel2019-01-141-3/+3
| | | | | | | | | | | | | | | | | | | | See #18773
* | | | | Merge topic 'xref3'Kyle Edwards2019-01-144-6/+18
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | bfc3670546 Help: Provide cross-references from and to set_property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2785
| * | | | Help: Provide cross-references from and to set_propertyJoachim Wuttke (o)2019-01-104-6/+18
| |/ / /
* | | | Merge topic 'vs-refactor'Brad King2019-01-116-0/+12
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b91f6f39f7 VS: Track explicitly when platform is specified in generator name 89cc3d432b VS: Move platform name members to top-level global generator 40a732800d VS: Clarify global generator constructor interface 5ca7e5057b Help: Document VS generator default platform selection Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2786
| * | | | Help: Document VS generator default platform selectionBrad King2019-01-106-0/+12
| | |/ / | |/| |
* | | | Merge topic 'FindICE-more-exe'Brad King2019-01-111-0/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fbb115d198 FindIce: Find slice2confluence and slice2matlab executables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2773
| * | | | FindIce: Find slice2confluence and slice2matlab executablesjspam2019-01-101-0/+5
| | |/ / | |/| |
* | | | Merge topic 'bison_target_policy'Brad King2019-01-113-0/+36
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-103-0/+36
| |/ / /
* | | | Merge topic 'fix-doc-typo'Brad King2019-01-112-3/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-022-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 'doc-roff-fix'Brad King2019-01-111-2/+2
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | 9922e70b1a Help: Prevent .so from being treated as a roff macro Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2756
| * | | | Help: Prevent .so from being treated as a roff macroRaf Czlonka2019-01-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move `.so` to the line above - otherwise it is being treated as a `roff` macro, i.e.: $ mandoc -Tlint /usr/local/man/man7/cmake-properties.7 | head -n 3 mandoc: /usr/local/man/man7/cmake-properties.7:1131:2: WARNING: .so is fragile, better use ln(1): so libraries. mandoc: /usr/local/man/man7/cmake-properties.7: ERROR: No such file or directory mandoc: /usr/local/man/man7/cmake-properties.7:1131:15: ERROR: .so request failed: .so libraries. and causes other issues down the line.
* | | | | Merge topic 'ctest-show-as-json'Brad King2019-01-102-1/+76
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-102-1/+76
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | 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-108-0/+66
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.