summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'ctest-chrono'Brad King2018-01-2638-212/+272
|\ | | | | | | | | | | | | | | | | e6a80ccf Make use of std::chrono throughout every component ff62b005 CTest: add safe conversion from cmDuration to integer types 695951bc CTest: introduce cmDuration Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1592
| * Make use of std::chrono throughout every componentWouter Klouwen2018-01-2318-62/+86
| | | | | | | | | | | | | | | | This commit continues the changes made in CTest to support std::chrono by applying it throughout every component where a duration was used. No functional change intended.
| * CTest: add safe conversion from cmDuration to integer typesWouter Klouwen2018-01-237-40/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | A problem area by recent refactoring of time to std::chrono has been the unsafe conversion from duration<double> to std::chrono::seconds, which is of an unspecified integer type. This commit adds a template function that for a given type provides a safe conversion, effectively clamping a duration<double> into what fits safely in that type. A specialisation for int and unsigned int are provided. It changes the protential problem areas to use this safe function.
| * CTest: introduce cmDurationWouter Klouwen2018-01-2319-109/+111
| | | | | | | | | | | | | | | | This commit introduces cmDuration as a typedef for std::chrono::duration<double, std::ratio<1>>. It is less verbose and provides for a point to put future common functionality for durations. No functional change intended.
* | CMake Nightly Date StampKitware Robot2018-01-261-1/+1
| |
* | Merge topic 'xl-qoptfile'Brad King2018-01-252-4/+17
|\ \ | | | | | | | | | | | | | | | | | | | | | c4dc6485 XL: Enable use of response files for includes and objects e342e410 Makefile,Ninja: Use tool-specific response file flag for include dirs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1691
| * | Makefile,Ninja: Use tool-specific response file flag for include dirsBrad King2018-01-242-4/+17
| | | | | | | | | | | | | | | | | | | | | When we use a response file for `-I` flags, not all compilers support the `@<file>` syntax. Define `CMAKE_<LANG>_RESPONSE_FILE_FLAG` to specify tool-specific flag, just as we do for linking already via `CMAKE_<LANG>_RESPONSE_FILE_LINK_FLAG`.
* | | Merge topic 'server-polish-opt-handshake'Brad King2018-01-251-14/+15
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 239a3ef8 Server-mode: Document protocol version for optional handshake arguments 9b1a3d24 Server-mode: Rename functions to reflect what they do Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1693
| * | | Server-mode: Rename functions to reflect what they doTobias Hunger2018-01-241-14/+15
| |/ / | | | | | | | | | | | | Rename the test* static functions to getOrTest* to better reflect what they do now.
* | | Merge topic 'RemoveKDevelop3'Brad King2018-01-259-704/+10
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 551bd0b3 Generators: adjust error message for the removed KDevelop3 generator 9198e6a2 Generators: remove KDevelop3 generator Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1688
| * | | Generators: adjust error message for the removed KDevelop3 generatorAlex Neundorf2018-01-241-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the user request a KDevelop3 project, tell the user that KDevelop3 is not supported anymore, so he sees it's not just a typo. Alex
| * | | Generators: remove KDevelop3 generatorAlex Neundorf2018-01-249-703/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The last KDevelop3 release was many years ago, in 2008 I think. I haven't seen or read about anybody using KDevelop 3 since a long time, so I think it can safely be removed from CMake. KDevelop 4 (first released in 2010) has its own proper CMake support now, independent from this generator. Alex
* | | | Merge topic 'update-kwsys'Brad King2018-01-2519-207/+241
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f8e89468 Merge branch 'upstream-KWSys' into update-kwsys 7a756570 KWSys 2018-01-23 (0579db1c) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1695
| * | | | Merge branch 'upstream-KWSys' into update-kwsysBrad King2018-01-2419-207/+241
| | |/ / | |/| | | | | | | | | | | | | | * upstream-KWSys: KWSys 2018-01-23 (0579db1c)
* | | | Merge topic 'sourceFile-new-properties'Brad King2018-01-2521-184/+536
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 04483111 sourceFile properties: add property INCLUDE_DIRECTORIES 3073bd1f VisualStudio generators: refactoring 78b1c2e0 sourceFile properties: add property COMPILE_OPTIONS 3f935e69 LocalGenerator: refactoring Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1596
| * | | | sourceFile properties: add property INCLUDE_DIRECTORIESMarc Chevrier2018-01-2411-16/+206
| | | | |
| * | | | VisualStudio generators: refactoringMarc Chevrier2018-01-237-134/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Uniformize include directories handling. Fix memory leaks in class cmVisualStudio10TargetGenerator: OptionsMap uses now std::unique_ptr.
| * | | | sourceFile properties: add property COMPILE_OPTIONSMarc Chevrier2018-01-237-7/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the support of per-source property COMPILE_OPTIONS, including generator expressions support. Related: #17507
| * | | | LocalGenerator: refactoringMarc Chevrier2018-01-238-29/+76
| | | | | | | | | | | | | | | | | | | | | | | | | Introduce method AppendCompileOptions to support future source file property COMPILE_OPTIONS.
* | | | | Merge topic 'fix-include_regular_expression-subdir'Brad King2018-01-251-0/+6
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2d64f9f0 include_regular_expression: Fix propagation to subdirectories Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1690
| * | | | | include_regular_expression: Fix propagation to subdirectoriesBrad King2018-01-241-0/+6
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring in commit v3.4.0-rc1~321^2 (cmMakefile: Remove special handling of INCLUDE_REGULAR_EXPRESSION, 2015-04-04) accidentally broke propagation of the include regex to subdirectories. Refactoring in commit v3.5.0-rc1~319^2~1 (cmState: Initialize properties immediately, 2015-10-07) moved maintenance of this value from `cmMakefile` to `cmStateSnapshot`. Restore propagation of the `INCLUDE_REGULAR_EXPRESSION` to subdirectories and add a test to cover it. Fixes: #17676
* | | | | Merge topic 'windows-resources-through-link'Brad King2018-01-251-2/+6
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c3b80e86 Windows: Add support for running CMake tools through a symlink Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1680
| * | | | | Windows: Add support for running CMake tools through a symlinkPavel P2018-01-241-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When `cmake.exe` is executed through a symlink, `GetModuleFileNameW` will return location of the link instead of the real path of `cmake.exe`. This results in the following error output: CMake Error: Could not find CMAKE_ROOT !!! CMake has most likely not been installed correctly. Use `cmSystemTools::GetRealPath` in `FindCMakeResources` on Windows to resolve any symlink returned by `GetModuleFileNameW`.
* | | | | | Merge topic 'stdstring'Brad King2018-01-257-30/+31
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 25243014 cmMakefile: use std::string in more methods; cleanup c_str()s Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1685
| * | | | | | cmMakefile: use std::string in more methods; cleanup c_str()sVitaly Stakhovsky2018-01-237-30/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Follow up commit 969c1f94ae (cmSourceGroup: code improvements; use std::string and C++11 loops, 2017-01-10).
* | | | | | | CMake Nightly Date StampKitware Robot2018-01-251-1/+1
| |_|_|_|/ / |/| | | | |
* | | | | | Merge topic 'cpack_trace'Brad King2018-01-243-0/+34
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 93bc5848 CPack: accept --trace and --trace-expand Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1583
| * | | | | | CPack: accept --trace and --trace-expandIsaiah Norton2018-01-233-0/+34
| | |_|_|_|/ | |/| | | |
* | | | | | Merge topic 'vcxproj-spaces'Brad King2018-01-241-1/+1
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | da1a500c cmVisualStudio10TargetGenerator: remove redundant space char in some tags Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1684
| * | | | | cmVisualStudio10TargetGenerator: remove redundant space char in some tagsVitaly Stakhovsky2018-01-231-1/+1
| | |/ / / | |/| | | | | | | | | | | | | Many source tags become identical to those created by MSVC
* | | | | Merge topic 'libuv-restore-fmode'Brad King2018-01-247-18/+27
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 98628de8 Extend libuv file translate mode workaround to all executables 3b588ac5 cpack: Enable MSVC debug hook earlier Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1686
| * | | | Extend libuv file translate mode workaround to all executablesBrad King2018-01-237-16/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since libuv commit v1.14.1~7 (win: add uv__once_init() calls, 2017-08-30) the libuv initialization of the file translate mode may take place even if we do not use a uv loop. This change was included in our libuv update commit f4a26c748b (libuv 2018-01-19). Therefore use of libuv even through `cmSystemTools::GetRealPath` in any executable may trigger its file translate mode setting. Factor out the logic added to `cmake.exe` by commit v3.9.0-rc4~10^2 (cmake: Fix default file translate mode when using libuv, 2017-06-13) and re-use to initialize all executables. Issue: #16962
| * | | | cpack: Enable MSVC debug hook earlierBrad King2018-01-231-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | All other executables do this just after console and command-line encoding conversion. Do the same in CPack.
* | | | | CMake Nightly Date StampKitware Robot2018-01-241-1/+1
| |_|/ / |/| | |
* | | | Merge topic 'recognize-versioned-shared-libraries'Brad King2018-01-231-5/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5cbf3653 cmComputeLinkInformation: Better RPATH detection for versioned libraries. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1682
| * | | | cmComputeLinkInformation: Better RPATH detection for versioned libraries.Byoungchan Lee2018-01-221-5/+3
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some libraries uses the non-conventional SONAME scheme like `libssl.so.1.1` or `libboost_system.so.1.64.0`, but CMake didn't count on such versioned libraries. This commit modify regular expressions to match relaxed format of shared library name for determining various linker options, especially `RPATH`. Note that support for one component has been available since v2.8.12. Fixes: #15938
* | | | Merge topic 'feature-codelite-fortran'Brad King2018-01-231-15/+16
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | 51caac69 CodeLite: Better support for Fortran and Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1678
| * | | CodeLite: Better support for Fortran and WindowsTobias R. Henle2018-01-191-15/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fortran source files are added to the src folder of CodeLite projects and the "Compile Single File" command uses "$(CurrentFileFullName)" instead of "$(CurrentFileName)" with the correct filename extension for object files on windows now.
* | | | CMake Nightly Date StampKitware Robot2018-01-231-1/+1
| |/ / |/| |
* | | Merge topic 'autogen-first-line-fix'Brad King2018-01-221-4/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b4e6911b Autogen: Tests: Extend AUTOUIC include patterns test ff91a5d5 Autogen: Tests: Extend AUTOMOC include patterns test a1d491ca Autogen: AUTOMOC/UIC fix for moc/uic include on the first line Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1670
| * | | Autogen: AUTOMOC/UIC fix for moc/uic include on the first lineSebastian Holtermann2018-01-181-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When moc/uic include was found on the first line of a file it was ignored. This fixes the issue by extending the regular expression for include detection. Closes #17655
* | | | Merge topic 'serverCrashIfNoMinVersionSpecified'Brad King2018-01-221-2/+2
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | 33802b31 server: fix crash if no min version specified Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1673
| * | | server: fix crash if no min version specifiedJustin Goshi2018-01-191-2/+2
| |/ / | | | | | | | | | | | | | | | | | | If a CMakeLists.txt file doesn't contain cmake_minimum_required then the server was crashing. The root cause was the json object model does not support null and was crashing. Add the null check and use an empty string in this case.
* | | Merge topic 'genex-output-known-extension'Brad King2018-01-221-1/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 7c525c84 genex: generated files have known extensions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1669
| * | | genex: generated files have known extensionsBen Boeckel2018-01-181-1/+3
| | | |
* | | | CMake Nightly Date StampKitware Robot2018-01-221-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2018-01-211-1/+1
| | | |
* | | | Merge topic 'reword-cmake-E-time-help'Craig Scott2018-01-201-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 73bb781d Help: Reword misleading docs for cmake -E time Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1677
| * | | | Help: Reword misleading docs for cmake -E timeTaylor Braun-Jones2018-01-191-1/+1
| | |_|/ | |/| |
* | | | CMake Nightly Date StampKitware Robot2018-01-201-1/+1
|/ / /