summaryrefslogtreecommitdiffstats
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'enable_ptx_compilation'Brad King2017-04-213-0/+19
|\ | | | | | | | | | | | | 23691d78 CUDA: Allow sources to be compiled to .ptx files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !725
| * CUDA: Allow sources to be compiled to .ptx filesRobert Maynard2017-04-203-0/+19
| | | | | | | | | | When the target property `CUDA_PTX_COMPILATION` is enabled CUDA OBJECT libraries will generate ptx files instead of object files.
* | Merge topic 'remove-vs7.1-generator'Brad King2017-04-2010-15/+15
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | c94f1bcf Drop Visual Studio 7 .NET 2003 generator a4452fd8 cmGlobalVisualStudioGenerator: Drop VS7 enumeration value 6e66fe5f cmGlobalVisualStudio8Generator: Drop unused GetDocumentation method Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !723
| * | Drop Visual Studio 7 .NET 2003 generatorBrad King2017-04-1910-15/+15
| |/ | | | | | | This generator has been deprecated since CMake 3.6. Remove it.
* | Help/dev: Adopt C++ subset rules in coding guideBrad King2017-04-192-24/+21
| | | | | | | | | | | | Move the C++ subset rules from the `cmake-developer(7)` into our dedicated coding guide since they do not need to be in user-facing documentation.
* | Help/dev: Adopt clang-format instructions in coding guideBrad King2017-04-191-0/+14
| | | | | | | | | | Simplify the `CONTRIBUTING.rst` document by moving the code style section over to our dedicated coding guide and linking to it instead.
* | Help/dev: Add a CMake Source Code Guide placeholderBrad King2017-04-192-0/+16
|/ | | | | Create a dedicated document to cover the CMake source code for developers.
* Merge topic 'objlib-extend'Brad King2017-04-1911-22/+71
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | eec93bce Allow OBJECT libraries to be installed, exported, and imported 93c89bc7 Genex: Allow TARGET_OBJECTS to be used everywhere ac0cf7ff Genex: Reject TARGET_OBJECTS on non-object libraries earlier 8577978c Tests: ExportImport C code should use explicit (void) in prototypes 26cfd039 cmInstallTargetGenerator: Re-order GenerateScriptForConfig logic 25f3f22a cmGlobalGenerator: Add method to check if object file location is known d596c550 cmGeneratorTarget: Add method to get the object file directory 930042f2 cmGeneratorTarget: Factor out a GetTargetObjectNames method ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !712
| * Allow OBJECT libraries to be installed, exported, and importedRobert Maynard2017-04-188-19/+52
| | | | | | | | | | | | | | | | Teach install() and export() to handle the actual object files. Disallow this on Xcode with multiple architectures because it still cannot be cleanly supported there. Co-Author: Brad King <brad.king@kitware.com>
| * Genex: Allow TARGET_OBJECTS to be used everywhereRobert Maynard2017-04-184-3/+19
| | | | | | | | | | | | | | | | | | Previously the `TARGET_OBJECTS` generator expression was limited only to use in a buildsystem context so that Xcode's placeholders in object file paths can be evaluated. Lift this restriction so that the expression can at least be used in most settings. Co-Author: Brad King <brad.king@kitware.com>
* | Merge topic 'doc-CMAKE_MATCH_n'Brad King2017-04-195-24/+49
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | eb08e1fe Help: Document CMAKE_MATCH_<n> variables 8dd99752 Help: Link from if(MATCHES) to regex specification docs a0091a69 Help: Format string() command regex specification docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !719
| * | Help: Document CMAKE_MATCH_<n> variablesBrad King2017-04-185-4/+17
| | |
| * | Help: Link from if(MATCHES) to regex specification docsBrad King2017-04-182-1/+3
| | |
| * | Help: Format string() command regex specification docsBrad King2017-04-181-20/+30
| | |
* | | Merge topic 'findmpi-add-imported-targets'Brad King2017-04-191-0/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3ed9f635 FindMPI: Add test case 86979bb5 FindMPI: Add IMPORTED targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !707
| * | | FindMPI: Add test caseChristian Pfeiffer2017-04-181-0/+4
| | | |
* | | | Help: Document find command search path separatorsBrad King2017-04-182-2/+8
| |/ / |/| | | | | | | | | | | | | | | | | | | | The `find_*` commands read search paths from both CMake variables and from environment variables. Document how multiple values in these variables should be separated. Fixes: #16800
* | | Merge topic 'ipo-var-per-config'Brad King2017-04-183-0/+13
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 470437f6 Support CMAKE_INTERPROCEDURAL_OPTIMIZATION_<CONFIG> Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !709
| * | | Support CMAKE_INTERPROCEDURAL_OPTIMIZATION_<CONFIG>Ruslan Baratov2017-04-173-0/+13
| |/ /
* | | Merge topic 'cpackifw-search-algorithm'Brad King2017-04-181-0/+7
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | 049be8b9 CPackIFW: Added new QtIFW versions for search d97978b8 CPackIFW: Improved QtIFW search algorithm Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !674
| * | CPackIFW: Added new QtIFW versions for searchKonstantin Podsvirov2017-04-151-0/+2
| | |
| * | CPackIFW: Improved QtIFW search algorithmKonstantin Podsvirov2017-04-151-0/+5
| |/ | | | | | | | | | | Improvements: - Added new hint CPACK_IFW_ROOT variable; - Extend documentation.
* | Merge topic 'vs-custom-kits-dir'Brad King2017-04-171-0/+5
|\ \ | |/ |/| | | | | | | | | | | fee01194 VS: Add an environment variable for the Windows 10 kits directory b80c6d12 VS: Refactor Win 10 Kits root detection to support multiple roots Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !696
| * VS: Add an environment variable for the Windows 10 kits directoryBrad King2017-04-121-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Define a `CMAKE_WINDOWS_KITS_10_DIR` environment variable to allow users to tell CMake about a custom Windows 10 SDK directory. We choose to make this an environment variable rather than a CMake variable or cache entry because: * Using a custom directory also requires custom external MSBuild configuration. Therefore users are already configuring a custom environment. * The custom directory must be set consistently in all parts of a build including nested projects. An environment variable avoids requiring users to thread the setting into nested builds. Fixes: #16743
* | Merge topic 'project-description'Brad King2017-04-135-0/+25
|\ \ | |/ |/| | | | | | | | | 3b484871 project: Add `DESCRIPTION` parameter Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !679
| * project: Add `DESCRIPTION` parameterAlex Turbov2017-04-115-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is quite often the project description has used in a real world software. Examples include: * part of a help screen of the application * builtin resources (`*.rc` files, data for "About" dialog of a GUI app, & etc) * most generators for CPack can use it * it could be used by documentary software (Doxygen, Sphinx) which is usually integrated to CMake based projects via `add_custom_target()` Now `project()` call learned an optional `DESCRIPTION` parameter with a short string describing a project. Being specified, it would set the `PROJECT_DESCRIPTION` variable which could be used in `configure_file()` or whatever user wants. Also `PROJECT_DESCRIPTION` is a default value for `CPACK_PACKAGE_DESCRIPTION_SUMMARY`.
* | Merge topic 'doc-cmake-E-copy-no-wildcards'Brad King2017-04-121-1/+1
|\ \ | | | | | | | | | | | | | | | | | | 6e68d014 Help: Add note about cmake -E copy not supporting wildcards Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !687
| * | Help: Add note about cmake -E copy not supporting wildcardsTim2017-04-111-1/+1
| | | | | | | | | | | | Issue: #16791
* | | macOS: Enable Hi-DPI support in applications by defaultĽubomír Carik2017-04-111-0/+5
|/ / | | | | | | | | | | | | | | | | Every desktop application should be HiDPI ready in present. Based on information from Qt documentation enabling properties in `Info.plist` is sufficient to activate this feature. Newer versions of `qmake` do it. Signed-off-by: Ľubomír Carik <Lubomir.Carik@gmail.com>
* | Merge topic 'emulatorTargetPropertyDocs'Brad King2017-04-101-0/+4
|\ \ | | | | | | | | | | | | | | | | | | 186dd877 Help: Cross compile variable used as initial value for target property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !683
| * | Help: Cross compile variable used as initial value for target propertyCraig Scott2017-04-101-0/+4
| | | | | | | | | | | | | | | | | | | | | Variable CMAKE_CROSSCOMPILING_EMULATOR is used to initialize CROSSCOMPILING_EMULATOR. Issue: #16785
* | | Merge topic 'clarifyFileGenerateDocs'Brad King2017-04-101-0/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | d039f741 Help: Clarify file(GENERATE) only writes output file at generation phase Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !681
| * | | Help: Clarify file(GENERATE) only writes output file at generation phaseCraig Scott2017-04-101-0/+5
| |/ / | | | | | | | | | Closes: #16556
* | | Merge topic 'clarifyRemoveDocs'Brad King2017-04-101-2/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 812274ff Help: Clarify what the -f option does for the remove command Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !680
| * | | Help: Clarify what the -f option does for the remove commandCraig Scott2017-04-101-2/+4
| |/ / | | | | | | | | | Closes: #16784
| * | Merge branch 'doc-prefer-MSVC_VERSION' into releaseBrad King2017-03-2210-2/+22
| |\ \
| * \ \ Merge branch 'doc-toolset-host-arch-typo' into releaseBrad King2017-03-131-1/+1
| |\ \ \
* | | | | Help/dev: Document preferred page for MR commentsBrad King2017-04-061-0/+4
| | | | |
* | | | | Merge topic 'include_external_msproject-map-config'Brad King2017-04-062-0/+10
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 227de0b9 include_external_msproject: Honor MAP_IMPORTED_CONFIG_<CONFIG> 4cd815f0 VS: Pass whole target to WriteProjectConfigurations Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !669
| * | | | | include_external_msproject: Honor MAP_IMPORTED_CONFIG_<CONFIG>Beeble2017-04-052-0/+10
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | This allows projects added via `include_external_msproject` to compile the preferred configuration despite different naming conventions.
* | | | | Merge topic 'fix-genex-example'Brad King2017-04-051-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3ecbe76e Help: Fix error in $<COMPILE_LANGUAGE:lang> example Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !667
| * | | | | Help: Fix error in $<COMPILE_LANGUAGE:lang> exampleNils Gladitz2017-04-041-1/+1
| |/ / / /
* | | | | Merge topic 'prop-is-multi-config'Brad King2017-04-053-0/+16
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 01826231 Tests: Add case for GENERATOR_IS_MULTI_CONFIG 38fd5866 Add GENERATOR_IS_MULTI_CONFIG global property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !657
| * | | | | Add GENERATOR_IS_MULTI_CONFIG global propertyBastien Schatt2017-04-043-0/+16
| |/ / / / | | | | | | | | | | | | | | | Fixes: #16768
* | | | | Merge topic 'revert-cpack_nsis_sign_uninstaller'Brad King2017-04-051-5/+0
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1b1ad2a2 Revert "CPack/NSIS: Sign the uninstaller" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !597
| * | | | | Revert "CPack/NSIS: Sign the uninstaller"Brad King2017-04-041-5/+0
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 09475c29 (CPack/NSIS: Sign the uninstaller, 2017-03-01) and follow-up commit e1ee7b43 (CPack/NSIS: Avoid a race condition when generating the installer, 2017-03-22). The signing implementation does not work on Linux for a couple reasons: * The script tries to run the temporary uninstaller executable, but of course this cannot be done except on a Windows host. * The `${NSISDIR}\makensis` file does not exist because `makensis` is installed elsewhere. The result is that existing package configurations can break on Linux. For example, the CPackComponents test fails. Revert the feature until an alternative implementation approach can be found.
* | | | | Rename CMAKE_GCC_{AR,RANLIB} to CMAKE_LANG_COMPILER_{AR,RANLIB}Ruslan Baratov2017-04-035-16/+16
|/ / / / | | | | | | | | | | | | | | | | | | | | The variables recently added by commit b9d36826 (Add 'CMAKE_GCC_AR' and 'CMAKE_GCC_RANLIB' variables, 2017-03-08) are more appropriately managed with language-specific names rather than toolchain-specific names.
* | | | Merge topic '16733-bundle-genex'Brad King2017-03-312-0/+21
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d1dac1ac Xcode: Execute RunCMake.Framework also for Xcode generator d02709d7 Genex: Add `TARGET_BUNDLE_[CONTENT_]_DIR` generator expressions 013ffe76 cmGeneratorTarget: Call GetFrameworkDirectory in GetFullNameInternal 32e9d0ca cmGeneratorTarget: Use enum to describe bundle directory query level Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Craig Scott <craig.scott@crascit.com> Merge-request: !635
| * | | | Genex: Add `TARGET_BUNDLE_[CONTENT_]_DIR` generator expressionsGregor Jasny2017-03-302-0/+21
| | | | | | | | | | | | | | | | | | | | Closes #16733
* | | | | Merge topic 'ipo-policy-CMP0069'Brad King2017-03-314-0/+108
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dfa8263f Implement interprocedural optimization for GNU compilers 1588a577 Add policy CMP0069 to enforce INTERPROCEDURAL_OPTIMIZATION a7575700 Refactoring: s,GetFeatureAsBool,IsIPOEnabled, e05835c3 CheckIPOSupported: Visual Studio and Xcode generators do not support IPO Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Brad King <brad.king@kitware.com> Reviewed-by: Nils Gladitz <nilsgladitz@gmail.com> Merge-request: !568