Commit Graph

27898 Commits

Author SHA1 Message Date
Kitware Robot 0fff8d653c CMake Nightly Date Stamp 2019-11-21 00:01:07 -05:00
Kitware Robot 5f630a934a CMake Nightly Date Stamp 2019-11-20 00:01:10 -05:00
Craig Scott 9e9787f19a Merge topic 'ctest-repeat'
32c165d263 CTest: Consolidate '--repeat-* n' options as `--repeat *:n`

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4053
2019-11-19 15:48:38 -05:00
Brad King 3520208cbd Merge topic 'ccmake_render_main_form_on_resize'
ce99f5ee69 ccmake: Fix rendering on window resize

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4061
2019-11-19 11:37:27 -05:00
Brad King a1d0653fc8 Merge topic 'xcode-scheme-workdir'
92c4c852db Xcode: Add custom working directory property

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4063
2019-11-19 11:31:16 -05:00
Brad King aa6437e3e0 Merge topic 'codelite_make_j_0'
7d6639bf8d CodeLite: Do not pass -j argument with CPU count 0

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4067
2019-11-19 11:30:20 -05:00
Brad King ba773cfec8 Merge topic 'modernize-memory-management'
7e86f71eff cmOutputRequiredFilesCommand: Modernize memory management

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4055
2019-11-19 11:29:26 -05:00
Brad King fb7f8e5fbd Merge topic 'FindFLEX-work-dir'
c5fb36a4cb FindFLEX: Add policy CMP0098 to run flex in build tree

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3981
2019-11-19 11:27:15 -05:00
Kitware Robot 843936f51b CMake Nightly Date Stamp 2019-11-19 00:01:12 -05:00
Gregor Jasny 92c4c852db Xcode: Add custom working directory property
Closes: #19967
2019-11-18 22:34:34 +01:00
Johnny Jazeix 7d6639bf8d CodeLite: Do not pass -j argument with CPU count 0
Fixes: #15054, #16727
2019-11-18 22:10:57 +01:00
Sylvain Joubert ce99f5ee69 ccmake: Fix rendering on window resize
Repro steps: configure (without errors), the logs are displayed then the
cache is displayed again, resize the window up -> the logs are
redisplayed after resize instead of the cache

The 'CurrentForm' pointer were left pointed to the last log message
form, this resets it to the main form when configure or generate is done
2019-11-18 17:05:37 +01:00
Brad King 776d1e5e79 Merge topic 'win-no-error-popup'
a4c19cb895 Windows: Restore suppression of error report popups in CI builds
0b9f1cc96b Merge branch 'upstream-KWSys' into win-no-error-popup
9e27e52d4b KWSys 2019-11-15 (329d8c7c)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4052
2019-11-18 09:52:13 -05:00
Brad King 0e46dea343 Merge topic 'cpack-custom-templates'
7d6ab5dc5b CPack: Restore support for custom package configuration templates

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kyle Edwards <kyle.edwards@kitware.com>
Merge-request: !4054
2019-11-18 09:50:57 -05:00
Brad King e14c9af013 Merge topic 'pch-reuse-no-prop'
bb4c2781ce PCH: Do not issue an error on duplicate target_precompile_headers call

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4046
2019-11-18 09:46:26 -05:00
Craig Scott 1bd06579a3 Merge topic 'ccmake_redirect_stdstreams'
88cfef0821 ccmake: redirect stdout/stderr to the displayed logs

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4005
2019-11-18 05:46:31 -05:00
Kitware Robot e56e9c14c5 CMake Nightly Date Stamp 2019-11-18 00:01:09 -05:00
Kitware Robot cf598311ce CMake Nightly Date Stamp 2019-11-17 00:01:06 -05:00
Sylvain Joubert 88cfef0821 ccmake: redirect stdout/stderr to the displayed logs
Use cmSystemTools to report some messages.
These should now be caught and displayed properly,
both in ccmake and cmake-gui

