summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'std-pipes-always'Brad King2019-05-037-2/+73
|\ | | | | | | | | | | | | | | c85524a94a Ensure stdin, stdout, and stderr pipes are always open Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !3282
| * Ensure stdin, stdout, and stderr pipes are always openBrad King2019-05-027-2/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | On non-Windows platforms libuv assumes that file descriptors 0-2 are always used for standard pipes and never for anything else. Otherwise, libuv may re-use one of these descriptors and then fail an assertion when closing it. Similarly, On Windows platforms our ConsoleBuf implementation assumes that the standard handles are always open. If CMake is run with any standard pipes closed, open them with `/dev/null` or `NUL` to satisfy these assumptions. Fixes: #19219
* | Merge topic 'cpack-ifw-stylesheet'Brad King2019-05-032-0/+20
|\ \ | | | | | | | | | | | | | | | | | | c474fb2777 CPack/IFW: Add StyleSheet field Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3270
| * | CPack/IFW: Add StyleSheet fieldZaytsev Yuriy2019-05-022-0/+20
| | |
* | | Merge topic 'jobs-positive-value'Brad King2019-05-031-3/+21
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 6ad699358b cmake: --build -j <jobs> should not accept 0. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3255
| * | | cmake: --build -j <jobs> should not accept 0.Fred Baksik2019-05-011-3/+21
| | | | | | | | | | | | | | | | Fixes #19059
* | | | Merge topic 'genex-TARGET_FILE_BASE_NAME-manage-postfix'Brad King2019-05-033-15/+27
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6e5ccabe9b Genex: Update $<TARGET_FILE_BASE_NAME:...>: take care of POSTFIX 1f4c9aa7d2 Refactor: introduce method cmGeneratorTarget::GetFilePostfix Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3267
| * | | | Genex: Update $<TARGET_FILE_BASE_NAME:...>: take care of POSTFIXMarc Chevrier2019-05-021-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | This capability complement MR !3190 and !3207 and is also needed to solve issue #18771.
| * | | | Refactor: introduce method cmGeneratorTarget::GetFilePostfixMarc Chevrier2019-05-022-12/+21
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2019-05-031-1/+1
| |_|_|/ |/| | |
* | | | Merge topic 'genex-code-cleanup'Brad King2019-05-021-416/+175
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3d856eba16 cmGeneratorExpressionNode: refactor TargetPropertyNode 9e1df5df54 cmGeneratorExpressionNode: use ctor arguments instead of macro 36f36d6a49 cmGeneratorExpressionNode: add VersionNode 3f57787dff cmGeneratorExpressionNode: remove structs CompilerId*, CompilerVersion* 20d7c5631e cmGeneratorExpressionNode: add CharacterNode abd62201bd cmGeneratorExpressionNode: simplify code in EqualNode f2c8ff8259 cmGeneratorExpressionNode: Simplify static string constant Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3234
| * | | | cmGeneratorExpressionNode: refactor TargetPropertyNodeLeonid Pospelov2019-04-221-48/+49
| | | | | | | | | | | | | | | | | | | | | | | | | Re-order logic to improve readability and de-duplicate conditions. Factor out error message generation into a helper.
| * | | | cmGeneratorExpressionNode: use ctor arguments instead of macroLeonid Pospelov2019-04-221-30/+36
| | | | |
| * | | | cmGeneratorExpressionNode: add VersionNodeLeonid Pospelov2019-04-221-84/+10
| | | | |
| * | | | cmGeneratorExpressionNode: remove structs CompilerId*, CompilerVersion*Leonid Pospelov2019-04-221-166/+43
| | | | |
| * | | | cmGeneratorExpressionNode: add CharacterNodeLeonid Pospelov2019-04-221-36/+8
| | | | |
| * | | | cmGeneratorExpressionNode: simplify code in EqualNodeLeonid Pospelov2019-04-221-54/+29
| | | | |
| * | | | cmGeneratorExpressionNode: Simplify static string constantBrad King2019-04-221-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Use our `""_s` user-defined literal to avoid initializing a static std::string.
* | | | | Merge topic 'code-cleanup-3'Brad King2019-05-021-29/+11
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 75643755a1 cmGlobalVisualStudioGenerator: remove redundant variables 615fb2633c cmGlobalVisualStudioGenerator: use cmJoin to join the filenames 30c98db61b cmGlobalVisualStudioGenerator: use auto instead of iterator types Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3257
| * | | | cmGlobalVisualStudioGenerator: remove redundant variablesLeonid Pospelov2019-04-241-12/+5
| | | | |
| * | | | cmGlobalVisualStudioGenerator: use cmJoin to join the filenamesLeonid Pospelov2019-04-221-11/+1
| | | | |
| * | | | cmGlobalVisualStudioGenerator: use auto instead of iterator typesLeonid Pospelov2019-04-221-6/+5
| | |/ / | |/| |
* | | | CMake Nightly Date StampKitware Robot2019-05-021-1/+1
| | | |
* | | | Merge topic 'out-of-dir-linking-private-deps'Brad King2019-05-011-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3d3713121b target_link_libraries: Fix static library private deps in other dirs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3276
| * | | | target_link_libraries: Fix static library private deps in other dirsBrad King2019-04-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit a1ad0a699b (target_link_libraries: Allow use with targets in other directories, 2018-09-07, v3.13.0-rc1~94^2) we accidentally broke the logic that adds `$<LINK_ONLY:...>` to private dependencies of static libraries in their `INTERFACE_LINK_LIBRARIES` in the case that the dependency is added from outside the directory creating the library. The check for a valid target name should apply to the original name specified by the caller and not the encoded cross-directory reference. Fixes: #19197
| * | | | CMake 3.13.4v3.13.4Brad King2019-02-011-1/+1
| | | | |
| * | | | Merge branch 'backport-autogen-qt-version-from-dirprops' into release-3.13Brad King2019-01-301-0/+12
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !2883
| | * | | | AutoGen: query Qt5 version from directory propertiesBen Boeckel2019-01-301-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows functions which enable AutoGen to make the version variables available at generate time. See: #18732
| * | | | | Merge branch 'backport-restore-install-late-framework' into release-3.13Brad King2019-01-291-2/+23
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !2878
| | * | | | | macOS: Restore compatibility for setting FRAMEWORK after install()Brad King2019-01-291-2/+23
| | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `FRAMEWORK` target property affects the way the `install()` command treats the target and so should be set first. Our implementation assumed that this was always the case and led to an assertion failure. Prior to CMake 3.12 this was visible only when using an explicit `LIBRARY ... NAMELINK_ONLY` option, but commit 0212d7c762 (install: add NAMELINK_COMPONENT argument, 2018-04-18, v3.12.0-rc1~139^2~3) made it possible with a simple `LIBRARY DESTINATION`. Fully supporting out-of-order specification will require non-trivial refactoring to defer install generator creation to generate time. For now simply restore the old behavior of installing the framework to the library destination. Fixes: #18848
| * | | | | Merge branch 'add-missing-macos-framework' into release-3.13Brad King2019-01-291-1/+2
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !2873
| * \ \ \ \ \ Merge branch 'revert-file-alt-httpauth' into release-3.13Brad King2019-01-241-8/+0
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !2858
| * | | | | | | cmake: Convert no source/build dir error to warningCraig Scott2019-01-221-2/+5
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Temporarily restore previous behavior that allowed specifying no source or build directory to work, even though it was neither documented nor supported. This commit is expected to eventually be reverted to restore the fatal error for such cases. Relates: #18817
* | | | | | | CMake Nightly Date StampKitware Robot2019-05-011-1/+1
| | | | | | |
* | | | | | | Merge topic 'message-new-types-and-logging'Craig Scott2019-04-306-14/+98
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 599587feb1 message(): Minor code modernization 6cc93b370e message(): Add support for log levels 377d1b7896 cmSystemTools: Remove unused message-related code, simplify logic Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Brad King <brad.king@kitware.com> Merge-request: !3268
| * | | | | | | message(): Minor code modernizationAlex Turbov2019-04-281-5/+5
| | | | | | | |
| * | | | | | | message(): Add support for log levelsAlex Turbov2019-04-284-0/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Relates: #18943 Co-Authored-By: Craig Scott <craig.scott@crascit.com>
| * | | | | | | cmSystemTools: Remove unused message-related code, simplify logicAlex Turbov2019-04-272-9/+2
| | | | | | | |
* | | | | | | | Merge topic 'cmuvstreambuf'Brad King2019-04-307-52/+366
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c74698cb75 cmUVStreambuf: Add std::streambuf implementation for uv_stream_t 8cfd25db71 cmUVHandlePtr: Add cm::uv_loop_ptr c0e6b22d0a Refactor: Move/rename cmProcessGetPipes() to cmGetPipes() Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3240
| * | | | | | | | cmUVStreambuf: Add std::streambuf implementation for uv_stream_tKyle Edwards2019-04-252-0/+220
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will allow std::istream/std::ostream-based interaction with processes spawned by libuv.
| * | | | | | | | cmUVHandlePtr: Add cm::uv_loop_ptrKyle Edwards2019-04-252-8/+86
| | | | | | | | |
| * | | | | | | | Refactor: Move/rename cmProcessGetPipes() to cmGetPipes()Kyle Edwards2019-04-254-44/+60
| | | | | | | | |
* | | | | | | | | Merge topic 'source_group-tree-files'Kyle Edwards2019-04-301-1/+4
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8d93815d20 source_group command ensures that FILES arguments are actually files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3265
| * | | | | | | | | source_group command ensures that FILES arguments are actually filesMateusz Janek2019-04-251-1/+4
| |/ / / / / / / /
* | | | | | | | | Merge topic 'relax_TARGET_OBJECT_generator_expr'Brad King2019-04-301-2/+8
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ce078dda79 Relax the usage of TARGET_OBJECTS generator expression Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3178
| * | | | | | | | | Relax the usage of TARGET_OBJECTS generator expressionRobert Maynard2019-04-191-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The geneator expression can now be used with static, shared, and module libraries and executables.
* | | | | | | | | | Merge topic 'server-deprecate'Brad King2019-04-301-0/+5
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 996e1885c4 server: deprecate in favor of the file-api Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !3251
| * | | | | | | | | | server: deprecate in favor of the file-apiBrad King2019-04-221-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Document the server mode as deprecated. Add a deprecation message to the configure step output when invoked through server mode. Closes: #19101
* | | | | | | | | | | Merge topic 'add-execute_process-command-echo'Brad King2019-04-301-5/+52
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 044dcf9f8d execute_process: Add option to echo command lines d350fb6889 execute_process: Manage KWSys Process lifetime with unique_ptr Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3165
| * | | | | | | | | | | execute_process: Add option to echo command linesBill Hoffman2019-04-191-1/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add COMMAND_ECHO option to the execute_process command. This will allow execute_process to show the command it will run. Also add a cmake variable CMAKE_EXECUTE_PROCESS_COMMAND_ECHO. Both the option and the variable can be set to one of the following: STDERR|STDOUT|NONE. The command will be printed to stderr or stdout or not at all. Fixes: #18933