summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'relax_TARGET_OBJECT_generator_expr'Brad King2019-04-3014-19/+138
|\ | | | | | | | | | | | | 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-1914-19/+138
| | | | | | | | | | The geneator expression can now be used with static, shared, and module libraries and executables.
* | Merge topic 'findmpi-msvc-nolibdir'Brad King2019-04-301-12/+14
|\ \ | | | | | | | | | | | | | | | | | | 7db32efbab FindMPI: Don't retain libdirs for Win32 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3253
| * | FindMPI: Don't retain libdirs for Win32Christian Pfeiffer2019-04-201-12/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Windows systems, the need to retain library directories should not nomrally occur. This can only occur on Unix like systems where a shared library is being linked that has a dependency on another library which is not being found in the default directories (e.g. libgfortran on BSD) This also works around an issue introduced by !1694 in that the Visual Studio generator does not handle link flags passed in `INTERFACE_LINK_LIBRARIES` correctly, causing problems when using that generator with Intel MPI in certain circumstances.
* | | Merge topic 'server-deprecate'Brad King2019-04-303-0/+16
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-223-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-3015-5/+158
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1915-1/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | execute_process: Manage KWSys Process lifetime with unique_ptrBrad King2019-04-191-4/+3
| | | | |
* | | | | Merge topic 'msvc-runtime-library'Brad King2019-04-304-1/+27
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 61f70e81a7 MSVC: Document and test behavior of empty MSVC_RUNTIME_LIBRARY Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3249
| * | | | | MSVC: Document and test behavior of empty MSVC_RUNTIME_LIBRARYBrad King2019-04-224-1/+27
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend tests added by commit fb3370b6a1 (MSVC: Add abstraction for runtime library selection, 2019-04-10) to cover an empty value for the property. It should result in no specific setting. Issue: #19108
* | | | | Merge topic 'msvc-c-features'Brad King2019-04-301-2/+6
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | eca275f63d CompileFeatures: Fix hard-coded MSVC C features Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3247
| * | | | | CompileFeatures: Fix hard-coded MSVC C featuresBrad King2019-04-221-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 8e4899fd6c (CompileFeatures: Record which C features the MSVC compiler supports, 2019-04-12) our `cmake_record_c_compile_features` macro was accidentally left not setting the `_result` variable, which had previously been set by `_record_compiler_features`. The variable is expected by the call site in `cmake_determine_compile_features` and used to switch between "failed" and "done" reports. Set it now. Also record `c_variadic_macros` only for cl 14 (VS 2005) and higher because it is not supported before that version.
* | | | | | CMake Nightly Date StampKitware Robot2019-04-301-1/+1
| | | | | |
* | | | | | Merge topic 'intel_simulate'Kyle Edwards2019-04-291-0/+14
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a893018c47 Project: Report intel's simulation of gcc. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3264
| * | | | | | Project: Report intel's simulation of gcc.R. Andrew Ohana2019-04-251-0/+14
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2019-04-291-1/+1
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2019-04-281-1/+1
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2019-04-271-1/+1
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2019-04-261-1/+1
|/ / / / / /
* | | | | | Merge topic 'cmWorkerPool_Tweaks'Kyle Edwards2019-04-253-158/+156
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 56890ede2a cmWorkerPool: Factor our worker thread class (internals) 9794b72d38 cmWorkerPool: Set worker thread count separately to Process() Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3260
| * | | | | | cmWorkerPool: Factor our worker thread class (internals)Sebastian Holtermann2019-04-241-120/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This moves the `cmWorkerPoolInternal::WorkerT` class to `cmWorkerPoolWorker` and changes the thread start interface to make it independent of the `cmWorkerPoolInternal` type.
| * | | | | | cmWorkerPool: Set worker thread count separately to Process()Sebastian Holtermann2019-04-243-39/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't pass the desired worker thread count to the `cmWorkerPool::Process()` method but set it separately with the new `cmWorkerPool::SetThreadCount` method. This allows calling `cmWorkerPool::Process()` repeatedly without having to pass the thread count every time.
* | | | | | | CMake Nightly Date StampKitware Robot2019-04-251-1/+1
| | | | | | |
* | | | | | | Merge topic 'update-documentation'Kyle Edwards2019-04-2459-174/+184
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cb811d11ce Help: Improve description of modules Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3222
| * | | | | | | Help: Improve description of modulesBartosz Kosiorek2019-04-2359-174/+184
| | | | | | | |
* | | | | | | | Merge topic 'ctest_xml_tweaks'Kyle Edwards2019-04-248-2/+56
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d8af0700a3 ctest: consistently format generator name 95db11fdb1 ctest: Include ChangeId in Update.xml Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3259
| * | | | | | | ctest: consistently format generator nameZack Galbreath2019-04-232-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notes.xml and Upload.xml were missing a hyphen that the rest of our XML files included. ctest3.14.0-rc1 vs. ctest-3.14.0-rc1
| * | | | | | | ctest: Include ChangeId in Update.xmlZack Galbreath2019-04-236-0/+54
| | | | | | | |
* | | | | | | | CMake Nightly Date StampKitware Robot2019-04-241-1/+1
|/ / / / / / /
* | | | | | | CMake Nightly Date StampKitware Robot2019-04-231-1/+1
| | | | | | |
* | | | | | | Merge branch 'release-3.14'Brad King2019-04-220-0/+0
|\ \ \ \ \ \ \
| * | | | | | | CMake 3.14.3v3.14.3Brad King2019-04-221-1/+1
| | | | | | | |
* | | | | | | | Merge topic 'sunpro-cxx14-features'Brad King2019-04-223-0/+23
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 66f3f11af5 SunPro: Record support for C++14 features by SunPro 5.{14,15} Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3248
| * | | | | | | | SunPro: Record support for C++14 features by SunPro 5.{14,15}Brad King2019-04-193-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SunPro 5.15 supports `-std=c++14` and several C++14 features. SunPro 5.14 accepts `-std=c++14` but does not update its definition of `__cplusplus` or any other macro to distinguish it from `-std=c++11`, so we need to blacklist a couple features that do work but that we cannot report for that version. We can still support `cxx_std_14`. Co-Author: Robert Maynard <robert.maynard@kitware.com>
* | | | | | | | | Merge topic 'msvc-warning-flags'Brad King2019-04-2214-5/+109
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1baf122cd4 MSVC: Do not add /W3 to CMAKE_<LANG>_FLAGS by default Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3250
| * | | | | | | | | MSVC: Do not add /W3 to CMAKE_<LANG>_FLAGS by defaultBrad King2019-04-1914-5/+109
| | |_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We do not add default warning flags on other compilers, and having a warning flag in the default flags makes it hard for projects to customize the warning level. They need to use string processing to remove `/W3` from `CMAKE_{C,CXX}_FLAGS`. Therefore we should drop it. However, projects may be using string processing to replace `/W3` with another flag, so we cannot simply drop it. Add a policy to drop it in a compatible way. Fixes: #18317
* | | | | | | | | Merge branch 'release-3.14'Brad King2019-04-220-0/+0
|\ \ \ \ \ \ \ \ \ | | |_|/ / / / / / | |/| | | | | | |
| * | | | | | | | Merge branch 'findqt3-hints-fix' into release-3.14Brad King2019-04-221-5/+7
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !3254
| * \ \ \ \ \ \ \ \ Merge branch 'vs-default-platform' into release-3.14Brad King2019-04-1910-3/+40
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !3246
* | \ \ \ \ \ \ \ \ \ Merge topic 'findqt3-hints-fix'Brad King2019-04-221-5/+7
|\ \ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c298c4553b FindQt3: Restore missing lib and bin path suffixes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3254
| * | | | | | | | | | FindQt3: Restore missing lib and bin path suffixesChristian Pfeiffer2019-04-221-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Restore path suffixes incorrectly removed by commit a62d50ec56 (Modules: Replace coded PATHS with PATH_SUFFIXES, 2017-11-20, v3.11.0-rc1~293^2). Hints do not participate in the usual bin/lib subdirectory search that `<PackangeName>_ROOT` or `CMAKE_PREFIX_PATH` exhibit. Fixes: #19185
* | | | | | | | | | | Merge topic 'vs-default-platform'Brad King2019-04-2210-3/+40
|\ \ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | db02be85a0 VS: Provide the default platform name to project code Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3246
| * | | | | | | | | | VS: Provide the default platform name to project codeBrad King2019-04-1910-3/+40
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The value of `CMAKE_VS_PLATFORM_NAME` is computed by Visual Studio generators based on `CMAKE_GENERATOR_PLATFORM` or some default. Prior to the VS 2019 generator, the default was always `Win32`. However, for the `Visual Studio 16 2019` generator, the default is based on the host platform. Store the default in a new `CMAKE_VS_PLATFORM_NAME_DEFAULT` variable for use by project code. This is particularly useful in toolchain files because they are allowed to set `CMAKE_GENERATOR_PLATFORM` and so `CMAKE_VS_PLATFORM_NAME` is not yet known. Of course the toolchain file author knows whether it will set `CMAKE_GENERATOR_PLATFORM`, and if not then `CMAKE_VS_PLATFORM_NAME_DEFAULT` provides the platform name that will be used. Fixes: #19177
* | | | | | | | | | CMake Nightly Date StampKitware Robot2019-04-221-1/+1
| | | | | | | | | |
* | | | | | | | | | CMake Nightly Date StampKitware Robot2019-04-211-1/+1
| |_|_|_|_|_|_|/ / |/| | | | | | | |
* | | | | | | | | CMake Nightly Date StampKitware Robot2019-04-201-1/+1
| |_|/ / / / / / |/| | | | | | |
* | | | | | | | Merge topic 'test-find_package-resolve-symlinks'Brad King2019-04-192-8/+14
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a9428fc473 Tests: Fix FindPackageTest when path to source has a symlink e27437d0e0 Tests/FindPackageTest: Tell Git to ignore temporary symlink path Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3244
| * | | | | | | Tests: Fix FindPackageTest when path to source has a symlinkBrad King2019-04-181-8/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Exclude a portion of the test that does not work in this case.
| * | | | | | | Tests/FindPackageTest: Tell Git to ignore temporary symlink pathBrad King2019-04-181-0/+1
| | | | | | | |