summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'libuv-raii'Brad King2017-11-3012-137/+501
|\ | | | | | | | | | | | | | | | | | | | | 1e9b7d3c server: Switched to a auto model for handles f43b9219 tests: Added tests to verify UV RAII semantics/constructs a3abb85c Add RAII handles for libuv handle types 90f8db26 tests: unconditionally enabled server tests b56b51fc utility: Disabled copy ctors in thread classes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1453
| * server: Switched to a auto model for handlesJustin Berger2017-11-298-137/+96
| |
| * Add RAII handles for libuv handle typesJustin Berger2017-11-293-0/+399
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The `uv_*_t` handle types are closed by `uv_close`, but the semantics are tricky. Calling `uv_close` may not close immediately. Instead it hands ownership to the uv loop to which the handle is currently attached. When the loop decides to close it, a callback is used to allow the `uv_close` caller to free resources. Provide an abstraction layer as `cm::uv_*_ptr` types corresponding to the `uv_*_t` handle types. Each pointer is either empty (`nullptr`) or has an initialized handle attached to a loop. Use move semantics to ensure a single owner of the handle so that clients can predict when the handle is destroyed.
| * utility: Disabled copy ctors in thread classesJustin Berger2017-11-291-0/+6
| |
* | Merge topic 'whitelist-more-interface-properties'Brad King2017-11-301-0/+7
|\ \ | | | | | | | | | | | | | | | | | | fb3c5bfd cmTargetPropertyComputer: whitelist custom properties Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1515
| * | cmTargetPropertyComputer: whitelist custom propertiesBen Boeckel2017-11-211-0/+7
| | | | | | | | | | | | | | | CMake's properties will never begin with an underscore or a lowercase letter, so allow them to be set by projects.
* | | CMake Nightly Date StampKitware Robot2017-11-301-1/+1
| | |
* | | Merge topic 'check_fixtures_before_exe_existence'Craig Scott2017-11-291-2/+6
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | fbe91dba CTest: Check failed fixture dependencies before test command and args Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Brad King <brad.king@kitware.com> Merge-request: !1526
| * | CTest: Check failed fixture dependencies before test command and argsCraig Scott2017-11-281-2/+6
| | |
* | | Merge topic 'CodeBlocks-custom-compiler-id'Brad King2017-11-291-0/+7
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | e04f1d1b CodeBlocks: add option for the CB compiler ID Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1512
| * | | CodeBlocks: add option for the CB compiler IDMelven Roehrig-Zoellner2017-11-271-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CodeBlocks uses his own compiler ID string which may differ from CMAKE_<LANG>_COMPILER_ID. In particular CodeBlocks supports a large number of different compiler configurations (with different IDs) This commit adds a cache variable "CMAKE_CODEBLOCKS_COMPILER_ID", so the user might adjust it when needed.
* | | | Merge topic 'aix-threads'Brad King2017-11-292-0/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4ff89fb6 AIX: Add -pthread flag to enable std::thread with GCC 6e613ff3 bootstrap: Add infrastructure to detect threading flags Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1535
| * | | | AIX: Add -pthread flag to enable std::thread with GCCBrad King2017-11-282-0/+6
| | | | |
* | | | | Merge topic 'fortran-compiler-launcher'Brad King2017-11-293-3/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f19c70c3 Fortran: Add option to run the compiler through launcher tools Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1517
| * | | | | Fortran: Add option to run the compiler through launcher toolsBrad King2017-11-213-3/+4
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a `Fortran_COMPILER_LAUNCHER` target property like those added for C and CXX by commit v3.4.0-rc1~450^2 (Add options to launch the compiler through tools like ccache or distcc, 2015-06-04) and CUDA by commit v3.10.0-rc1~531^2 (CUDA: Add option to run the compiler through launcher tools, 2017-06-09). Fixes: #17499
* | | | | CMake Nightly Date StampKitware Robot2017-11-291-1/+1
| |/ / / |/| | |
* | | | CMake Nightly Date StampKitware Robot2017-11-281-1/+1
| | | |
* | | | Merge topic 'extend-compile-language-genex'Brad King2017-11-271-8/+11
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2ae880fa Genex: Enable COMPILE_LANGUAGE for COMPILE_OPTIONS with Visual Studio 2b7d59f3 Genex: Enable COMPILE_LANGUAGE for file(GENERATE) with Visual Studio 0f6f7c8a Genex: Fix COMPILE_LANGUAGE messages to allow file(GENERATE) with Xcode c5a82d0f Tests: Decouple COMPILE_LANGUAGE in file(GENERATE) from COMPILE_OPTIONS 25773650 Tests: Remove unnecessary result files from RunCMake.File_Generate Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Jason Juang <jasjuang@gmail.com> Merge-request: !1511
| * | | | Genex: Enable COMPILE_LANGUAGE for COMPILE_OPTIONS with Visual StudioBrad King2017-11-201-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.9.0-rc4~3^2~1 (VS: Fix target_compile_options for CUDA, 2017-06-21), the evaluation of `COMPILE_LANGUAGE` receives the proper language. The set of compile flags used for a target's C and C++ sources is based on the linker language. By default this is always the C++ flags if any C++ sources appear in the target, and otherwise the C flags. Therefore we can define the `COMPILE_LANGUAGE` generator expression in `COMPILE_OPTIONS` to match the selected language. This is not exactly the same as for other generators, but is the best VS can do. It is also sufficient for many use cases since the set of allowed flags for C and C++ is almost the same in Visual Studio. Furthermore, since the VS generator moves many of the flags to declarative `.vcxproj` elements, it will automatically avoid passing C++ flags for C sources. Issue: #17435
| * | | | Genex: Enable COMPILE_LANGUAGE for file(GENERATE) with Visual StudioBrad King2017-11-171-6/+10
| | | | | | | | | | | | | | | | | | | | Issue: #17435
| * | | | Genex: Fix COMPILE_LANGUAGE messages to allow file(GENERATE) with XcodeBrad King2017-11-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When rejecting the `COMPILE_LANGUAGE` generator expression on include directories and compile definitions with Xcode, add `file(GENERATE)` to the allowed set in the message. It is allowed and already covered by the `RunCMake.File_Generate` test `COMPILE_LANGUAGE-genex` case.
* | | | | Merge topic 'hardcoded-path-removal'Brad King2017-11-271-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a62d50ec Modules: Replace coded PATHS with PATH_SUFFIXES fd56d6a8 FindMPEG,2: Update to current libmpeg2 behavior 5f382cd8 FindPike: Update names and paths 6720807d FindAVIFile: Replace PATHS with updated suffixes f88ef9a9 Modules: Remove paths set as global Unix prefixes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1502
| * | | | | Modules: Remove paths set as global Unix prefixesChristian Pfeiffer2017-11-201-1/+1
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | This commit removes hardcoded paths that are already given in the platform files or in `UnixPath` on a global level.
* | | | | Merge topic 'server-target-isGeneratorProvided'Brad King2017-11-2712-33/+53
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | afd9a339 server: return whether or not a target is generator provided Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1475
| * | | | | server: return whether or not a target is generator providedJustin Goshi2017-11-2012-33/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some generators auto-generate targets. For example VS generators create the ALL_BUILD target. Add the ability to mark targets as generator provided and return that info through cmake-server codemodel.
* | | | | | Merge topic 'serverFixTestDiscovery'Brad King2017-11-276-85/+49
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | fe2c2b0f server: ctestInfo fix to return all tests Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1479
| * | | | | server: ctestInfo fix to return all testsJustin Goshi2017-11-176-85/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to this change we were looking at targets. But tests are associated with directories. This change fixes how we gather all tests.
* | | | | | CMake Nightly Date StampKitware Robot2017-11-271-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2017-11-261-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2017-11-251-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2017-11-241-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2017-11-231-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2017-11-221-1/+1
| |_|_|_|/ |/| | | |
* | | | | CMake Nightly Date StampKitware Robot2017-11-211-1/+1
| |/ / / |/| | |
* | | | Merge topic 'fix-cmake-server-bad-buffering'Brad King2017-11-201-3/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 01c42155 server: Fix regression in partial message handling Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: jdavidberger <j.david.berger@gmail.com> Merge-request: !1498
| * | | | server: Fix regression in partial message handlingvector-of-bool2017-11-201-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a partial message is flushed into the input pipe for CMake Server, the parser will try and parse it as a full message because of some bad loop checks. This was introduced accidentally in commit v3.10.0-rc1~365^2~2 (server: Refactor to make the event loop owned by server object, 2017-03-24).
* | | | | Merge topic 'autogen-rcc-custom-command'Brad King2017-11-2015-1658/+2003
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 40434631 Autogen: Use integers instead of strings for the Qt version be11a852 Autogen: Use project relative paths in rcc custom command comment ab9d5896 Autogen: Detect rcc feature once during configuration 2a85b5ac Autogen: Make cmQtAutoGeneratorInitializer an instantiable class 75819b86 Autogen: Add and use cmQtAutoGenerator base class 27ed3b35 Autogen: Rename cmQtAutoGenerators to cmQtAutoGeneratorMocUic 1cd285fe Autogen: Remove rcc code from cmQtAutoGenerators a87f82e0 Autogen: Switch to use custom commands for RCC ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1494
| * | | | | Autogen: Use integers instead of strings for the Qt versionSebastian Holtermann2017-11-193-16/+9
| | | | | |
| * | | | | Autogen: Use project relative paths in rcc custom command commentSebastian Holtermann2017-11-191-1/+21
| | | | | |
| * | | | | Autogen: Detect rcc feature once during configurationSebastian Holtermann2017-11-196-101/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We used to detect the `rcc` features before every `rcc` list invocation wich resulted in `rcc` be called twice for every listing operation. Now we detect the `rcc` list capabilities once during configuration and pass it to the cmake_autorcc target in the info file.
| * | | | | Autogen: Make cmQtAutoGeneratorInitializer an instantiable classSebastian Holtermann2017-11-198-759/+713
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the cmQtAutoGenDigest classes and make cmQtAutoGeneratorInitializer instantiable instead.
| * | | | | Autogen: Add and use cmQtAutoGenerator base classSebastian Holtermann2017-11-198-759/+487
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds the new base class `cmQtAutoGenerator` which contains common variables and methods used by `cmQtAutoGeneratorMocUic` and `cmQtAutoGeneratorRcc`.
| * | | | | Autogen: Rename cmQtAutoGenerators to cmQtAutoGeneratorMocUicSebastian Holtermann2017-11-194-76/+76
| | | | | |
| * | | | | Autogen: Remove rcc code from cmQtAutoGeneratorsSebastian Holtermann2017-11-192-308/+1
| | | | | |
| * | | | | Autogen: Switch to use custom commands for RCCSebastian Holtermann2017-11-192-209/+320
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of processing all `rcc` invocation requests in the _autogen target that calls `cmake -E cmake_autogen ...` once, use a dedicated custom command that calls `cmake -E cmake_autorcc ...` for each `.qrc` file. This allows parallel `.qrc` file processing and reduces the workload (and complexity) in the _autogen target. If only `AUTORCC` is enabled, the _autogen target won't be created at all since it is now used for `AUTOMOC` and `AUTOUIC` only. For `.qrc` files that are GENERATED a custom target is used instead of a custom command. Closes #17161
| * | | | | Autogen: Introduce standalone RCC generator classSebastian Holtermann2017-11-194-4/+844
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduces the standalone RCC generator class `cmQtAutoGeneratorRcc`. Every instance of `cmQtAutoGeneratorRcc` class handles the `rcc` invocation for a single `.qrc` file. The class will be used in the future to allow parallel `.qrc` file processing by calling `cmake -E cmake_autorcc <INFO_FILE> <CONFIG>`.
* | | | | Merge topic 'ctest-chrono'Brad King2017-11-2010-33/+44
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5fd979a8 CTest: adopt std::chrono::system_clock Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1487
| * | | | | CTest: adopt std::chrono::system_clockWouter Klouwen2017-11-1710-33/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After the refactor to make CTest use std::chrono::steady_clock for the keeping of time for test duration, there are still references to cmSystemTools::GetTime() left. To further adopt std::chrono for time related activities, this commit changes those remaining references to std::chrono::system_clock::now() calls and alters the storage from either unsigned int or double to std::chrono::system_clock::time_point. For ease of conversion, a converter method is added to cmXMLWriter that converts from a std::chrono::system_clock::time_point to the number of seconds since the UN*X epoch as that is expected behaviour. This means no more casts as required. Functionally should be no difference as the system_clock is implemented in the same terms.
* | | | | | Merge topic 'cuda-sep-comp-var'Brad King2017-11-201-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 00e13993 CUDA: Add CMAKE_CUDA_SEPARABLE_COMPILATION variable Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alexander Korsunsky <a.korsunsky@gmail.com> Merge-request: !1495
| * | | | | | CUDA: Add CMAKE_CUDA_SEPARABLE_COMPILATION variableBrad King2017-11-171-0/+1
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use its value to initialize the `CUDA_SEPARABLE_COMPILATION` target property when targets are created. Fixes: #17478