summaryrefslogtreecommitdiffstats
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'nsis-protect-uninst-exec'Brad King2016-07-221-0/+6
|\ | | | | | | | | 11768733 NSIS: Quote uninstaller path when executing it in a shell
| * NSIS: Quote uninstaller path when executing it in a shellJustin Clift2016-07-211-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | Protect our `$0` reference in the shell as `"$0"`. Otherwise it works with a space in the path only due to an insecure Windows feature. Prior to this fix, any installer using the option added by commit v2.8.9~234^2 (Added CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL, 2011-06-11) exposes a local privilege escalation vulnerability. Reported-by: Amir Szekely <kichik@gmail.com> Reported-by: Ug_0 Security
* | Help: Add notes for topic 'FindBISON-report-file'Brad King2016-07-181-0/+5
| |
* | VS: Add support for NATVIS filesRobert Dailey2016-07-151-0/+5
| | | | | | | | | | | | | | | | Add an explicit `<Natvis>` element in VS project files for `*.natvis` files. These enable custom debug visualizers for project-specific types. Fixes #16043.
* | Merge topic 'toolchain-flag-init'Brad King2016-07-1510-0/+101
|\ \ | | | | | | | | | | | | | | | | | | | | | 8a98cf64 Honor CMAKE_*_LINKER_FLAGS[_<CONFIG>]_INIT set in toolchain files 37d15c39 MSVC: Set all CMAKE_*_LINKER_FLAGS_INIT directly 55c884ed Embarcadero: Set all CMAKE_*_LINKER_FLAGS_INIT directly aec3c79a Strip CMAKE_*_LINKER_FLAGS[_<CONFIG>] initializer whitespace
| * | Honor CMAKE_*_LINKER_FLAGS[_<CONFIG>]_INIT set in toolchain filesBrad King2016-07-1410-0/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Document these variables. Change our convention for setting these variables from: set(CMAKE_EXE_LINKER_FLAGS_INIT "...") to string(APPEND CMAKE_EXE_LINKER_FLAGS_INIT " ...") so that any value previously set by a toolchain file will be used.
* | | FindOpenMP: Detect version (specification date) from compilerSujin Philip2016-07-131-0/+5
|/ / | | | | | | | | | | Port changes from VTK commit fda6a31cb9 (Added Improved FindOpenMP module, 2015-04-23). Improve use of try_compile to avoid needing to pass OpenMP flags as libraries.
* | Merge topic 'findicu'Brad King2016-07-133-0/+7
|\ \ | | | | | | | | | | | | | | | e3bff7b3 Help: Add notes for topic 'findicu' 4a63be15 FindICU: New module
| * | Help: Add notes for topic 'findicu'Brad King2016-07-131-0/+5
| | |
| * | FindICU: New moduleRoger Leigh2016-07-132-0/+2
| | |
* | | Merge topic 'windows-export-all-from-exe'Brad King2016-07-132-2/+8
|\ \ \ | | | | | | | | | | | | | | | | | | | | 9da725cb Windows: Honor WINDOWS_EXPORT_ALL_SYMBOLS for executables with exports 2005b960 Makefile: Factor out WINDOWS_EXPORT_ALL_SYMBOLS helper
| * | | Windows: Honor WINDOWS_EXPORT_ALL_SYMBOLS for executables with exportsYury Zhuravlev2016-07-112-2/+8
| | | | | | | | | | | | | | | | | | | | For executables with ENABLE_EXPORTS set, export all symbols when instructed to do so by WINDOWS_EXPORT_ALL_SYMBOLS.
* | | | Fix typos.Felix Geyer2016-07-101-1/+1
| |/ / |/| |
* | | Merge topic 'toolchain-flag-init'Brad King2016-07-078-2/+71
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | a66004be Honor CMAKE_<LANG>_FLAGS[_<CONFIG>]_INIT set in toolchain files cdde77e5 OpenWatcom: Partially modernize platform information modules f9dbe22c Intel: Do not use GNU-like flags on Windows 5a3ed0d7 Intel: Do not use MSVC-like flags for Fortran
| * | Honor CMAKE_<LANG>_FLAGS[_<CONFIG>]_INIT set in toolchain filesBrad King2016-07-068-2/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Document these variables. Change our convention for setting these variables from: set(CMAKE_C_FLAGS_INIT "...") to string(APPEND CMAKE_C_FLAGS_INIT " ...") so that any value previously set by a toolchain file will be used. Automate the conversion with: sed -i 's/set *(\(CMAKE_\(C\|CXX\|Fortran\|RC\|ASM\|${[^}]\+}\)_FLAGS\(_[^_]\+\)\?_INIT \+"\)/string(APPEND \1 /' \ Modules/Compiler/*.cmake Modules/Platform/*.cmake and follow up with some manual fixes (e.g. to cases that already meant to append). Also revert the automated changes to contexts that are not protected from running multiple times.
* | | Merge topic 'reorganize-cmCTest'Brad King2016-07-061-53/+51
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 61fcd08a Help: Fix documentation of ctest --build-and-test 7c67d401 Help: Consistently use quotes and fix punctuation in ctest(1) manual 0076fb10 cmCTest: Update doxygen to be consistent 30c5f94c cmCTest: Rename "ProcessTests()" to "ProcessSteps()" and improve doxygen 7c87ab75 cmCTest: Facilitate code reading adding consistent comments in Run() 6d8b9aa6 cmCTest: Improve readability adding "HandleTest(Action|Model)Argument()" 280d0a69 cmCTest: Improve readability adding "RunCMakeAndTest()" and "ExecuteTests()" 898cb987 cmCTest: Fix typo
| * | Help: Fix documentation of ctest --build-and-testJean-Christophe Fillion-Robin2016-07-051-3/+2
| | | | | | | | | | | | | | | | | | Since commit v3.0.0-rc1~260^2~14 (ctest: Make the --build-makeprogram optional for --build-and-test, 2013-11-14), binary dictionary is also required to run CTest given the option `--build-nocmake`.
| * | Help: Consistently use quotes and fix punctuation in ctest(1) manualJean-Christophe Fillion-Robin2016-07-051-51/+50
| | |
* | | Merge topic 'doc-updates'Brad King2016-07-011-0/+16
|\ \ \ | | |/ | |/| | | | | | | | | | c05d240e Help: Document CMAKE_TRY_COMPILE_PLATFORM_VARIABLES example dab3ccf2 InstallRequiredSystemLibraries: Document UCRT option use case
| * | Help: Document CMAKE_TRY_COMPILE_PLATFORM_VARIABLES exampleBrad King2016-06-301-0/+16
| | | | | | | | | | | | Suggested-by: Hendrik Sattler <post@hendrik-sattler.de>
| * | Merge branch 'revert-try_compile-config-flags' into releaseBrad King2016-06-281-5/+0
| |\ \
| * \ \ Merge branch 'doc-cross-reference-lang-standard-and-extensions' into releaseBrad King2016-06-284-2/+8
| |\ \ \
* | \ \ \ Merge topic 'try_compile-config-flags'Brad King2016-06-304-0/+44
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | d582c23a try_compile: Add policy CMP0066 to honor CMAKE_<LANG>_FLAGS_<CONFIG>
| * | | | | try_compile: Add policy CMP0066 to honor CMAKE_<LANG>_FLAGS_<CONFIG>Brad King2016-06-294-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the `try_compile` source file signature we propagate the caller's value of `CMAKE_<LANG>_FLAGS` into the test project. Extend this to propagate `CMAKE_<LANG>_FLAGS_<CONFIG>` too instead of always using the default value in the test project. This will be useful, for example, to allow the MSVC runtime library to be changed (e.g. `-MDd` => `-MTd`). However, some projects may currently depend on this not being done, so we need to activate the behavior using a policy. This change was originally made by commit v3.6.0-rc1~160^2 (try_compile: Honor CMAKE_<LANG>_FLAGS_<CONFIG> changes, 2016-04-11) but without the policy and so had to be reverted during the 3.6 release candidate cycle. Fixes #16174.
* | | | | | Avoid using KWSys auto_ptr by adopting it ourselvesBrad King2016-06-291-3/+4
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace use of cmsys::auto_ptr with a CM_AUTO_PTR macro that maps to our own implementation adopted from the KWSys auto_ptr implementation. Later we may be able to map CM_AUTO_PTR to std::auto_ptr on compilers that do not warn about it. Automate the client site conversions: git grep -l auto_ptr -- Source/ | grep -v Source/kwsys/ | xargs sed -i \ 's|cmsys::auto_ptr|CM_AUTO_PTR|;s|cmsys/auto_ptr.hxx|cm_auto_ptr.hxx|'
* | | | | Merge topic 'GenerateExportHeader-custom-content'Brad King2016-06-291-0/+6
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 843402b0 GenerateExportHeader: Add option to specify custom content
| * | | | | GenerateExportHeader: Add option to specify custom contentBrad King2016-06-281-0/+6
| | |_|_|/ | |/| | |
* | | | | Merge topic 'revert-try_compile-config-flags'Brad King2016-06-291-5/+0
|\ \ \ \ \ | |/ / / / |/| | | / | | |_|/ | |/| | 943fe6e3 Revert "try_compile: Honor CMAKE_<LANG>_FLAGS_<CONFIG> changes"
| * | | Revert "try_compile: Honor CMAKE_<LANG>_FLAGS_<CONFIG> changes"Brad King2016-06-281-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert commit v3.6.0-rc1~160^2 (try_compile: Honor CMAKE_<LANG>_FLAGS_<CONFIG> changes, 2016-04-11). The behavior it introduced can break projects that depend on the lack of such behavior. We will have to introduce a policy or other mechanism to enable the behavior in a compatible way. Simply revert it for now. See issue #16174.
* | | | Merge topic 'doc-cross-reference-lang-standard-and-extensions'Brad King2016-06-284-2/+8
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | c6a077d6 Help: Cross reference CXX_STANDARD and CXX_EXTENSIONS (#16162)
| * | | Help: Cross reference CXX_STANDARD and CXX_EXTENSIONS (#16162)Gregor Jasny2016-06-284-2/+8
| |/ /
* | | Merge topic 'doc-osx-versions'Brad King2016-06-273-13/+43
|\ \ \ | | |/ | |/| | | | | | | 00caa1dd Help: Describe VERSION and SOVERSION meanings for Mach-O binaries
| * | Help: Describe VERSION and SOVERSION meanings for Mach-O binariesBartosz Kosiorek2016-06-233-13/+43
| |/
* | Merge topic 'vs-tool-override'Brad King2016-06-233-0/+11
|\ \ | | | | | | | | | | | | ed05f11d VS: Add a VS_TOOL_OVERRIDE source file property
| * | VS: Add a VS_TOOL_OVERRIDE source file propertyGilles Khouzam2016-06-203-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | This property allow to specify a specific Visual Studio tool for a source file overriding the default tool behavior. For example, a `.resw` file being processed as a `PriResource` file. This has the advantage of being able to teach CMake to process new file types without code modifications.
* | | Merge topic 'vs-sdk-refs'Brad King2016-06-233-0/+13
|\ \ \ | | | | | | | | | | | | | | | | 35a6cac2 VS: Add VS_SDK_REFERENCES target property to reference external SDKs
| * | | VS: Add VS_SDK_REFERENCES target property to reference external SDKsGilles Khouzam2016-06-223-0/+13
| |/ / | | | | | | | | | | | | Allow one to specify external SDK references such as `Microsoft.AdMediatorWindows81, Version=1.0`.
* | | Merge topic 'doc-VS_STARTUP_PROJECT-clarify'Brad King2016-06-221-1/+7
|\ \ \ | | |/ | |/| | | | | | | d3e538ea Help: Clarify VS_STARTUP_PROJECT documentation
| * | Help: Clarify VS_STARTUP_PROJECT documentationBrad King2016-06-211-1/+7
| | | | | | | | | | | | | | | | | | | | | Explain in what directory the property should be set to affect the corresponding ``.sln`` file. Suggested-by: Stephen Kelly <steveire@gmail.com>
| * | Merge branch 'doc-ctest_update' into releaseBrad King2016-06-082-0/+9
| |\ \
* | \ \ Merge topic 'aix-clang'Brad King2016-06-211-0/+4
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | 5cc34162 AIX: Add support for Clang compiler
| * | | AIX: Add support for Clang compilerWu Zhao2016-06-201-0/+4
| | | | | | | | | | | | | | | | | | | | The platform information module for GNU on AIX can be reused for Clang on AIX because clang accepts almost all of the same options.
* | | | cmake: Add an option to control what files needs to be tracedAlex Turbov2016-06-172-0/+9
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | Even in relatively small projects using `--trace` (and `--trace-expand`) may produce a lot of output. When developing a custom module usually one is interested in output of only a few particular modules. Add a `--trace-source=<file>` option to enable tracing only a subset of source files. The final output would be only from requested modules, ignoring anything else not matched to given filename(s).
* | | Merge topic 'xcode-mig-support'Brad King2016-06-173-0/+18
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8be00e44 Help: Add release note about XCODE_FILE_ATTRIBUTES source file property 27eb657d Xcode: Add support for mig files 811f6c82 Xcode: Add XCODE_FILE_ATTRIBUTES source file property ef494edf Xcode: Don't emit empty settings blocks. 82ebbf68 Xcode: Add function to conditionally add Xcode Attributes 025edea0 Xcode: Add const qualifiers
| * | | Help: Add release note about XCODE_FILE_ATTRIBUTES source file propertyBrad King2016-06-171-0/+6
| | | |
| * | | Xcode: Add XCODE_FILE_ATTRIBUTES source file propertyJames Touton2016-06-172-0/+12
| | | | | | | | | | | | | | | | This adds values to the ATTRIBUTES list in PBXBuildFile settings.
* | | | Merge topic 'link_what_you_use'Brad King2016-06-175-0/+30
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | a0902efa Help: Add notes for topic 'link_what_you_use' 96242f80 Add options to run `ldd -u -r` as a "link-what-you-use" tool
| * | | | Help: Add notes for topic 'link_what_you_use'Brad King2016-06-171-0/+7
| | | | |
| * | | | Add options to run `ldd -u -r` as a "link-what-you-use" toolBill Hoffman2016-06-174-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create a LINK_WHAT_YOU_USE target property and corresponding CMAKE_LINK_WHAT_YOU_USE variable to enable this behavior. Extend link commands by running `ldd -u -r` to detect shared libraries that are linked but not needed.
* | | | | Merge topic 'parent-scope-docs'Brad King2016-06-131-1/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 42fe7d21 Help: clarify PARENT_SCOPE behavior