summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Merge topic 'update-libuv'Brad King2018-01-2263-1019/+2804
|\ | | | | | | | | | | | | | | | | | | 6db7b352 libuv: Update build within CMake b58d48c1 Merge branch 'upstream-libuv' into update-libuv f4a26c74 libuv 2018-01-19 (63de1eca) e8b57c22 libuv: Teach import script to add missing newlines Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1666
| * libuv: Update build within CMakeBrad King2018-01-191-1/+2
| | | | | | | | Update our CMake build rules to account for upstream changes.
| * Merge branch 'upstream-libuv' into update-libuvBrad King2018-01-1961-1018/+2800
| |\ | | | | | | | | | | | | * upstream-libuv: libuv 2018-01-19 (63de1eca)
| | * libuv 2018-01-19 (63de1eca)libuv upstream2018-01-1962-1019/+2806
| | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: https://github.com/libuv/libuv.git at commit 63de1ecad3252d3e9ed2fe960c21d9387615fa45 (v1.x).
| * | libuv: Teach import script to add missing newlinesBrad King2018-01-161-0/+2
| | |
* | | Merge topic 'FindJava-jdk-10'Brad King2018-01-221-9/+25
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 3c08d207 FindJava: ignore javah for JDK 10, it has been removed Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1637
| * | | FindJava: ignore javah for JDK 10, it has been removedStefan BrĂ¼ns2018-01-191-9/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The standalone javah tool has been removed, header generation happens during execution of javac. `javac -h` allows generation of headers only. See http://openjdk.java.net/projects/jdk/10/ and http://openjdk.java.net/jeps/313 for details. Fixes: #17613
* | | | Merge topic 'FindPythonInterp-windows-current-user'Brad King2018-01-221-0/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a7d344be FindPythonInterp: support single-user installs on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1674
| * | | | FindPythonInterp: support single-user installs on WindowsWerner Palfinger2018-01-191-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | CMake currently searches in HKEY_LOCAL_MACHINE. According to PEP 514, single-user installs are registered in HKEY_CURRENT_USER See also FindPythonLibs.cmake
* | | | | 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
| | | | | |
* | | | | | Merge topic 'heading_automoc_macro_names'Brad King2018-01-221-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c89c87c9 Help: Fix heading level for CMAKE_AUTOMOC_MACRO_NAMES Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1671
| * | | | | | Help: Fix heading level for CMAKE_AUTOMOC_MACRO_NAMESCraig Scott2018-01-181-1/+1
| | | | | | |
* | | | | | | Merge topic 'docs_cmake_crosscompiling'Brad King2018-01-221-4/+22
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 60febda4 Help: Explain meaning and limitations of CMAKE_CROSSCOMPILING Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1672
| * | | | | | | Help: Explain meaning and limitations of CMAKE_CROSSCOMPILINGCraig Scott2018-01-181-4/+22
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | Fixes: #17653
* | | | | | | Merge topic 'iwyu'Brad King2018-01-221-0/+3
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e720a343 IWYU: Add more workaround mappings for internal bits Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1681
| * | | | | | | IWYU: Add more workaround mappings for internal bitsBrad King2018-01-221-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend our hack section of mappings to work around IWYU incorrectly requiring: * bits/stdint-uintn.h for stdint.h * bits/stdint-intn.h for stdint.h * bits/types/mbstate_t.h for wchar.h
* | | | | | | | Merge topic 'findopenmp-genex'Christian Pfeiffer2018-01-221-1/+1
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ffa6f875 FindOpenMP: Employ genex where possible Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1676
| * | | | | | | FindOpenMP: Employ genex where possibleChristian Pfeiffer2018-01-191-1/+1
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | Fixes: #17610
* | | | | | | CMake Nightly Date StampKitware Robot2018-01-221-1/+1
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2018-01-211-1/+1
| | | | | | |
* | | | | | | Merge topic 'docs_cmake_lang_compiler_external_toolchain'Craig Scott2018-01-201-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f3e9bedd Help: CMAKE_<LANG>_COMPILER_EXTERNAL_TOOLCHAIN typo removal Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1679
| * | | | | | | Help: CMAKE_<LANG>_COMPILER_EXTERNAL_TOOLCHAIN typo removalCraig Scott2018-01-201-1/+1
| | |/ / / / / | |/| | | | |
* | | | | | | Merge topic 'reword-cmake-E-time-help'Craig Scott2018-01-202-2/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-192-2/+2
| | | | | | | |
* | | | | | | | CMake Nightly Date StampKitware Robot2018-01-201-1/+1
|/ / / / / / /
* | | | | | | Merge topic 'FindOpenGL-fix-typo'Brad King2018-01-191-1/+0
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c2aec683 FindOpenGL: remove duplicate OpenGL::GL reference Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1668
| * | | | | | | FindOpenGL: remove duplicate OpenGL::GL referenceBen Boeckel2018-01-181-1/+0
| | |_|/ / / / | |/| | | | |
* | | | | | | Merge topic 'cache-truncate-newlines'Brad King2018-01-1913-12/+131
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c42b377c cmCacheManager: Test and document newline truncation behavior a9c48307 cmCacheManager: Truncate values containing newlines Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1652
| * | | | | | cmCacheManager: Test and document newline truncation behaviorKyle Edwards2018-01-158-0/+43
| | | | | | |
| * | | | | | cmCacheManager: Truncate values containing newlinesKyle Edwards2018-01-155-12/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #16098.
* | | | | | | CMake Nightly Date StampKitware Robot2018-01-191-1/+1
| |_|/ / / / |/| | | | |
* | | | | | Merge branch 'release-3.10'Brad King2018-01-180-0/+0
|\ \ \ \ \ \
| * | | | | | CMake 3.10.2v3.10.2Brad King2018-01-181-1/+1
| | | | | | |
* | | | | | | Merge topic 'autogen-parallel'Brad King2018-01-1864-2303/+4192
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9cfa213a Autogen: Rename cmQtAutogeneratorInitializer to cmQtAutoGenInitializer 79908ae4 Autogen: Add release notes for (CMAKE_)AUTOGEN_PARALLEL 45ee4979 Autogen: Add documentation for (CMAKE_)AUTOGEN_PARALLEL 6f4b6613 Autogen: Tests: Add AUTOGEN_PARALLEL tests a008578d Autogen: Process files concurrently in AUTOMOC and AUTOUIC 488baaf0 Autogen: Tests: Fix MocInclude test(s) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1632
| * | | | | | | Autogen: Rename cmQtAutogeneratorInitializer to cmQtAutoGenInitializerSebastian Holtermann2018-01-175-30/+30
| | | | | | | |
| * | | | | | | Autogen: Add release notes for (CMAKE_)AUTOGEN_PARALLELSebastian Holtermann2018-01-171-0/+10
| | | | | | | |
| * | | | | | | Autogen: Add documentation for (CMAKE_)AUTOGEN_PARALLELSebastian Holtermann2018-01-177-2/+43
| | | | | | | |
| * | | | | | | Autogen: Tests: Add AUTOGEN_PARALLEL testsSebastian Holtermann2018-01-1731-0/+475
| | | | | | | |
| * | | | | | | Autogen: Process files concurrently in AUTOMOC and AUTOUICSebastian Holtermann2018-01-1713-2275/+3620
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This introduces concurrent thread processing in the `_autogen` target wich processes AUTOMOC and AUTOUIC. Source file parsing is distributed among the threads by using a job queue from which the threads pull new parse jobs. Each thread might start an independent ``moc`` or ``uic`` process. Altogether this roughly speeds up the AUTOMOC and AUTOUIC build process by the number of physical CPUs on the host system. The exact number of threads to start in the `_autogen` target is controlled by the new AUTOGEN_PARALLEL target property which is initialized by the new CMAKE_AUTOGEN_PARALLEL variable. If AUTOGEN_PARALLEL is empty or unset (which is the default) the thread count is set to the number of physical CPUs on the host system. The AUTOMOC/AUTOUIC generator and the AUTORCC generator are refactored to use a libuv loop internally. Closes #17422.
| * | | | | | | Autogen: Tests: Fix MocInclude test(s)Sebastian Holtermann2018-01-179-0/+18
| | |_|/ / / / | |/| | | | |
* | | | | | | Merge topic 'ctest-libuv-output-decode'Brad King2018-01-182-9/+15
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a6e9b9c9 CTest: Fix process output read error cases c10119df CTest: Fix decoding of MBCS character split by buffering Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1667
| * | | | | | | CTest: Fix process output read error casesBrad King2018-01-171-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The libuv documentation states that the stream read callback may be called with `nread == 0` for EAGAIN. Handle this gracefully. It also states that the callee is responsible for closing the stream on error. Always close the stream for `nread < 0`.
| * | | | | | | CTest: Fix decoding of MBCS character split by bufferingBrad King2018-01-172-9/+10
| | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use a single `cmProcessOutput` instance persistently to decode all output of a test process so that partial character bytes can be buffered.
* | | | | | | Merge topic 'FindTCL-thread-suffix'Brad King2018-01-181-2/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c9f66540 FindTCL: Find 8.6 libraries with 't' suffix Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1663
| * | | | | | | FindTCL: Find 8.6 libraries with 't' suffixlorenz2018-01-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Building Tcl with `makefile.vc` produces library files with a `t` suffix to indicate threading support. Since threading support is on by default in 8.6 anyway, the libraries should be compatible. Issue: https://github.com/conda-forge/tk-feedstock/issues/12
* | | | | | | | Merge topic 'fix_ninja_cuda'Brad King2018-01-181-1/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2bd232b5 Ninja: Fixes CUDA device link in Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1662
| * | | | | | | | Ninja: Fixes CUDA device link in WindowsFrancisco Facioni2018-01-151-1/+1
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nvcc in linker mode doesn't support response files Fixes: #17644