Brad King
63f263b27f
Merge topic 'update-libuv'
...
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
2018-01-22 10:18:44 -05:00
Brad King
c81ace7ab7
Merge topic 'FindJava-jdk-10'
...
3c08d207 FindJava: ignore javah for JDK 10, it has been removed
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1637
2018-01-22 10:18:15 -05:00
Brad King
2a9614039e
Merge topic 'FindPythonInterp-windows-current-user'
...
a7d344be FindPythonInterp: support single-user installs on Windows
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1674
2018-01-22 10:17:25 -05:00
Brad King
a629c338a1
Merge topic 'genex-output-known-extension'
...
7c525c84 genex: generated files have known extensions
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1669
2018-01-22 10:16:16 -05:00
Brad King
1f35d3f20a
Merge topic 'heading_automoc_macro_names'
...
c89c87c9 Help: Fix heading level for CMAKE_AUTOMOC_MACRO_NAMES
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1671
2018-01-22 10:13:01 -05:00
Brad King
856dc73e02
Merge topic 'docs_cmake_crosscompiling'
...
60febda4 Help: Explain meaning and limitations of CMAKE_CROSSCOMPILING
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1672
2018-01-22 10:12:21 -05:00
Brad King
6ab316c98d
Merge topic 'iwyu'
...
e720a343 IWYU: Add more workaround mappings for internal bits
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1681
2018-01-22 10:07:47 -05:00
Brad King
e720a34399
IWYU: Add more workaround mappings for internal bits
...
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
2018-01-22 09:56:30 -05:00
Christian Pfeiffer
c2bed75ebe
Merge topic 'findopenmp-genex'
...
ffa6f875 FindOpenMP: Employ genex where possible
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1676
2018-01-22 09:17:06 -05:00
Kitware Robot
5c3c70201d
CMake Nightly Date Stamp
2018-01-22 00:01:08 -05:00
Kitware Robot
17c3e418b0
CMake Nightly Date Stamp
2018-01-21 00:01:06 -05:00
Craig Scott
eae7718440
Merge topic 'docs_cmake_lang_compiler_external_toolchain'
...
f3e9bedd Help: CMAKE_<LANG>_COMPILER_EXTERNAL_TOOLCHAIN typo removal
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1679
2018-01-20 17:56:05 -05:00
Craig Scott
11c4ea7f11
Merge topic 'reword-cmake-E-time-help'
...
73bb781d Help: Reword misleading docs for cmake -E time
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1677
2018-01-20 17:54:24 -05:00
Craig Scott
f3e9beddfb
Help: CMAKE_<LANG>_COMPILER_EXTERNAL_TOOLCHAIN typo removal
2018-01-20 17:17:28 +11:00
Kitware Robot
ab1be08913
CMake Nightly Date Stamp
2018-01-20 00:01:11 -05:00
Taylor Braun-Jones
73bb781df0
Help: Reword misleading docs for cmake -E time
2018-01-19 16:07:39 -05:00
Brad King
6db7b35236
libuv: Update build within CMake
...
Update our CMake build rules to account for upstream changes.
2018-01-19 13:03:12 -05:00
Brad King
b58d48c15f
Merge branch 'upstream-libuv' into update-libuv
...
* upstream-libuv:
libuv 2018-01-19 (63de1eca)
2018-01-19 13:03:04 -05:00
libuv upstream
f4a26c748b
libuv 2018-01-19 (63de1eca)
...
Code extracted from:
https://github.com/libuv/libuv.git
at commit 63de1ecad3252d3e9ed2fe960c21d9387615fa45 (v1.x).
2018-01-19 13:03:03 -05:00
Stefan Brüns
3c08d2075f
FindJava: ignore javah for JDK 10, it has been removed
...
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
2018-01-19 11:15:11 -05:00
Christian Pfeiffer
ffa6f8752b
FindOpenMP: Employ genex where possible
...
Fixes : #17610
2018-01-19 16:38:52 +01:00
Brad King
927c603574
Merge topic 'FindOpenGL-fix-typo'
...
c2aec683 FindOpenGL: remove duplicate OpenGL::GL reference
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1668
2018-01-19 10:08:42 -05:00
Brad King
e68a269cd2
Merge topic 'cache-truncate-newlines'
...
c42b377c cmCacheManager: Test and document newline truncation behavior
a9c48307 cmCacheManager: Truncate values containing newlines
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1652
2018-01-19 10:08:06 -05:00
Werner Palfinger
a7d344be71
FindPythonInterp: support single-user installs on Windows
...
CMake currently searches in HKEY_LOCAL_MACHINE.
According to PEP 514, single-user installs are registered in HKEY_CURRENT_USER
See also FindPythonLibs.cmake
2018-01-19 06:13:03 -05:00
Kitware Robot
be2f050903
CMake Nightly Date Stamp
2018-01-19 00:01:23 -05:00
Craig Scott
c89c87c9be
Help: Fix heading level for CMAKE_AUTOMOC_MACRO_NAMES
2018-01-19 08:31:48 +11:00
Craig Scott
60febda455
Help: Explain meaning and limitations of CMAKE_CROSSCOMPILING
...
Fixes : #17653
2018-01-19 08:31:34 +11:00
Ben Boeckel
7c525c8416
genex: generated files have known extensions
2018-01-18 11:11:19 -05:00
Ben Boeckel
c2aec68333
FindOpenGL: remove duplicate OpenGL::GL reference
2018-01-18 11:10:13 -05:00
Brad King
cbe7314bb0
Merge branch 'release-3.10'
2018-01-18 10:59:17 -05:00
Brad King
c1e087a9d3
CMake 3.10.2
v3.10.2
2018-01-18 09:53:18 -05:00
Brad King
c1ea96d04c
Merge topic 'autogen-parallel'
...
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
2018-01-18 09:46:29 -05:00
Brad King
84e2a7e58a
Merge topic 'ctest-libuv-output-decode'
...
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
2018-01-18 09:43:08 -05:00
Brad King
d0b00a848f
Merge topic 'FindTCL-thread-suffix'
...
c9f66540 FindTCL: Find 8.6 libraries with 't' suffix
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1663
2018-01-18 09:42:11 -05:00
Brad King
1c681f9200
Merge topic 'fix_ninja_cuda'
...
2bd232b5 Ninja: Fixes CUDA device link in Windows
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1662
2018-01-18 09:41:39 -05:00
Brad King
bffdc2e2e1
Merge topic 'msvc_cuda_8_explicitly_specify_cuda_language'
...
46abfedb CUDA: MSVC will now state files are cuda files when needed
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1658
2018-01-18 09:41:01 -05:00
Kitware Robot
2868019b2f
CMake Nightly Date Stamp
2018-01-18 00:01:26 -05:00
Craig Scott
b1fd313826
Merge topic 'FindDoxygen-macos-utils'
...
2489e5af FindDoxygen: On macOS search in '/Applications/Utilities' too
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1661
2018-01-17 15:08:22 -05:00
Craig Scott
657898ecad
Merge topic 'cmSourceGroup-modern-cxx'
...
969c1f94 cmSourceGroup: code improvements; use std::string and C++11 loops
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1656
2018-01-17 15:06:02 -05:00
Sebastian Holtermann
9cfa213aa6
Autogen: Rename cmQtAutogeneratorInitializer to cmQtAutoGenInitializer
2018-01-17 17:23:49 +01:00
Sebastian Holtermann
79908ae4ae
Autogen: Add release notes for (CMAKE_)AUTOGEN_PARALLEL
2018-01-17 17:23:49 +01:00
Sebastian Holtermann
45ee4979fb
Autogen: Add documentation for (CMAKE_)AUTOGEN_PARALLEL
2018-01-17 17:23:49 +01:00
Sebastian Holtermann
6f4b661383
Autogen: Tests: Add AUTOGEN_PARALLEL tests
2018-01-17 17:23:49 +01:00
Sebastian Holtermann
a008578dee
Autogen: Process files concurrently in AUTOMOC and AUTOUIC
...
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 .
2018-01-17 17:23:49 +01:00
Sebastian Holtermann
488baaf0d6
Autogen: Tests: Fix MocInclude test(s)
2018-01-17 17:23:49 +01:00
Brad King
a6e9b9c9e4
CTest: Fix process output read error cases
...
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`.
2018-01-17 11:20:24 -05:00
Brad King
c10119df62
CTest: Fix decoding of MBCS character split by buffering
...
Use a single `cmProcessOutput` instance persistently to decode
all output of a test process so that partial character bytes
can be buffered.
2018-01-17 10:41:51 -05:00
Brad King
af30899cb4
Merge topic 'fix-documentation'
...
60216e15 Help: Improved MAIN_DEPENDENCY documentation of add_custom_command()
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1665
2018-01-17 10:35:31 -05:00
Kitware Robot
8b49fc3c6f
CMake Nightly Date Stamp
2018-01-17 00:01:18 -05:00
Brad King
e8b57c2283
libuv: Teach import script to add missing newlines
2018-01-16 13:27:23 -05:00