summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Refactor per-source generator expression evaluationMarc Chevrier2017-12-048-50/+114
| | | | | | Prepare to add generator expression support to more source properties. Factor out some duplicated code into a helper to avoid further duplication.
* Merge branch 'release-3.10'Brad King2017-12-010-0/+0
|\
| * Merge branch 'bootstrap-clang-5' into release-3.10Brad King2017-11-301-0/+1
| |\ | | | | | | | | | Merge-request: !1542
* | \ Merge topic 'update-gitsetup'Brad King2017-12-0111-871/+11
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5cb64508 Merge branch 'upstream-GitSetup' into update-gitsetup f223a7ca GitSetup 2017-10-26 (1639317d) cbd37fbe GitSetup: Restrict import to files we need Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !1543
| * \ \ Merge branch 'upstream-GitSetup' into update-gitsetupBrad King2017-11-3010-871/+4
| |\ \ \ | | | | | | | | | | | | | | | | | | | | * upstream-GitSetup: GitSetup 2017-10-26 (1639317d)
| | * | | GitSetup 2017-10-26 (1639317d)GitSetup Upstream2017-11-3010-871/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: https://gitlab.kitware.com/utils/gitsetup.git at commit 1639317d0774f7729118138e978ca6eec9cf984e (setup).
| * | | | GitSetup: Restrict import to files we needBrad King2017-11-301-0/+7
| | | | |
* | | | | Merge topic 'simplify_target_link_libraries'Brad King2017-12-014-85/+101
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8112059e target_link_libraries: Simplify implementation and add comments. b0e2f141 target_link_libraries: Slightly fix some error-messages. 85457b63 target_link_libraries: Return earlier on some error. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1531
| * | | | | target_link_libraries: Simplify implementation and add comments.Deniz Bahadir2017-11-302-54/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The implementation of `target_link_libraries` did grow over the years when new features where added. This commit cleans up the implementation and adds comments to better document its intention. The behavior of `target_link_libraries` itself is left untouched.
| * | | | | target_link_libraries: Slightly fix some error-messages.Deniz Bahadir2017-11-293-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some error-messages are slightly adjusted to better tell what invocation would be correct instead. Tests are adjusted accordingly.
| * | | | | target_link_libraries: Return earlier on some error.Deniz Bahadir2017-11-291-17/+17
| | | | | |
* | | | | | Merge topic 'libuv-raii'Brad King2017-12-017-4/+62
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-303-0/+20
| | | | | | |
| * | | | | | cmUVHandlePtr: Add uv_timer_ptrBrad King2017-11-303-0/+27
| | | | | | |
| * | | | | | cmUVHandlePtr: Move to CMakeLib to make it available everywhereBrad King2017-11-306-4/+15
| | |/ / / / | |/| | | |
* | | | | | Merge topic 'bootstrap-clang-5'Brad King2017-12-011-0/+1
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 375eca78 bootstrap: Check support for unordered_map from compiler mode Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1542
| * | | | | bootstrap: Check support for unordered_map from compiler modeAdam CiarciƄski2017-11-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some versions of clang 5 (with libc++) have a problem with `unordered_map` under `-std=gnu++1z`: /usr/include/c++/__hash_table:1134:43: error: conflicting types for '__hash_table<_Tp, _Hash, _Equal, _Alloc>' Include `unordered_map` in our test source so that we reject this combination and fall back to an older C++ standard flag. Fixes: #17526
* | | | | | Merge topic 'fix-cmake-server-bad-buffering-test'Brad King2017-12-011-1/+27
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9af5f672 test: Updated server test harness to try to cause fragmentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1508
| * | | | | | test: Updated server test harness to try to cause fragmentationJustin Berger2017-11-291-1/+27
| | | | | | |
* | | | | | | 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)
| | * | | | | | | | KWSys 2017-11-30 (fa1ab7b8)KWSys Upstream2017-11-303-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit fa1ab7b8d790498359ab1b1bff522a7401a918fc (master). Upstream Shortlog ----------------- Brad King (1): 1b09cf0d Configure: Add KWSYS_FALLTHROUGH macro for C++ code
| * | | | | | | | | 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-3016-143/+687
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | | | | | | |
| * | | | | | | tests: Added tests to verify UV RAII semantics/constructsJustin Berger2017-11-292-0/+183
| | | | | | | |
| * | | | | | | 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.
| * | | | | | | tests: unconditionally enabled server testsJustin Berger2017-11-292-6/+3
| | | | | | | |
| * | | | | | | utility: Disabled copy ctors in thread classesJustin Berger2017-11-291-0/+6
| | | | | | | |
* | | | | | | | Merge topic 'CMakeFindBinUtils-improve-switch'Brad King2017-11-307-14/+12
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | acb4cb95 CMakeFindBinUtils: Improve switch between MSVC- and GNU-like tools Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1533
| * | | | | | | | CMakeFindBinUtils: Improve switch between MSVC- and GNU-like toolsBrad King2017-11-287-14/+12
| | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The switch was not considering some languages, such as `ASM`. Instead of memorizing the list of languages in the condition, use a language specified by the includer. Fixes: #17510
* | | | | | | | Merge topic 'whitelist-more-interface-properties'Brad King2017-11-303-0/+24
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fb3c5bfd cmTargetPropertyComputer: whitelist custom properties Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1515
| * | | | | | | | cmTargetPropertyComputer: whitelist custom propertiesBen Boeckel2017-11-213-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CMake's properties will never begin with an underscore or a lowercase letter, so allow them to be set by projects.
* | | | | | | | | Merge topic 'findcuda-separable-compilation-fix'Brad King2017-11-301-2/+2
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3726ded1 FindCUDA: Add cublas device library to separable compilation Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Robert Maynard <robert.maynard@kitware.com> Merge-request: !1446
| * | | | | | | | | FindCUDA: Add cublas device library to separable compilationJamil Appa2017-11-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add cublas libraries to separable compilation device link line to resolve missing symbols when using cublas device library.
* | | | | | | | | | Merge topic 'findiconv-module'Brad King2017-11-308-0/+219
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 95646591 FindIconv: Add the FindIconv module. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1530
| * | | | | | | | | | FindIconv: Add the FindIconv module.Christian Pfeiffer2017-11-298-0/+219
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This module provides abstraction over the various ways POSIX platforms handle the iconv calls defined in POSIX.1-2001 and later versions.
* | | | | | | | | | | Merge topic 'CheckIncludeFiles-fix-src-name'Brad King2017-11-301-2/+2
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3eee3301 CheckIncludeFiles: Fix name of source file used for check Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1538
| * | | | | | | | | | | CheckIncludeFiles: Fix name of source file used for checkBrad King2017-11-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 7669695a74 (CheckIncludeFiles: extend to allow a LANGUAGE argument, 2017-11-08) the file name used for the check was accidentally left as `${var}.c`, where `var` is not a variable we define. It was passing tests by accidentally using just `.c` as the file name, but can break in real projects that may leave `var` defined to something else. The reference was taken from similar code in CheckTypeSize where the variable names are different. Fix our reference to be `${VARIABLE}`.
* | | | | | | | | | | | CMake Nightly Date StampKitware Robot2017-11-301-1/+1
| | | | | | | | | | | |
* | | | | | | | | | | | Merge topic 'check_fixtures_before_exe_existence'Craig Scott2017-11-292-3/+11
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-282-3/+11
| | | | | | | | | | | |
* | | | | | | | | | | | Merge branch 'release-3.10'Brad King2017-11-290-0/+0
|\ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | |
| * | | | | | | | | | | Merge branch 'clang-cl-fix' into release-3.10Brad King2017-11-281-3/+3
| |\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !1522
| * \ \ \ \ \ \ \ \ \ \ \ Merge branch 'cuda-implicit-include-dirs' into release-3.10Brad King2017-11-271-0/+3
| |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !1528