David Cole
b16de67e8f
Merge topic 'FindX11ImprovementsFromKDE'
...
6899e58 Also search for libxkbfile, XSync and SM include dir
fe6bb7a Remove trailing whitespace
2011-08-16 17:02:30 -04:00
David Cole
e9a943bab2
Merge topic 'fix-12054-eliminate-findjava-noise'
...
f462369 remove extra output message from FindJava.cmake
2011-08-16 17:02:11 -04:00
David Cole
dfb307fef5
Merge topic 'fix-old-VisualAge-Fortran'
...
ad542d8 XL: Fix old VisualAge branding of Fortran compiler
2011-08-16 17:01:47 -04:00
David Cole
39743b9060
Merge topic 'hdf5-module-12316-fix'
...
ad218e4 Added HDF5 high level Fortran bindings to available components.
2011-08-16 17:01:39 -04:00
Stephen Kelly
1ae3365e9f
Exclude PGI from exports and deprecated.
2011-08-16 01:21:59 +02:00
Stephen Kelly
f426496055
Exclude cygwin from the hidden visibility feature.
2011-08-16 01:19:37 +02:00
Stephen Kelly
f84c7db592
Don't enable deprecated on old GCC
...
Hopefully a fix for
http://www.cdash.org/CDash/testDetails.php?test=109688480&build=1432057
2011-08-16 01:17:26 +02:00
Stephen Kelly
9672b332b1
Don't enable deprecated on HP.
2011-08-16 01:13:10 +02:00
Alex Neundorf
e552ae7cfd
Dont check for -isysroot and -mmacosx-version on OSX in --find-package mode
...
Alex
2011-08-16 00:30:51 +02:00
Alex Neundorf
e589589ab1
Rename helper macros print_compile_flags() to set_compile_flags_var()
...
The same for print_link_flags(), it is now set_link_flags_var().
Both macros don't print anything anymore, this was only in the
beginning.
Alex
2011-08-16 00:22:17 +02:00
Alexey Ozeritsky
cfad24a36b
fixed: search of ATLAS library for C/C++-only projects
2011-08-15 17:54:28 +04:00
Alex Neundorf
126c6ead77
Add the cmake module required currently for automoc
...
Alex
2011-08-14 15:58:00 +02:00
Stephen Kelly
97392a7dd3
Fixup forgotten part of aed84517c942a4c40f493fcf997cdf6a047349f8
2011-08-14 15:37:24 +02:00
Stephen Kelly
2aeab4f973
Borland can't do deprecated.
2011-08-13 23:49:17 +02:00
Stephen Kelly
aed84517c9
Test for deprecated attribute before declspec.
...
The attribute seems more common, and some compilers seem to silently
ignore the declspec.
2011-08-13 22:58:15 +02:00
Alexey Ozeritsky
d5e603026b
ACML-GPU supportede
2011-08-13 18:50:57 +04:00
Alexey Ozeritsky
af4c58b3bd
ACML-GPU supported
2011-08-13 17:03:58 +04:00
Stephen Kelly
df4615e338
Add the COMPILER_HAS_DEPRECATED only if it has a declspec variant
...
_check_cxx_compiler_attribute does it in the alternative.
2011-08-12 00:23:00 +02:00
Stephen Kelly
78a6e1c122
Exclude the XL compiler from the hidden-visibility test.
2011-08-12 00:18:43 +02:00
Alex Neundorf
d3ae0fff7d
Improve documentation for --find-package mode
...
Alex
2011-08-11 22:43:45 +02:00
Alex Neundorf
bf07375264
Add a cmake.m4 for using cmake in autoconf projects instead of pkgconfig
...
This file has been written today from scratch by Matthias Kretz
and it BSD-licensed.
Alex
2011-08-11 22:43:33 +02:00
Stephen Kelly
e1f7ee3de7
Test for compiler features, instead of for specific platforms.
2011-08-11 19:06:23 +02:00
Stephen Kelly
9554e1013e
Split the deprecated available check from setting macro values.
2011-08-11 18:17:12 +02:00
Stephen Kelly
750b67c5a1
Don't use hidden visibility on non-mingw windows either.
2011-08-11 10:53:58 +02:00
Stephen Kelly
1f3be45048
Make sure the hidden visibility variables never get set on MINGW.
2011-08-11 10:39:51 +02:00
Stephen Kelly
399f415b15
Only set the deprecated attribute if hidden visibilty is enabled.
...
This is what is tested in the unit test. If it makes sense, another
option can be added later.
2011-08-11 10:28:50 +02:00
Alexey Ozeritsky
91b76e2ab9
gotoblas supported
2011-08-11 12:23:49 +04:00
Alexey Ozeritsky
66a4bd0cfb
fixed: search of acml libraries
2011-08-11 12:18:39 +04:00
Stephen Kelly
7fa559232e
Add some debug output to narrow down deprecation test issues
...
Particularly Borland and VS7.0 seem to still be failing.
2011-08-10 23:57:04 +02:00
Stephen Kelly
7924c1d6a8
Another attempt at fixing Borland.
...
Apparently it still needs to be exported, but only declspec(deprecated)
does not work.
2011-08-10 22:19:39 +02:00
Stephen Kelly
50460ea9de
Fix off-by-not in test for Borland.
2011-08-10 21:53:58 +02:00
Stephen Kelly
fc3772edc9
Another attempt to fix the tests on Borland.
2011-08-10 21:43:16 +02:00
Stephen Kelly
bab4a22036
Disable all export macros on Borland.
2011-08-10 21:28:42 +02:00
Stephen Kelly
cff9493598
Only set the COMPILER_HAS_HIDDEN_VISIBILITY if GCC >= 4.2
...
Hearsay has it that before that version it didn't work properly.
Hopefully this will fix more dashboard builds.
2011-08-10 21:14:46 +02:00
Stephen Kelly
d123bce1eb
Add some debug output.
...
Hopefully this shows up in continuous test output.
2011-08-10 10:36:24 +02:00
Stephen Kelly
3574b75916
Simplify the compiler feature check
2011-08-10 10:36:23 +02:00
Stephen Kelly
c7a937b712
Simplify. We already know we have hidden visibility at this point.
2011-08-10 10:28:15 +02:00
Stephen Kelly
3b188c833b
Test for features, not specific compilers.
2011-08-10 10:26:16 +02:00
Stephen Kelly
4718233a37
Remove the fatal_warnings option which is no longer used.
2011-08-10 10:24:36 +02:00
Alex Neundorf
bebb2bcd23
Support REQUIRED in FindGettext.cmake (using FPHSA.cmake)
...
Alex
2011-08-10 02:35:58 +02:00
Alex Neundorf
431c8eb44c
Add macros GETTEXT_PROCESS_POT() and GETTEXT_PROCESS_PO_FILES()
...
These macros (functions actually) can be used to process pot and
po files. Patch prepared by Raphael Kubo da Costa.
Alex
2011-08-10 02:28:26 +02:00
David Cole
0167ceaf98
Add more find_path locations for DCMTK header files ( #12323 )
2011-08-09 15:15:53 -04:00
Stephen Kelly
b19911ecab
Add missing licence header.
2011-08-09 19:03:45 +02:00
Alex Neundorf
b0e357824c
Use the file-utility to test for 64bit if there is no /usr/lib64
...
Alex
2011-08-09 16:32:45 +02:00
Alex Neundorf
53edfb206b
Better support for lib64 and Debian multiarch
...
If CMAKE_SIZEOF_VOID_P is not set from the outside, it checks for the
existance of /usr/lib64, and if it exists, SIZEOF_VOID_P is set to 8.
For multiarch, if this is debian and
CMAKE_${LANGUAGE}_LANGUAGE_ARCHITECTURE has not been set, it globs
for the files in /lib, and uses the first one which matches
CMAKE_LIBRARY_ARCHITECTURE_REGEX.
Alex
2011-08-09 16:32:45 +02:00
Alex Neundorf
b8fdaa1d66
Fix copyright notice in new CMakeFindPackageMode.cmake
...
Alex
2011-08-09 16:32:45 +02:00
Brad King
ed6be501de
Fix CHECK_(C|CXX)_COMPILER_FLAG for Clang ( #12394 )
...
This compiler warns and returns 0 for unrecognized flags. We fix the
compiler flag check macros by looking for a warning in the output.
2011-08-08 12:53:17 -04:00
Stephen Kelly
def0a54e0a
Handle the case where the user changes the DEFINE_SYMBOL property.
...
This eases porting of KDE code.
2011-08-08 02:08:10 +02:00
Stephen Kelly
30880707c0
Add the GenerateExportMacro with unit tests.
...
Reviewed-by: Marcus D. Hanwell <marcus.hanwell@kitware.com>
2011-08-07 18:33:47 +02:00
Alex Neundorf
c9761de7ad
Improve documentation for WriteBasicConfigVersionFile.cmake
...
Alex
2011-08-05 23:01:07 +02:00