Avoid log display flickering during processing
- Don't clear the screen each time the long message form is rendered.
  It always renders the whole screen again so clearing it only causes
  flickering.
- Add scroll down capabilities to the long message form so that it can
  draw itself directly in the correct state. This removes the need to
  programatically scroll down just after that also caused flickering.

Fixes #19882
Fixes #13288
2019-11-16 08:27:32 +01:00
Kitware Robot de1d530ef0 CMake Nightly Date Stamp 2019-11-16 00:01:09 -05:00
Marc Chevrier 7e86f71eff cmOutputRequiredFilesCommand: Modernize memory management
Also use std::string over char* when possible.
2019-11-15 19:40:48 +01:00
Jannick c5fb36a4cb FindFLEX: Add policy CMP0098 to run flex in build tree 2019-11-15 11:46:06 -05:00
Brad King 7d6ab5dc5b CPack: Restore support for custom package configuration templates
Refactoring in commit 98617f1be0 (Refactor: Move CPack internal files to
`Internal/CPack/` directory, 2019-07-09, v3.16.0-rc1~449^2) accidentally
changed the public-facing names of the templates.  The name passed to
`FindTemplate` is searched in `CMAKE_MODULE_PATH` and should not change.
Remove the `Internal/CPack/` prefix on the names added by that commit.
Teach `FindTemplate` to use our builtin default directly when the
public-facing name is not found in `CMAKE_MODULE_PATH`.

Fixes: #19979
2019-11-15 10:38:08 -05:00
Brad King 32c165d263 CTest: Consolidate '--repeat-* n' options as --repeat *:n
Combine `--repeat-until-fail`, `--repeat-until-pass`, and
`--repeat-after-timeout` to create a single `--repeat <mode>:<n>`
option.  Retain `--repeat-until-fail` too because that has been
available in previous releases.
2019-11-15 10:08:33 -05:00
Kyle Edwards 5695b0464b Merge topic 'cmake-e-rm'
2d0100fac7 replace remove and remove_directory with rm in tests
5239fc5c75 cmake -E: Add rm with improved semantics over remove and remove_directory

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3949
2019-11-15 09:57:56 -05:00
Cristian Adam bb4c2781ce PCH: Do not issue an error on duplicate target_precompile_headers call
Fixes: #19970
2019-11-15 09:47:56 -05:00
Brad King a4c19cb895 Windows: Restore suppression of error report popups in CI builds
On Windows, libuv uses `_CrtSetReportHook` to install a handler it uses
to suppress assertions on invalid file descriptors in `_get_osfhandle`.
This removes the handler we install in CI environments to suppress
interactive popups.  Move installation of our handler to after libuv is
initialized so that our handler is actually used.

Unfortunately this also removes libuv's handler and so may cause Debug
builds under CI to abort on invalid file descriptors instead of simply
converting them to `INVALID_HANDLE_VALUE`.  If this becomes a problem
we may need to modify libuv to make its hook more configurable.
2019-11-15 09:23:47 -05:00
Brad King 0b9f1cc96b Merge branch 'upstream-KWSys' into win-no-error-popup
* upstream-KWSys:
  KWSys 2019-11-15 (329d8c7c)
