Bill Hoffman
3ca1df8e59
Use MSBuild when devenv is not around, since VCExpress seems broken.
...
To support Intel Fortran, CMake started using devenv and VCExpress
for build tools with VS2010. However, VCExpress does not always work.
This change makes CMake use MSBuild when devenv is not found. This should
be OK, since Intel Fortran can not be used with VCExpress.
2011-08-18 12:18:30 -04:00
Alex Neundorf
cd70f00ea4
Fix #12358 : make optionally enabling ASM work again
...
Alex
2011-08-17 01:00:28 +02:00
Alex Neundorf
7e6d84568c
Automoc.cmake is not needed anymore
...
(actually I thought I had already removed it again)
Alex
2011-08-17 00:04:47 +02:00
David Cole
f0d46582c3
Merge topic 'FindGetTextImprovements'
...
bebb2bc Support REQUIRED in FindGettext.cmake (using FPHSA.cmake)
431c8eb Add macros GETTEXT_PROCESS_POT() and GETTEXT_PROCESS_PO_FILES()
2011-08-16 17:03:12 -04:00
David Cole
829ce746ca
Merge topic 'fix-12323-more-paths-in-finddcmtk'
...
0167cea Add more find_path locations for DCMTK header files (#12323 )
2011-08-16 17:03:09 -04:00
David Cole
bdedae4b95
Merge topic 'fix-clang-flag-check-issue-12394'
...
ed6be50 Fix CHECK_(C|CXX)_COMPILER_FLAG for Clang (#12394 )
2011-08-16 17:03:05 -04:00
David Cole
674be27a7f
Merge topic 'WriteConfigVersionFile_2TemplateFiles'
...
c9761de Improve documentation for WriteBasicConfigVersionFile.cmake
208bb90 Set UNSUITABLE instead of not COMPATIBLE
bb03c2d Really fix copyright notice
d50a61a Fix copyright notice
4ba09bc Add some tests for write_basic_config_version_file()
02b1e4b Add example to documentation
d216a67 Provide macro write_basic_config_version_file()
2011-08-16 17:03:00 -04:00
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