summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* CMake Nightly Date StampKitware Robot2016-02-021-1/+1
|
* Merge topic 'doc-cmake-developer-typo'Brad King2016-02-011-1/+1
|\ | | | | | | | | 6f83db1c Help: Fix typo in `cmake-developer(7)` manual
| * Help: Fix typo in `cmake-developer(7)` manualPrayag Verma2016-02-011-1/+1
| | | | | | | | Fix spelling mistake `sytem` => `system`.
* | Merge topic 'FindGit-updates'Brad King2016-02-011-13/+13
|\ \ | | | | | | | | | | | | | | | fa78ee97 FindGit: Improve documentation formatting facfb52c FindGit: Document Git_FOUND, unset internal var
| * | FindGit: Improve documentation formattingBrad King2016-01-271-8/+7
| | |
| * | FindGit: Document Git_FOUND, unset internal varChristoph Grüninger2016-01-271-8/+9
| | | | | | | | | | | | | | | | | | * Git is called Git, not git. * FindGit sets Git_FOUND, too. * Unset internal variable git_names
* | | Merge topic 'clarify-add_custom_command-TARGET-scope'Brad King2016-02-0115-18/+59
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d257d681 add_custom_command: Clarify error when TARGET is out of scope (#15681) 4d53e0a7 Help: Clarify `add_custom_command(TARGET)` scope (#15681) 8c615af4 Help: Clarify policy `CMP0040` documentation (#15681) 63c5808f Help: Clarify scope of `if(TARGET)` expression a336e438 Help: Improve markup in `if` command documentation 88968265 Help: Improve markup in `get_target_property` documentation
| * | | add_custom_command: Clarify error when TARGET is out of scope (#15681)Brad King2016-01-2811-3/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The add_custom_command(TARGET) signature only works for targets defined in the current directory. Clarify this in the error message when the target exists but was defined elsewhere. Inspired-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
| * | | Help: Clarify `add_custom_command(TARGET)` scope (#15681)Bartosz Kosiorek2016-01-281-2/+5
| | | |
| * | | Help: Clarify policy `CMP0040` documentation (#15681)Bartosz Kosiorek2016-01-281-8/+11
| | | | | | | | | | | | | | | | | | | | State explicitly that the target must be defined in the current directory. While at it, improve markup formatting.
| * | | Help: Clarify scope of `if(TARGET)` expressionBartosz Kosiorek2016-01-281-3/+4
| | | |
| * | | Help: Improve markup in `if` command documentationBartosz Kosiorek2016-01-281-1/+1
| | | |
| * | | Help: Improve markup in `get_target_property` documentationBartosz Kosiorek2016-01-281-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2016-02-011-1/+1
| |_|/ |/| |
* | | CMake Nightly Date StampKitware Robot2016-01-311-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2016-01-301-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2016-01-291-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2016-01-281-1/+1
|/ /
* | Merge topic 'UseJava-fix-doc-typo'Brad King2016-01-271-1/+1
|\ \ | |/ |/| | | | | 1053db7b UseJava: Fix documented name of `CLASSDIR` property (#15936)
| * UseJava: Fix documented name of `CLASSDIR` property (#15936)Brad King2016-01-261-1/+1
| | | | | | | | It is not `CLASS_DIR`.
* | CMake Nightly Date StampKitware Robot2016-01-271-1/+1
| |
* | CMake Nightly Date StampKitware Robot2016-01-261-1/+1
|/
* Merge branch 'release'Brad King2016-01-250-0/+0
|\
| * CMake 3.4.3v3.4.3Brad King2016-01-251-1/+1
| |
* | Merge branch 'release'Brad King2016-01-250-0/+0
|\ \ | |/
| * Merge branch 'vs-win10-sdk' into releaseBrad King2016-01-213-6/+8
| |\
* | \ Merge topic 'vs-win10-sdk'Brad King2016-01-253-6/+8
|\ \ \ | | |/ | |/| | | | | | | d7e863c1 VS: Do not fail on Windows 10 with VS 2015 if no SDK is available (#15929)
| * | VS: Do not fail on Windows 10 with VS 2015 if no SDK is available (#15929)Brad King2016-01-213-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.4.0-rc1~5^2~1 (VS: Add support for selecting the Windows 10 SDK, 2015-09-30) the VS 2015 generator requires a Windows 10 SDK to be available when CMAKE_SYSTEM_VERSION specifies Windows 10 (e.g. when building on a Windows 10 host). Howewver, it is possible to install VS 2015 without any Windows 10 SDK. Instead of failing with an error message about the lack of a Windows 10 SDK, simply tolerate this case and use the default Windows 8.1 SDK. Since building for Windows Store still requires the SDK, retain the diagnostic in that case.
* | | Merge topic 'FindBoost-1.61'Brad King2016-01-251-2/+2
|\ \ \ | | | | | | | | | | | | | | | | b94e855d FindBoost: Add support for Boost 1.61
| * | | FindBoost: Add support for Boost 1.61Sergei Nikulov2016-01-221-2/+2
| | | |
* | | | CMake Nightly Date StampKitware Robot2016-01-251-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2016-01-241-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2016-01-231-1/+1
| | | |
* | | | Merge topic 'test-fltk_wrap_ui'Brad King2016-01-223-4/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | f98ae28e Tests: Cover fltk_wrap_ui on an executable that links libraries
| * | | | Tests: Cover fltk_wrap_ui on an executable that links librariesBrad King2016-01-213-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CMake 3.4 may crash on this case. The problem seems to have been fixed since then, but keep it working by adding a test case now. Reported-by: Gonzalo Garramuño <ggarra13@gmail.com>
* | | | | Merge topic 'FindPNG-imported-targets'Brad King2016-01-226-7/+97
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 9b08c623 FindPNG: Create an imported PNG::PNG target (#15911)
| * | | | | FindPNG: Create an imported PNG::PNG target (#15911)Sam Thursfield2016-01-216-7/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Imported targets are now the recommended way of dealing with external library dependencies. Add one for FindPNG and update documentation accordingly. Also add a test case activated by CMake_TEST_FindPNG.
* | | | | | Merge topic 'fix-use-generator-target'Brad King2016-01-221-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7dbfdddf cmExportInstallFileGenerator: Fix crash in FindNamespaces
| * | | | | | cmExportInstallFileGenerator: Fix crash in FindNamespacesAndrey Pokrovskiy2016-01-211-1/+1
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring merged by commit 9afbb733ec (Merge topic 'use-generator-target', 2015-10-20) in and around commit 381e7afd (cmExportSet: Store a cmGeneratorTarget, 2015-10-17) forgot to update one place in this method. This leads to a crash in code such as add_library(A a.c) add_library(B b.c) target_link_libraries(B A) install(TARGETS B DESTINATION lib EXPORT ExpB) install(EXPORT ExpB DESTINATION lib/cmake/test) add_executable(C c.c) install(TARGETS C DESTINATION bin EXPORT ExpC) Fix the target name reference to avoid using an unpopulated Target pointer.
* | | | | | Merge topic 'fix-pkg_search_module-cache'Brad King2016-01-223-0/+20
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 40249bcc FindPkgConfig: set standard variables in the cache
| * | | | | | FindPkgConfig: set standard variables in the cacheBen Boeckel2016-01-213-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes a regression introduced when the code was simplified to use the variable queries. Fixes #15903. Reported-by: Bernd Lörwald
* | | | | | | CMake Nightly Date StampKitware Robot2016-01-221-1/+1
| |_|_|/ / / |/| | | | |
* | | | | | Merge topic 'reduce-allocations'Brad King2016-01-216-29/+26
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 70788e92 Remove temporary allocations when calling cmHasLiteral{Suf,Pre}fix. bd2384f5 Optimize cmMakefile::ExpandVariablesInStringNew. ad9394f4 Remove temporary allocations in cmMacroHelper::InvokeInitialPass. f9599ed4 Remove temporary allocations by extending the lifetime of the retval. 275f2a85 Remove temporary allocations when calling cmGeneratorTarget::GetName.
| * | | | | | Remove temporary allocations when calling cmHasLiteral{Suf,Pre}fix.Milian Wolff2016-01-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the first argument passed is a std::string, we need to take it by const&, otherwise we copy the string and trigger a temporary allocation. This patch removes a few 10k temporary allocations when running the CMake daemon on the KDevelop build dir. This hotspot was found with heaptrack.
| * | | | | | Optimize cmMakefile::ExpandVariablesInStringNew.Milian Wolff2016-01-201-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We can remove the temporary allocations required for the default-constructed t_lookup passed into the openstack by refactoring the code slightly. Furthermore, we use a vector instead of a stack, since the latter is based on a deque which is not required for a heap / lifo structure. This patch removes ~215k allocations. This hotspot was found with heaptrack.
| * | | | | | Remove temporary allocations in cmMacroHelper::InvokeInitialPass.Milian Wolff2016-01-201-9/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This code used to convert std::string's to raw C strings only to put that back into a std::string. This patch thus removes ~70k temporary allocations when running the CMake daemon on KDevelop. This hotspot was found with heaptrack.
| * | | | | | Remove temporary allocations by extending the lifetime of the retval.Milian Wolff2016-01-201-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See also Herb Sutter's article on the "most important const": http://herbsutter.com/2008/01/01/gotw-88-a-candidate-for-the-most-important-const/ When running the CMake daemon on the KDevelop build dir, this removes some hundreds of thousands of temporary allocations. This hotspot was found with heaptrack.
| * | | | | | Remove temporary allocations when calling cmGeneratorTarget::GetName.Milian Wolff2016-01-202-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This happens quite often from within comparisons such as in NamedGeneratorTargetFinder or FindGeneratorTargetImpl. It is the top hotspot of both, number of allocations as well as number of temporary allocations - the majority of calls lead to temporary allocations. In raw numbers, this patch removes ~1E6 temporary allocations of 1.5E6 temporary allocations in total when running the cmake daemon on the KDevelop build dir. That is 2/3 of the total. This hotspot was found with heaptrack.
* | | | | | | Merge topic 'add-FindXalanC'Brad King2016-01-218-0/+210
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f9e45ab9 FindXalanC: New module to find the Apache Xalan-C++ library
| * | | | | | | FindXalanC: New module to find the Apache Xalan-C++ libraryRoger Leigh2016-01-208-0/+210
| | | | | | | |