summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'libuv-raii'Brad King2017-12-013-3/+55
|\ | | | | | | | | | | | | | | | | 3bcaa870 cmUVHandlePtr: Add uv_process_ptr dd700e9b cmUVHandlePtr: Add uv_timer_ptr 32cfa7b3 cmUVHandlePtr: Move to CMakeLib to make it available everywhere Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1541
| * cmUVHandlePtr: Add uv_process_ptrBrad King2017-11-302-0/+19
| |
| * cmUVHandlePtr: Add uv_timer_ptrBrad King2017-11-302-0/+26
| |
| * cmUVHandlePtr: Move to CMakeLib to make it available everywhereBrad King2017-11-302-3/+10
| |
* | Merge topic 'fixCMakeVersionRC'Brad King2017-12-011-0/+3
|\ \ | | | | | | | | | | | | | | | | | | 4a3c19a5 Windows: Fix version embedding in CMake binaries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1536
| * | Windows: Fix version embedding in CMake binariesJustin Goshi2017-11-301-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 5b9da05b7a (Windows: Embed version information into CMake binaries, 2017-10-25) we left out `<winres.h>` since MinGW does not have the header, but it is needed for the `VS_VERSION_INFO` macro. Provide the macro ourselves. Suggested-by: Christian Pfeiffer <cpfeiffer@live.de>
* | | Merge topic 'simplify-fallthrough'Brad King2017-12-015-52/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | b2f612a0 Simplify CM_FALLTHROUGH implementation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1540
| * | | Simplify CM_FALLTHROUGH implementationBrad King2017-11-305-52/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the macro now provided by KWSys instead of using `try_compile` checks. It will no longer consider the `__attribute__((fallthrough))` variant, but compilers that don't have one of the modern attributes shouldn't warn about not using one anyway.
* | | | Merge topic 'update-kwsys'Brad King2017-12-014-1/+58
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | d094b679 Merge branch 'upstream-KWSys' into update-kwsys 5fa41459 KWSys 2017-11-30 (fa1ab7b8) a3e029ef cmStandardLexer.h: Do not include a C++ header Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1539
| * | | Merge branch 'upstream-KWSys' into update-kwsysBrad King2017-11-303-0/+57
| | | | | | | | | | | | | | | | | | | | * upstream-KWSys: KWSys 2017-11-30 (fa1ab7b8)
| * | | cmStandardLexer.h: Do not include a C++ headerBrad King2017-11-301-1/+1
| |/ / | | | | | | | | | This header is meant for inclusion in lexer `.c` files.
* | | CMake Nightly Date StampKitware Robot2017-12-011-1/+1
| |/ |/|
* | 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
| | | | | |