2019-11-15 09:21:08 -05:00
Brad King 1d78e1a966 Merge topic 'cmFileLockPool-remove-dynamic-memory-usage'
8dd284bf19 cmFileLockPool: enhance items management

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4041
2019-11-15 09:18:23 -05:00
Brad King c1ae0532f3 Merge topic 'ctest_test-repeat'
28994115e8 ctest_test: Add option to REPEAT tests
42d5d8f425 cmCTestMultiProcessHandler: Hold repeat mode as a member
ed65b3e984 CTest: Rename internal APIs for --repeat options

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4011
2019-11-15 09:17:26 -05:00
Brad King aba3048055 Merge topic 'Fortran-line-continued-use'
154b8d1a27 Fortran: ignore CPP line directives in line-continued USE stmts
34b7dbbfc3 LexerParser: Regenerate parsers with bison 3.4.2

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4048
2019-11-15 09:16:29 -05:00
Brad King b55f605e70 Merge topic 'update-kwsys'
dc01c73f2d Merge branch 'upstream-KWSys' into update-kwsys
78ce959a40 KWSys 2019-11-13 (e67ed8ef)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4047
2019-11-15 09:15:29 -05:00
Brad King 9bc8854b3c Merge topic 'objc-standard-fix'
6a818b6931 ObjC: Proper initialization of ObjC/XX standard properties

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robert.maynard@kitware.com>
Merge-request: !4050
2019-11-15 09:06:07 -05:00
Kitware Robot a10e11fd7c CMake Nightly Date Stamp 2019-11-15 00:01:07 -05:00
Cristian Adam 6a818b6931 ObjC: Proper initialization of ObjC/XX standard properties
Fix logic added by commit 81566557d5 (ObjC: Initialize ObjC/XX standard
properties from C/C++ counterparts, 2019-11-09) to account for cases
when the CXX standard is not explicitly set.  Also, do not copy the
`*_STANDARD_REQUIRED` and `*_EXTENSIONS` properties unless we copied the
`*_STANDARD` property.
2019-11-14 11:05:56 -05:00
Marc Chevrier 8dd284bf19 cmFileLockPool: enhance items management 2019-11-14 14:21:30 +01:00
Kitware Robot aeb95264e0 CMake Nightly Date Stamp 2019-11-14 00:01:07 -05:00
Johnny Jazeix 2d0100fac7 replace remove and remove_directory with rm in tests 2019-11-13 18:02:18 -05:00
Johnny Jazeix 5239fc5c75 cmake -E: Add rm with improved semantics over remove and remove_directory 2019-11-13 18:02:18 -05:00
Tiziano Müller 154b8d1a27 Fortran: ignore CPP line directives in line-continued USE stmts
Issue: #18188
2019-11-13 11:30:19 -05:00
Kitware Robot 34b7dbbfc3 LexerParser: Regenerate parsers with bison 3.4.2 2019-11-13 11:29:48 -05:00
Brad King dc01c73f2d Merge branch 'upstream-KWSys' into update-kwsys
# By KWSys Upstream
* upstream-KWSys:
  KWSys 2019-11-13 (e67ed8ef)
2019-11-13 09:48:23 -05:00
Brad King cad199d4b2 Merge topic 'tag-std-string'
64843b1737 cmVisualStudio10TargetGenerator: use std::string for tag

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4026
2019-11-13 09:42:02 -05:00
Brad King 4909594abd Merge topic 'objc-standard'
81566557d5 ObjC: Initialize ObjC/XX standard properties from C/C++ counterparts

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4022
2019-11-13 09:40:47 -05:00
Kitware Robot e49d85ae4b CMake Nightly Date Stamp 2019-11-13 00:01:10 -05:00
Cristian Adam 81566557d5 ObjC: Initialize ObjC/XX standard properties from C/C++ counterparts
Fixes: #19937
2019-11-12 19:41:25 +01:00
Brad King ccd2c2824a Merge topic 'modernize-memory-management'
f93385283f cmLocalGenerator: modernize memory management
101b5288ff cmAlgorithm: Extend cmAppend capabilities

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4028
2019-11-12 09:55:20 -05:00
Brad King f59ae1a698 Merge topic 'cpack-pkg-background'
e6069613a1 CPack: Set background image in macOS installer

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3995
2019-11-12 09:52:32 -05:00
Brad King 5b46bc3194 Merge topic 'unity-HEADER_FILE_ONLY'
9a5418320e Unity: Don't include sources with HEADER_FILE_ONLY property set

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4023
2019-11-12 09:51:16 -05:00
Brad King eae743bf17 Merge topic 'unity-HEADER_FILE_ONLY' into release-3.16
9a5418320e Unity: Don't include sources with HEADER_FILE_ONLY property set

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4023
2019-11-12 09:51:15 -05:00