summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'vs-ApplicationTypeRevision'Brad King2019-05-221-2/+2
|\ | | | | | | | | | | | | | | 9c07cefee5 VS: Fix ApplicationTypeRevision in builtin check projects 639e14def6 VS: Factor out helper to compute ApplicationTypeRevision Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3350
| * VS: Fix ApplicationTypeRevision in builtin check projectsBrad King2019-05-211-2/+2
| | | | | | | | | | | | | | Do not use the entire `CMAKE_SYSTEM_VERSION`, but rather the first two components only. Fixes: #19275
* | IAR: Do not print compiler architecture id for non-IAR compilersBrad King2019-05-212-2/+2
| | | | | | | | | | | | | | The compiler identification message was modified in commit ea83d0f8fb (IAR: Generalize and add support for IAR RX compiler, 2019-04-05) to include the architecture id since IAR compilers are arch-specific. Revise the logic to avoid modifying the message for other compilers.
* | Merge topic 'FindPostgreSQL-config-support'Brad King2019-05-211-13/+46
|\ \ | |/ |/| | | | | | | | | 368bcba28a FindPostgreSQL: Find debug lib, imported configs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3298
| * FindPostgreSQL: Find debug lib, imported configsAndrei Lebedev2019-05-201-13/+46
| | | | | | | | | | | | | | | | * Add find_library calls for debug and release * Set imported configs for corresponding libraries in imported target * Set debug/optimized in PostgreSQL_LIBRARIES Signed-off-by: Andrei Lebedev <lebdron@gmail.com>
* | Merge topic 'ninja-swift'Brad King2019-05-205-31/+130
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a9180ccf9a Tests: add a check for the Swift compiler d745551fb6 Help: add some initial documentation for Swift support 9a182c9e5b Auxiliary: update vim syntax highlighting e9b0063e8e Modules: add build rules for Swift Ninja support b6412e3e38 Ninja: add placeholders to support Swift build 7d7f31161d Ninja: add support for Swift's output-file-map.json d688c4c19d Swift: remove unnecessary unreleased Ninja infrastructure 0723582208 Swift: Detect compiler version ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3297
| * | Modules: add build rules for Swift Ninja supportSaleem Abdulrasool2019-05-164-24/+98
| | | | | | | | | | | | Add rules to support building Swift sources using Ninja.
| * | Swift: Detect compiler versionBrad King2019-05-161-0/+24
| | |
| * | CMakeDetermineCompilerId: Make CMAKE_${lang}_COMPILER available earlierBrad King2019-05-161-7/+8
| | | | | | | | | | | | | | | If compiler id detection gave us the compiler tool, copy its value to the `CMAKE_${lang}_COMPILER` variable as early as possible.
* | | FindPNG: Fix definitions on imported targetAxel Huebl2019-05-171-1/+4
| |/ |/| | | | | | | The `INTERFACE_COMPILE_DEFINITIONS` property should not have ``-D`` in its value.
* | Merge topic 'findblas_mklroot_bla_vendor'Brad King2019-05-171-9/+8
|\ \ | | | | | | | | | | | | | | | | | | 89ab54c112 FindBLAS: Choose MKL arch based on BLA_VENDOR Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3330
| * | FindBLAS: Choose MKL arch based on BLA_VENDORJakub Benda2019-05-161-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Recently, FindBLAS has been extended with additional library search path based on the environment variable MKLROOT. However, the choice of the Intel MKL architecture (IA-32 vs Intel64) was based on unrelated (and possibly undefined) size of integer. This commit changes the selection of the Intel MKL architecture to instead consider the variable BLA_VENDOR, if available. So, if the environment variable MKLROOT is defined and BLA_VENDOR=Intel10_32, then $ENV{MKLROOT}/lib/ia32_<OS> will be added to the search path (OS = lin, win, or mac). Similarly, if MKLROOT is defined and BLA_VENDOR=Intel10_64lp or BLA_VENDOR=Intel10_64ilp, then the path $ENV{MKLROOT}/intel64_<OS> will be used. If either MKLROOT or BLA_VENDOR is undefined, no additional search path on top of LD_LIBRARY_PATH / DYLD_LIBRARY_PATH / LIB is be added.
* | | Merge topic 'use_additional_clean_files'Brad King2019-05-174-8/+9
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | eda3963615 UseSWIG: Use ADDITIONAL_CLEAN_FILES for cleaning 8c47be28cc UseJava: Use ADDITIONAL_CLEAN_FILES for cleaning ac86c02d1b UseEcos: Use ADDITIONAL_CLEAN_FILES for cleaning 2532e00339 FindDoxygen: Use ADDITIONAL_CLEAN_FILES for cleaning 4edc0ef359 Test: Improve WarnUnusedCliUnused to run on all generators Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3328
| * | UseSWIG: Use ADDITIONAL_CLEAN_FILES for cleaningSebastian Holtermann2019-05-151-2/+2
| | | | | | | | | | | | | | | Replace use of the deprecated `ADDITIONAL_MAKE_CLEAN_FILES` directory property with the new `ADDITIONAL_CLEAN_FILES` directory property.
| * | UseJava: Use ADDITIONAL_CLEAN_FILES for cleaningSebastian Holtermann2019-05-151-1/+2
| | | | | | | | | | | | | | | Replace use of the deprecated `ADDITIONAL_MAKE_CLEAN_FILES` directory property with the new `ADDITIONAL_CLEAN_FILES` directory property.
| * | UseEcos: Use ADDITIONAL_CLEAN_FILES for cleaningSebastian Holtermann2019-05-151-4/+4
| | | | | | | | | | | | | | | Replace use of the deprecated `ADDITIONAL_MAKE_CLEAN_FILES` directory property with the new `ADDITIONAL_CLEAN_FILES` directory property.
| * | FindDoxygen: Use ADDITIONAL_CLEAN_FILES for cleaningSebastian Holtermann2019-05-151-1/+1
| | | | | | | | | | | | | | | Replace use of the deprecated `ADDITIONAL_MAKE_CLEAN_FILES` directory property with the new `ADDITIONAL_CLEAN_FILES` directory property.
* | | Merge topic 'armclang'Brad King2019-05-1613-1/+121
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 7b0abaac31 ARMClang: Add support for Clang-based ARM compiler Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3315
| * | | ARMClang: Add support for Clang-based ARM compilerJohan Stridkvist2019-05-1413-1/+121
| | | | | | | | | | | | | | | | Fixes: #18215
* | | | Merge topic 'FindBoost-allow-root'Brad King2019-05-161-1/+5
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | e1e3935f5d FindBoost: Remove obsolete diagnostic message about Boost_ROOT Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3323
| * | | FindBoost: Remove obsolete diagnostic message about Boost_ROOTDennis Klein2019-05-151-1/+5
| | |/ | |/| | | | | | | | | | | | | | | | | | | CMake 3.12 introduced <package>_ROOT CMake and environment variables to be valid hints to find_package(<package>). Defining Boost_ROOT is no longer wrong if CMP0074 is set to NEW. Fixes #18810
* | | Merge topic 'msvc-jmc'Brad King2019-05-152-0/+10
|\ \ \ | |/ / |/| | | | | | | | | | | | | | 2a9ff9703e MSVC: Add support for /JMC (Just My Code) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3121
| * | MSVC: Add support for /JMC (Just My Code)Luca Cappa2019-05-142-0/+10
| | |
* | | Merge topic 'refactor_docs_use_java'Craig Scott2019-05-151-294/+229
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 359e2d401d UseJava: Refactor documentation for better formatting Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3303
| * | | UseJava: Refactor documentation for better formattingRobert Maynard2019-05-151-294/+229
| |/ / | | | | | | Co-Authored-By: Craig Scott <craig.scott@crascit.com>
* | | Modules: Consistently use 2 space indentationKitware Robot2019-05-1448-1627/+1624
| | |
* | | Merge topic 'find-boost-cmp0093'Brad King2019-05-141-3/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 5108759ed2 FindBoost: Introduce CMP0093 to report Boost_VERSION in x.y.z format Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3317
| * | | FindBoost: Introduce CMP0093 to report Boost_VERSION in x.y.z formatDennis Klein2019-05-131-3/+12
| | | | | | | | | | | | | | | | This aligns module mode behaviour with config mode.
* | | | Merge topic 'relax_cxx_relaxed_constexpr_requirements'Brad King2019-05-144-12/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d156f8f5a2 CompileFeatures: Record when MSVC gained full CXX14 support 62dbe53a8a CompileFeatures: Record when Intel gained full CXX14 support 1ebb0d79fe CompileFeatures: Relax cxx_relaxed_constexpr compiler requirements Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3292
| * | | | CompileFeatures: Record when MSVC gained full CXX14 supportRobert Maynard2019-05-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the infrastructure added by commit 646fb1a646 (CompileFeatures: memoize C++ compilers with full language level support, 2019-03-27) to avoid using a `try_compile` to check for C++14 feature support when the running compiler is known to have all features.
| * | | | CompileFeatures: Record when Intel gained full CXX14 supportRobert Maynard2019-05-131-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the infrastructure added by commit 646fb1a646 (CompileFeatures: memoize C++ compilers with full language level support, 2019-03-27) to avoid using a `try_compile` to check for C++14 feature support when the running compiler is known to have all features.
| * | | | CompileFeatures: Relax cxx_relaxed_constexpr compiler requirementsRobert Maynard2019-05-132-5/+3
| | |/ / | |/| | | | | | | | | | | | | | This in effect means that cxx_relaxed_constexpr is now supported by MSVC and Intel 18.0-18.04.
* | | | Merge topic 'apple_clang_cxx_20_support'Brad King2019-05-141-1/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9523ca72e2 Features: Activate C++20 support for AppleClang 10.0+ Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3294
| * | | | Features: Activate C++20 support for AppleClang 10.0+Robert Maynard2019-05-071-1/+5
| |/ / /
* | | | Merge topic 'swig4'Brad King2019-05-141-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 65c5c1b567 FindSWIG: Support swig4.0 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3314
| * | | | FindSWIG: Support swig4.0Daniele E. Domenichelli2019-05-131-1/+1
| | | | |
* | | | | Merge topic 'ios-xctest-lookup'Brad King2019-05-141-0/+19
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | e9d128b789 Apple: Properly lookup XCTest for iOS and tvOS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3309
| * | | | Apple: Properly lookup XCTest for iOS and tvOSGregor Jasny2019-05-111-0/+19
| | | | | | | | | | | | | | | | | | | | Closes: #19172
* | | | | Merge topic 'apple_clang_full_cxx_14_support'Brad King2019-05-131-0/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | daad51c3b7 CompileFeatures: Record when AppleClang gained full CXX14 support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3293
| * | | | | CompileFeatures: Record when AppleClang gained full CXX14 supportRobert Maynard2019-05-071-0/+2
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the infrastructure added by commit 646fb1a646 (CompileFeatures: memoize C++ compilers with full language level support, 2019-03-27) to avoid using a `try_compile` to check for C++14 feature support when the running compiler is known to have all features.
* | | | | Merge topic 'iar-new_architectures'Brad King2019-05-136-28/+62
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4178096493 IAR: Add architecture support for RL78, RH850 and MSP430 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3288
| * | | | | IAR: Add architecture support for RL78, RH850 and MSP430Stefan Andersson2019-05-086-28/+62
| | | | | |
* | | | | | Merge topic 'FindProtobuf-gen-sources'Brad King2019-05-131-1/+6
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9a324cbee0 Protobuf: Fix generated source path with PROTOBUF_GENERATE_CPP_APPEND_PATH OFF Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3295
| * | | | | Protobuf: Fix generated source path with PROTOBUF_GENERATE_CPP_APPEND_PATH OFFBob Weinand2019-05-081-1/+6
| | |/ / / | |/| | |
* | | | | Merge topic 'FindPython-module'Marc Chevrier2019-05-104-77/+124
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 30b873c05d FindPython*: Manage weak link for Python modules Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !3291
| * | | | | FindPython*: Manage weak link for Python modulesMarc Chevrier2019-05-074-77/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add new target Python::Module which take care of platform requirements for Python module development. Fixes: #18100
* | | | | | Merge topic 'FindBoost-fphsa'Brad King2019-05-081-219/+147
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 634f6ea159 FindBoost: Add new unit tests a22dd5d8be FindBoost: Modernize module mode with FPHSA a315977595 FindBoost: Fix and modernize config mode with FPHSA 24342d5ef7 FindBoost: Add vars Boost_VERSION_MACRO/MAJOR/MINOR/PATCH/COUNT 26634752d0 FindBoost: Introduce new imported target Boost::headers d6c12f374d FindBoost: Compare versions consistently against Boost_VERSION_STRING Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3243
| * | | | | FindBoost: Modernize module mode with FPHSADennis Klein2019-05-071-130/+24
| | | | | |
| * | | | | FindBoost: Fix and modernize config mode with FPHSADennis Klein2019-05-071-10/+26
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #19186
| * | | | | FindBoost: Add vars Boost_VERSION_MACRO/MAJOR/MINOR/PATCH/COUNTDennis Klein2019-05-071-19/+34
| | | | | |