summaryrefslogtreecommitdiffstats
path: root/Help/variable
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'msys_docs'Brad King2019-01-311-0/+4
|\ | | | | | | | | | | | | ec027aa64a Help: Add documentation for MSYS variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2882
| * Help: Add documentation for MSYS variableHarry Mallon2019-01-301-0/+4
| |
* | DOCS: put Flang in alphabetical orderMichael Hirsch, Ph.D2019-01-291-1/+1
|/
* VS: Add support for explicit 32-bit toolset selection via host=x86Brad King2019-01-282-7/+7
| | | | | Generalize the ``host=x64`` option in `CMAKE_GENERATOR_TOOLSET` to also support ``host=x86``.
* cmMakefile: Impose maximum recursion limitKyle Edwards2019-01-231-0/+33
| | | | | | | | | In order to keep infinitely-recursive scripts from causing a stack overflow in the CMake executable, CMake now imposes a maximum recursion limit before issuing an error message. The limit can be adjusted at runtime with CMAKE_MAXIMUM_RECURSION_DEPTH. Fixes: #18694
* Merge topic 'find-package-resolve-symlinks'Brad King2019-01-211-0/+10
|\ | | | | | | | | | | | | | | 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/+10
| | | | | | | | | | | | | | | | | | 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-211-0/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-161-0/+5
| |/
* | 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: Integrity Application updatesFred Baksik2019-01-161-1/+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-165-25/+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
* 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>
* Help: fix typo for CTEST_CUSTOM_TESTS_IGNOREBen Boeckel2019-01-021-2/+2
| | | | | | 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.
* CTest: Remove submission triggerRegina Pfeifer2018-11-281-2/+1
|
* CTest: Remove submit method 'scp'Regina Pfeifer2018-11-281-2/+1
|
* Merge topic 'doc-cmake.1'Craig Scott2018-11-282-5/+5
|\ | | | | | | | | | | | | | | | | e15cac8ee7 Help: Extend the cmake(1) manual 8b3a537c29 Help: Improve cmake(1) manual organization f9c3f7b164 Help: Emphasize tool names in their manuals Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2662
| * Help: Improve cmake(1) manual organizationJoachim Wuttke (l)2018-11-272-5/+5
| | | | | | | | | | | | | | | | | | | | | | Extend the Synposis, and provide links to manual sections. Add sections for `cmake --open` and `cmake --help-*`. Introduce a new section for buildsystem generation to distinguish it from the other functionality. Populate it with minimal placeholder text for now. It will be extended later. Co-Author: Brad King <brad.king@kitware.com>
* | Autogen: Documentation updatesSebastian Holtermann2018-11-261-0/+8
|/ | | | | | | | This extends the documentation for - :prop_tgt:`AUTOGEN_ORIGIN_DEPENDS` - :prop_tgt:`AUTOGEN_TARGET_DEPENDS` - :variable:`CMAKE_GLOBAL_AUTOGEN_TARGET`
* Help: Spell out MFCJoachim Wuttke (o)2018-11-141-7/+8
| | | | And shorten text that was hard to understand and redundant.
* Autogen: Add documentation for CMAKE_GLOBAL_AUTOGEN/RCC_TARGETSebastian Holtermann2018-11-114-0/+62
|
* Help: Describe $CACHE and $ENV as operatorsJoachim Wuttke (l)2018-11-082-4/+9
| | | | | | This resolves issue #18514 Also add a cross-reference to if(DEFINED ENV{var}).
* Autogen: Add (CMAKE_)AUTOGEN_ORIGIN_DEPENDS documentationSebastian Holtermann2018-11-031-0/+11
|
* Merge topic 'no-smiley'Brad King2018-10-2919-19/+19
|\ | | | | | | | | | | | | 24fa04018c Help: Spell out ";-list" as "semicolon-separated list" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2528
| * Help: Spell out ";-list" as "semicolon-separated list"Joachim Wuttke (o)2018-10-2519-19/+19
| |
* | Merge topic 'doc-updates'Brad King2018-10-261-3/+3
|\ \ | | | | | | | | | | | | | | | | | | 2f9c253961 Help: clarify "LINKER:" prefix usage Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2530
| * | Help: clarify "LINKER:" prefix usageMarc Chevrier2018-10-261-3/+3
| | | | | | | | | | | | Fixes: #18503
* | | RPATH: Add option for using $ORIGIN in build treePeter Wu2018-10-261-0/+7
| |/ |/| | | | | | | | | | | | | | | This makes binaries independent of the build directory by not embedding the build directory via RPATH. The tests are partially based on the existing RuntimePath test, but with the check moved into a POST_BUILD command such that it can be skipped when the platform lacks support. Fixes: #18413
* | Merge topic 'update_debug_target_properties'Brad King2018-10-151-7/+16
|\ \ | | | | | | | | | | | | | | | | | | 86921f0264 Help: document CMAKE_DEBUG_TARGET_PROPERTIES support for LINK properties Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2480
| * | Help: document CMAKE_DEBUG_TARGET_PROPERTIES support for LINK propertiesRobert Maynard2018-10-121-7/+16
| | |
* | | add_subdirectory: Run subdirectory install rules in correct orderKyle Edwards2018-10-101-0/+2
|/ / | | | | | | | | | | | | | | | | Before this change, install rules created by add_subdirectory() would be executed after all of the top-level install rules, even if they were declared before the top-level rules. This change adds a new policy, CMP0082, which interleaves the add_subdirectory() install rules with the other install rules so they are run in the correct order.
* | Help: Document CMAKE_OSX_* variables as cache entriesJames Turner2018-10-041-0/+2
|/ | | | | | | | | | The variables * CMAKE_OSX_ARCHITECTURES * CMAKE_OSX_DEPLOYMENT_TARGET * CMAKE_OSX_SYSROOT should be set as cache entries. Document this explicitly.
* Merge topic 'vs-global-props-for-all-targets'Brad King2018-09-281-0/+21
|\ | | | | | | | | | | | | | | 36489b85aa VS: Add test for CMAKE_VS_GLOBALS 22e670a306 VS: Add option to set VS_GLOBAL_* for all targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2345
| * VS: Add option to set VS_GLOBAL_* for all targetsMikhail Korolev2018-09-251-0/+21
| | | | | | | | Fixes: #18287
* | link_directories(): enhance capabilitiesMarc Chevrier2018-09-251-0/+9
|/
* Help: Document CMAKE_RULE_MESSAGES variableJulien Schueller2018-09-171-0/+8
| | | | Fixes: #18368
* Merge topic 'cmake_cpack_command-doc'Brad King2018-09-111-0/+8
|\ | | | | | | | | | | | | 5ff7149298 Help: Document existence of CMAKE_CPACK_COMMAND Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2367
| * Help: Document existence of CMAKE_CPACK_COMMANDKyle Edwards2018-09-101-0/+8
| | | | | | | | | | This useful variable was previously undocumented. This commit adds brief documentation for it.
* | Help: Replace occurrences of "Mac OS X" with "macOS"Bartosz Kosiorek2018-09-0513-16/+16
|/ | | | | | | | Apple's main Operating system changed their name from OS X to macOS: https://www.engadget.com/2016/06/13/os-x-is-now-macos/ Revise documentation accordingly.
* Merge topic 'vs-winrt-default'Brad King2018-08-311-0/+8
|\ | | | | | | | | | | | | e78a0c8e8a VS: Add option to tell generator that platfrom is WinRT by default Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2315
| * VS: Add option to tell generator that platfrom is WinRT by defaultMikhail Korolev2018-08-301-0/+8
| | | | | | | | | | | | Create a ``CMAKE_VS_WINRT_BY_DEFAULT`` variable to indicate this. Fixes: #18286
* | Merge topic 'android-ndk-r18'Brad King2018-08-301-1/+2
|\ \ | |/ |/| | | | | | | | | ca97d4cb5f Android: Add support for NDK r18 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2319
| * Android: Add support for NDK r18Brad King2018-08-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | NDK r18 drops GCC toolchains and some STL types. We need to choose a clang toolchain by default when no gcc toolchains are available. Switch the STL type default to `c++_static` when the old `gnustl_static` default is not available. Update the test suite to not run tests for STL types that do not exist. Also do not expect the gcc toolchain `cpp` tool to be available because r18 does not provide it. Also teach it to tolerate `gcc -dumpmachine` output like `arm--linux-android` that differs from the toolchain prefix. Fixes: #18301
* | Merge topic 'doc-clang-tidy-typo'Brad King2018-08-241-1/+1
|\ \ | | | | | | | | | | | | | | | | | | 85432f4898 Help: Fix typo in clang-tidy example -checks option Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2303
| * | Help: Fix typo in clang-tidy example -checks optionDavid Demelier2018-08-241-1/+1
| |/
* | Help: Document the $CACHE{} syntaxRobert Maynard2018-08-072-3/+21
| | | | | | | | Also add a test case for the behavior.
* | Xcode: Add variables and properties to configure schemesGregor Jasny2018-08-0116-0/+210
| | | | | | | | | | | | | | | | | | Add `XCODE_SCHEME_*` target properties and associated variables `CMAKE_XCODE_SCHEME_*` to initialize them on target creation. Map each target property value to an associated Xcode scheme entry. Co-Author: Martin Sander <mail@martin-sander.de> Fixes: #17919
* | Merge topic 'doc-find_package-root'Craig Scott2018-07-201-0/+14
|\ \ | |/ | | | | | | | | | | 492ade276b Help: Add explicit <PackageName>_ROOT variable documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2225
| * Help: Add explicit <PackageName>_ROOT variable documentationBrad King2018-07-201-0/+14
| | | | | | | | | | | | Add documentation for both the CMake variable and environment variable of this name pattern. Update references to these names to link to their documents. Clarify the pattern used to construct their names.
* | GHS: Add toolset selection supportFred Baksik2018-07-112-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -- Use the specified toolset located within GHS_TOOLSET_ROOT -- Update how the latest toolset is determined; scan the location GHS_TOOLSET_ROOT and sort it No longer use registry settings looking for installations The registry values are assigned in installation order for Green Hills tools not version order -- Update to use gbuild.exe from the proper toolset -- Clarify that CMAKE_MAKE_PROGRAM should not be set by user. -- Detect some toolset changes when regenerating project files This could occur if GHS_TOOLSET_ROOT was changed by user after the initial project generation This could occur if CMAKE_MAKE_PROGRAM was changed at the command line -- Use placeholder values for CMAKE_<LANG>_COMPILER The MULTI build system only uses gbuild to build a project gbuild uses the project file to determine which set of compilers to use based on target platform and architecture because compiler detection is skipped, placeholder values are used so that CMake does not complain