summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* FindDoxygen: Restore DOXYGEN_DOT_FOUND variableKonstantin Podsvirov2017-06-071-1/+1
| | | | | | The changes in commit v3.9.0-rc1~55^2 (Improve Doxygen support, 2017-04-10) accidentally dropped this variable from its compatibility mode.
* Merge topic 'GoogleTest-disabled-tests'Brad King2017-06-051-8/+38
|\ | | | | | | | | | | | | | | 92bbb706 GoogleTest: Add support for disabled tests Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Craig Scott <craig.scott@crascit.com> Merge-request: !920
| * GoogleTest: Add support for disabled testsChuck Atkins2017-06-051-8/+38
| | | | | | | | Fixes: #10612
* | Merge topic 'add-common-record-features-macros'Brad King2017-06-0112-179/+55
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3c1ecb52 Intel: Fix missing C std default for 12.0 <= ver < 12.1 f70b0bb3 SunPro: Make sure all known versions get CXX98 defaults 220ede74 GNU: Fix language defaults for 3.4 a40e6ba8 Clang: Fix language defaults for 2.1 9b112a84 Compilers: Port to use default cmake_record_lang_compile_features macros 37221529 MSVC: Add empty definitions for std compile options e556f1b9 CompileFeatures: Makes tests work with meta-feature only 20ffa147 Tests: Allow test macro to take no executable arguments ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !833
| * | Intel: Fix missing C std default for 12.0 <= ver < 12.1Chuck Atkins2017-05-311-1/+1
| | |
| * | SunPro: Make sure all known versions get CXX98 defaultsChuck Atkins2017-05-311-3/+3
| | |
| * | GNU: Fix language defaults for 3.4Chuck Atkins2017-05-301-1/+1
| | |
| * | Clang: Fix language defaults for 2.1Chuck Atkins2017-05-301-1/+1
| | |
| * | Compilers: Port to use default cmake_record_lang_compile_features macrosChuck Atkins2017-05-3011-171/+2
| | |
| * | MSVC: Add empty definitions for std compile optionsChuck Atkins2017-05-291-2/+16
| | | | | | | | | | | | | | | | | | There are no specific options for MSVC to set language standards, but set them as empty strings anyways so the feature test infrastructure can at least check to see if they are defined.
| * | Compilers: Add default cmake_record_{c,cxx}_compile_features macrosChuck Atkins2017-05-291-0/+31
| | | | | | | | | | | | | | | | | | Add default implementations for the cmake_record_lang_compile_features macros. All implementations of this are the same so it can be safely factored out to a common implementation.
* | | FindGSL: recognize libraries name with debug postfix as debug librariesSilvio Traversaro2017-05-311-5/+6
|/ / | | | | | | | | | | This modification is necessary if the GSL libraries are installed in an installation layout without Release and Debug subdirectories, for example when installed by vcpkg .
* | Merge topic 'sunpro-std-flags'Brad King2017-05-281-2/+6
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 370d0d25 SunPro: update flags used for CMake itself f1f21e30 SunPro: set -library=stlport as standard compile option for C++98 9316120c SunPro: add standard compile option for C++03 783fbb77 Tests: Compile entire Plugin test with the same language standard Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !879
| * | SunPro: set -library=stlport as standard compile option for C++98Daniel Pfeifer2017-05-261-0/+4
| | |
| * | SunPro: add standard compile option for C++03Daniel Pfeifer2017-05-261-2/+2
| | |
* | | Merge topic 'intel-std-flags'Brad King2017-05-282-36/+44
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | fc51b92c Intel: avoid variables in language standard flags Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !894
| * | | Intel: avoid variables in language standard flagsDaniel Pfeifer2017-05-262-36/+44
| | | | | | | | | | | | | | | | | | | | | | | | In the bootstrap script, we want to be able to extract language standard flags using sed. Make sure the content of the flag varianbles can be passed unmodified to the compiler.
* | | | Merge topic 'FindBoost-use-IN_LIST'Brad King2017-05-281-6/+10
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cc329a01 FindBoost: Simplify search in lists. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !750
| * | | | FindBoost: Simplify search in lists.Alex Turbov2017-05-261-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of `list(FIND...)` and then checking result for `-1` (found/not-found), nowadays `if` command has the `IN_LIST` test for that.
* | | | | Merge topic 'autogen_config'Brad King2017-05-281-3/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e3e692ca Autogen: Test adaptions dbda5906 Autogen: Per-config file suffixes. New AUTOGEN_BUILD_DIR target property. 0965002e Autogen: Pass build directory in Info file Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !858
| * | | | | Autogen: Per-config file suffixes. New AUTOGEN_BUILD_DIR target property.Sebastian Holtermann2017-05-261-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #14760 Closes #14313
| * | | | | Autogen: Pass build directory in Info fileSebastian Holtermann2017-05-261-0/+1
| | |/ / / | |/| | |
* | | | | Merge topic 'FindProtobuf-export-macro'Brad King2017-05-281-5/+16
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | 1ee20192 FindProtobuf: add optional export declaration macro to generated cpp files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !881
| * | | | FindProtobuf: add optional export declaration macro to generated cpp filesAndré Apitzsch2017-05-261-5/+16
| | | | |
* | | | | Merge topic 'findxmlrpc_fix'Brad King2017-05-261-18/+12
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | eb0cfd28 FindXMLRPC: handle QUIETLY and REQUIRED correctly Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !887
| * | | | FindXMLRPC: handle QUIETLY and REQUIRED correctlyNiklas Simons2017-05-251-18/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the built in FindPackageHandleStandardArgs. Fixes: #16912 Signed-off-by: Niklas Simons <nsimons@abo.fi>
* | | | | Merge topic 'FindCygwin-alt-arch'Brad King2017-05-251-2/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d3034654 FindCygwin: Use find_program instead of find_path Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !883
| * | | | | FindCygwin: Use find_program instead of find_pathTibor Szabo2017-05-231-2/+2
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cygwin's installation directory is mainly needed to use some programs of it, irrespectively of the target architecture. However, find_path does not consider cygwin with architecture different than the target architecture. This is because cygwin's installation path is retrieved from the registry. WOW64 view is not used by find_path if generating for 32-bit architecture and vice versa, so cygwin is not found then. find_program tries both views, this way a 64-bit cygwin may be used for 32 bit build and vice versa.
* | | | | Merge topic 'FindDoxygen-add-docs-function'Brad King2017-05-251-124/+997
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 59ffabfe Improve Doxygen support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !684
| * | | | | Improve Doxygen supportAlex Turbov2017-05-241-124/+997
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Except Graphviz's `dot` Doxygen may use few other utilities like `mscgen` (Message Sequence Chart) and `dia` (Diagram Editor). Now this module allows to manage Doxygen settings from `CMakeLists.txt` and forget about `Doxyfile`s. Also it provides a helper function to add a target to generate documentation: `doxygen_add_docs`. Implement code review notes: - Introduce `COMPONENTS` to find: `dot`, `mscgen` and `dia`; - Deprecate variables `DOXYGEN_SKIP_DOT`, `DOXYGEN_EXECUTABLE`, `DOXYGEN_DOT_EXECUTABLE`, `DOXYGEN_DOT_FOUND` in favour of `doxygen_add_docs ` usage instead; - Properly handle paths to found tools in Windows; - Prevent adding a custom target if Doxygen was not really found; - Introduce exported (executable) targets for found components. Co-Author: Craig Scott <craig.scott@crascit.com>
* | | | | Merge topic 'find_dependency-improvements'Brad King2017-05-251-29/+9
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | ab358d6a Improve find_dependency argument handling Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !872
| * | | | Improve find_dependency argument handlingMatthew Woehlke2017-05-221-29/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove highly specialized and totally positional argument handling in find_dependency macro, and instead just pass arguments through to find_package. This gives users access to the full suite of arguments that find_package knows, and is backward compatible with the old arguments. Also, rewrite the unit tests for this, since the old tests are exclusively focused on testing the old argument handling and are no longer applicable, and add some success tests (the old tests did not even set up the CMake state in a way that CMake had any hope of ever finding the test package).
* | | | | Merge topic 'vs15-GNUtoMS'Brad King2017-05-241-0/+15
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | abe8a623 GNUtoMS: Add search path for VS 2017 environment scripts Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !875
| * | | | | GNUtoMS: Add search path for VS 2017 environment scriptsAlex Ghosh2017-05-221-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use `cmake_host_system_information` to query the VS Installer tool for the locations of VS versions since VS 2017 does not provide registry entries anymore. Add a loop to simplify addition of future versions.
* | | | | | Merge topic 'IAR-response-flag-space'Brad King2017-05-242-2/+2
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 68ea936f Added space after IAR response file flag Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !880
| * | | | | Added space after IAR response file flagAndreas Weis2017-05-232-2/+2
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | Without the space between the flag and the filename, IAR will fail to parse the arguments correctly.
* | | | | Merge topic 'FindImageMagick-support-v7'Brad King2017-05-231-7/+16
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4131d1b5 FindImageMagick: Update to work with v7 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !874
| * | | | | FindImageMagick: Update to work with v7Robert Dailey2017-05-221-7/+16
| |/ / / /
* | | | | FindProtobuf: Rename imported targets to match upstream namesBrad King2017-05-221-27/+27
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename our recently added imported targets to match those provided by the upstream's CMake-based build. That way a project using `find_package(Protobuf)` can get the same target names no matter how protobuf is found. Suggested-by: Konstantin Podsvirov <konstantin@podsvirov.pro>
* | | | Merge topic 'pgi-fix-windows'Brad King2017-05-226-5/+78
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4eb15824 Windows-PGI: Add platform definitions a94ae96e Windows-PGI: Adapt default compiler flags c2c2d366 ImplicitLinkInfo: Add support for PGI on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !794
| * | | | Windows-PGI: Add platform definitionsChristian Pfeiffer2017-05-204-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PGI on Windows should use the Visual C++ linker and librarian and not the ar provided for legacy reasons. The compiler parameters themselves are the same as their Linux parameters and not compatible to MSVC however.
| * | | | Windows-PGI: Adapt default compiler flagsChristian Pfeiffer2017-05-201-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PGI demands -Bdynamic (/MD equivalent) for linking together dynamic libraries, so we should make it our default mirroring the settings of e.g. Visual C++ and Intel C++.
| * | | | ImplicitLinkInfo: Add support for PGI on WindowsChristian Pfeiffer2017-05-201-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since PGI does not write linker directives into objects, the necessary libraries have to be parsed from commandline. PGI does however link the Visual C++ runtime libraries, so they have to be filtered out to ensure no collision with settings of other languages can occur.
* | | | | Merge topic 'UseEcos-update'Brad King2017-05-221-2/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 47732280 UseEcos: Fix for separate <DEFINES> and <INCLUDES> placeholders Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !871
| * | | | | UseEcos: Fix for separate <DEFINES> and <INCLUDES> placeholdersFlorian Schmaus2017-05-191-2/+2
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the module to account for commit v3.4.0-rc1~342^2 (Factor an <INCLUDES> placeholder out of <FLAGS> in rule variables, 2015-07-13) and v2.6.0~537 (Create COMPILE_DEFINITIONS property for targets and source files, 2008-01-14). Fixes: #16904
* | | | | Merge topic 'FindProtobuf-targets'Brad King2017-05-191-0/+81
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 37627217 Help: Add notes for topic 'FindProtobuf-targets' e4e1d194 FindProtobuf: add tests f29635b6 FindProtobuf: add targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !861
| * | | | FindProtobuf: add targetsAndré Apitzsch2017-05-181-0/+81
| | | | |
* | | | | Merge topic 'string-append'Brad King2017-05-1813-28/+28
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9e24af01 Use string(APPEND) in Modules Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !864
| * | | | | Use string(APPEND) in ModulesDaniel Pfeifer2017-05-1713-28/+28
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automate with: find Modules -type f -print0 | xargs -0 perl -i -0pe \ 's/set\(([a-zA-Z0-9_\$\{\}]+)(\s+)"\$\{\1\}([^"])/string(APPEND \1\2"\3/g'
* | | | | Merge topic 'cpack-archive-per-component-filename'Brad King2017-05-181-0/+39
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9e06e97d CPack/Archive: per component filenames support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !859