Brad King
a2a13e8b48
Merge topic 'ipo-clang'
...
7d057b27 Clang IPO (LTO) support
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !717
2017-05-01 09:15:46 -04:00
Chuck Atkins
6555286c55
XL: Add C and C++ language level flags
2017-04-28 11:48:32 -04:00
Chuck Atkins
54a4d28dcf
XL: Add additional regex for bogus compile options
2017-04-28 11:08:41 -04:00
Ruslan Baratov
7d057b2738
Clang IPO (LTO) support
2017-04-28 17:13:56 +03:00
Brad King
2911d47016
Merge topic 'fix-qhalt-for-xl'
...
f320907b XL: Fix the use of the -qhalt flag for varying OSs
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !771
2017-04-28 09:53:50 -04:00
Brad King
b61e9f8382
Merge topic 'FindBoost-compile-features'
...
4c2ae38b Boost Fiber actually require at least C++11.
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !749
2017-04-28 09:52:41 -04:00
Brad King
12512bdb51
Merge topic 'separgs-native'
...
28d83837 separgs: Use NATIVE_COMMAND where appropriate
2a207aac separgs: Add a NATIVE_COMMAND mode
81841426 separgs: Migrate tests to RunCMake tests
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !753
2017-04-28 09:52:07 -04:00
Chuck Atkins
f320907b3d
XL: Fix the use of the -qhalt flag for varying OSs
...
The valid settings to pass to the IBM XL compiler for the -qhalt flag
vary widely by language and platform. Based on existing documentation,
the following table shows which error levels are valid to pass to
-qhalt= since -qhalt=e is not always available.
OS | xlc | xlC | xlf |
---------|-------|------------------
AIX | iwes | iw s | ilwesu |
BlueGene | iwes | iwes | ilwesu |
OS X | iwesu | iwesu | ilwesu |
Linux | w | w | ilwesu |
2017-04-27 13:29:28 -04:00
Brad King
f0ae821681
Merge topic 'cpackifw-framework-version'
...
993ebdc7 CPackIFW: Framework version
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !761
2017-04-27 09:05:03 -04:00
Brad King
a7d9666d5d
Merge topic 'UseSWIG-fallback-prefix'
...
8ed66379 UseSWIG: Fall back to empty PREFIX for unknown languages
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !767
2017-04-27 09:03:39 -04:00
Brad King
7c31ac6689
Merge topic 'FindGLUT-optional-deps'
...
e1b67d03 FindGLUT: Add library dependencies only if they exist
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !765
2017-04-27 08:58:51 -04:00
Christian Pfeiffer
28d8383797
separgs: Use NATIVE_COMMAND where appropriate
2017-04-26 20:34:23 +02:00
Brad King
380232e105
Merge topic 'xctest_static_framework'
...
bfa92e57 XCTest: Add support for static frameworks
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !732
2017-04-26 09:00:20 -04:00
Brad King
f03bbc3970
Merge topic 'findopenmp-modernized'
...
99ac0940 FindOpenMP: Add tests
bb032c1b FindOpenMP: Complete overhaul.
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !733
2017-04-26 08:59:02 -04:00
Brad King
e1b67d0373
FindGLUT: Add library dependencies only if they exist
...
Fixes : #14060
2017-04-26 08:14:08 -04:00
Konstantin Podsvirov
993ebdc72d
CPackIFW: Framework version
...
Improved algorithm for finding the version of QtIFW tools.
2017-04-25 21:43:21 +03:00
Guillaume Campagna
bfa92e5725
XCTest: Add support for static frameworks
...
Fixes : #16636
2017-04-25 09:56:34 -04:00
Christian Pfeiffer
bb032c1bf5
FindOpenMP: Complete overhaul.
2017-04-25 09:11:55 -04:00
Brad King
8ed663791b
UseSWIG: Fall back to empty PREFIX for unknown languages
...
Teach `SWIG_ADD_LIBRARY` to fall back to an empty library prefix for
languages we don't explicitly define already.
Suggested-by: Alan W. Irwin <irwin@beluga.phys.uvic.ca >
2017-04-25 08:52:14 -04:00
Brad King
dc6632b9da
Merge topic 'remove-xcode-2'
...
7373b389 Xcode: Drop support for Xcode versions below 3
eaf53849 Xcode: Compute version number earlier
Acked-by: Kitware Robot <kwrobot@kitware.com >
Reviewed-by: Gregor Jasny <gjasny@googlemail.com >
Merge-request: !737
2017-04-24 09:40:44 -04:00
Brad King
96b2637474
Merge topic 'findmpi-improvements'
...
ece4f647 FindMPI: Modernize documentation
6d4fa021 FindMPI: MPIEXEC handling improvements
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !740
2017-04-24 09:38:02 -04:00
Brad King
3ade7a306e
Merge topic 'namespace-jar-exports'
...
0bee0066 Tests: Test namespaces with exported JARs
789c8de3 UseJava: Support namespaced exports
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !729
2017-04-24 09:35:29 -04:00
Alex Turbov
4c2ae38b0b
Boost Fiber actually require at least C++11.
...
Some boost libraries may require particular set of compler features.
The very first one was `boost::fiber` introduced in Boost 1.62.
One can check required compiler features of it in
`${Boost_ROOT}/libs/fiber/build/Jamfile.v2`.
2017-04-23 21:19:37 +07:00
Brad King
7373b389eb
Xcode: Drop support for Xcode versions below 3
2017-04-22 15:19:11 -04:00
Christian Pfeiffer
ece4f64749
FindMPI: Modernize documentation
2017-04-21 20:02:20 +02:00
Christian Pfeiffer
6d4fa0210e
FindMPI: MPIEXEC handling improvements
2017-04-21 20:01:37 +02:00
Matthew Woehlke
789c8de3df
UseJava: Support namespaced exports
...
Add NAMESPACE option to export_jars and install_jar_exports. Import
JAR's as imported static libraries rather than custom targets, as this
is necessary to allow the imported targets to contain ':' in their
names. (This also means they won't show up in VS projects, which is more
consistent with other imported targets.) Also, improve the documentation
to be more stylistically consistent with documentation elsewhere.
2017-04-21 10:51:09 -04:00
Brad King
0ad8e4ea65
Merge topic 'cpack-rpm-buildrequires-docs'
...
8b3693e4 CPack/RPM doc: CPACK_RPM_BUILDREQUIRES docs
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !730
2017-04-21 08:56:33 -04:00
Brad King
744f809765
Merge topic 'GNUInstallDirs-add-RUNSTATEDIR'
...
40814a7c GNUInstallDirs: Add RUNSTATEDIR variable
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !706
2017-04-21 08:55:31 -04:00
Brad King
b5a5b227f9
Merge topic 'FindwxWidgets-verify-wx-config'
...
e8b77084 FindwxWidgets: Verify existence of libraries reported by wx-config
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !704
2017-04-21 08:51:21 -04:00
Brad King
2b7aecba16
Merge topic 'autogen-fixes'
...
09035319 Autogen: Pass explicit predefines header to moc if possible
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !671
2017-04-21 08:43:43 -04:00
Domen Vrankar
8b3693e466
CPack/RPM doc: CPACK_RPM_BUILDREQUIRES docs
...
Missing documentation for an already existing
CPackRPM source rpm packages feature.
Fixes #16814
2017-04-20 16:19:20 -04:00
Felix Geyer
40814a7ce9
GNUInstallDirs: Add RUNSTATEDIR variable
2017-04-20 17:25:46 +02:00
Jan Mrázek
e8b77084df
FindwxWidgets: Verify existence of libraries reported by wx-config
...
When the Ubuntu package `libwxgtk3-dev` is not installed, FindwxWidgets
succeeds even the required libraries are not actually found. The reason
for that is that `wx-config` does not perform any kind of check and uses
hard-coded values. This affects e.g. KiCAD build process and makes it
fail with a confusing error message [1]. The solution is to check for
presence of every library file obtained from `wx-config`.
[1] https://bugs.launchpad.net/kicad/+bug/1630020
2017-04-20 09:15:59 -04:00
Aleix Pol
0903531964
Autogen: Pass explicit predefines header to moc if possible
...
Qt is relying on whoever calls moc to include a file with the predefined
values that will be used by the compiler, otherwise moc takes wrong
paths and weird things happen.
Instead, generate an include file and feed it to all mocs to make sure
it's generating correct code.
Co-Author: Sebastian Holtermann <sebholt@xwmw.org >
Fixes : #16640
2017-04-20 08:59:07 -04:00
Brad King
24b04b5134
Merge topic 'remove-vs7.1-generator'
...
c94f1bcf Drop Visual Studio 7 .NET 2003 generator
a4452fd8 cmGlobalVisualStudioGenerator: Drop VS7 enumeration value
6e66fe5f cmGlobalVisualStudio8Generator: Drop unused GetDocumentation method
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !723
2017-04-20 08:47:26 -04:00
Brad King
6c7460bc48
Merge topic 'FindBoost-fix-backslash-tolerance'
...
2516bccd FindBoost: Restore tolerance of backslashes in paths
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !721
2017-04-20 08:47:05 -04:00
Brad King
01d72391b3
Merge topic 'FindOpenSSL-more-precompiled'
...
16ef163f FindOpenSSL: Add more library name alternatives
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !713
2017-04-20 08:46:47 -04:00
Brad King
c94f1bcf92
Drop Visual Studio 7 .NET 2003 generator
...
This generator has been deprecated since CMake 3.6. Remove it.
2017-04-19 15:28:05 -04:00
Alex Turbov
2516bccdf6
FindBoost: Restore tolerance of backslashes in paths
...
Since commit v3.8.0-rc1~136^2 (FindBoost: Search official location of
prebuilt binaries on Windows, 2016-12-21) we pass input paths through
`_Boost_UPDATE_WINDOWS_LIBRARY_SEARCH_DIRS_WITH_PREBUILT_PATHS` in more
places than before. This broke tolerance of backslashes in paths
provided by the user due to the macro argument re-parsing. Turn
`_Boost_UPDATE_WINDOWS_LIBRARY_SEARCH_DIRS_WITH_PREBUILT_PATHS` into a
function instead of macro to avoid re-parsing of macro arguments.
Fixes : #16816
2017-04-19 11:24:41 -04:00
Alex Turbov
16ef163fd6
FindOpenSSL: Add more library name alternatives
...
Add names found in OpenSSL 1.1.0 builds from [1].
[1] https://www.npcglib.org/~stathis/blog/precompiled-openssl/
2017-04-19 11:08:42 -04:00
Brad King
c79e7e09a8
Merge topic 'findmpi-add-imported-targets'
...
3ed9f635 FindMPI: Add test case
86979bb5 FindMPI: Add IMPORTED targets
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !707
2017-04-19 10:45:03 -04:00
Brad King
afc492d58f
Merge topic 'tcc-enable_exports'
...
11ab003b TinyCC: Support ENABLE_EXPORT property
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !711
2017-04-18 08:54:45 -04:00
Brad King
eedcaf44bc
Merge topic 'cpackifw-search-algorithm'
...
049be8b9 CPackIFW: Added new QtIFW versions for search
d97978b8 CPackIFW: Improved QtIFW search algorithm
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !674
2017-04-18 08:54:04 -04:00
Brad King
59ffd81f17
Merge topic 'findmpi-mark-library-advanced'
...
d9d280f5 FindMPI: Mark old MPI library entries as advanced
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !708
2017-04-18 08:53:21 -04:00
hsc
11ab003b3a
TinyCC: Support ENABLE_EXPORT property
...
Replace the default -Wl,--export-dynamic with -rdynamic.
2017-04-17 17:34:52 +02:00
Brad King
c0323cbf5f
Merge topic 'vs-custom-kits-dir'
...
fee01194 VS: Add an environment variable for the Windows 10 kits directory
b80c6d12 VS: Refactor Win 10 Kits root detection to support multiple roots
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !696
2017-04-17 10:29:15 -04:00
Christian Pfeiffer
86979bb533
FindMPI: Add IMPORTED targets
2017-04-16 01:12:55 +02:00
Christian Pfeiffer
d9d280f531
FindMPI: Mark old MPI library entries as advanced
2017-04-16 00:24:10 +02:00
Konstantin Podsvirov
049be8b95f
CPackIFW: Added new QtIFW versions for search
2017-04-15 07:02:11 +03:00