Stephen Kelly
|
51bc63a7cb
Fix the feature of using a specific prefix for macros.
|
14 years ago |
Stephen Kelly
|
3449f6b88c
Add quotes in case cmake is installed in a prefix with a space.
|
14 years ago |
Stephen Kelly
|
e0cc024dc9
Add missing NO_EXPORT macro variant.
|
14 years ago |
Stephen Kelly
|
1b031d1a3f
More consistency in the macro options.
|
14 years ago |
Stephen Kelly
|
03d60c7d81
Try to make the macros do almost nothing for Watcom.
|
14 years ago |
Stephen Kelly
|
32eff0caec
Test for too-old-intel compilers.
|
14 years ago |
Stephen Kelly
|
1ae3365e9f
Exclude PGI from exports and deprecated.
|
14 years ago |
Stephen Kelly
|
f426496055
Exclude cygwin from the hidden visibility feature.
|
14 years ago |
Stephen Kelly
|
f84c7db592
Don't enable deprecated on old GCC
|
14 years ago |
Stephen Kelly
|
9672b332b1
Don't enable deprecated on HP.
|
14 years ago |
Stephen Kelly
|
97392a7dd3
Fixup forgotten part of aed84517c942a4c40f493fcf997cdf6a047349f8
|
14 years ago |
Stephen Kelly
|
2aeab4f973
Borland can't do deprecated.
|
14 years ago |
Stephen Kelly
|
aed84517c9
Test for deprecated attribute before declspec.
|
14 years ago |
Stephen Kelly
|
df4615e338
Add the COMPILER_HAS_DEPRECATED only if it has a declspec variant
|
14 years ago |
Stephen Kelly
|
78a6e1c122
Exclude the XL compiler from the hidden-visibility test.
|
14 years ago |
Stephen Kelly
|
e1f7ee3de7
Test for compiler features, instead of for specific platforms.
|
14 years ago |
Stephen Kelly
|
9554e1013e
Split the deprecated available check from setting macro values.
|
14 years ago |
Stephen Kelly
|
750b67c5a1
Don't use hidden visibility on non-mingw windows either.
|
14 years ago |
Stephen Kelly
|
1f3be45048
Make sure the hidden visibility variables never get set on MINGW.
|
14 years ago |
Stephen Kelly
|
399f415b15
Only set the deprecated attribute if hidden visibilty is enabled.
|
14 years ago |
Stephen Kelly
|
7fa559232e
Add some debug output to narrow down deprecation test issues
|
14 years ago |
Stephen Kelly
|
7924c1d6a8
Another attempt at fixing Borland.
|
14 years ago |
Stephen Kelly
|
50460ea9de
Fix off-by-not in test for Borland.
|
14 years ago |
Stephen Kelly
|
fc3772edc9
Another attempt to fix the tests on Borland.
|
14 years ago |
Stephen Kelly
|
bab4a22036
Disable all export macros on Borland.
|
14 years ago |
Stephen Kelly
|
cff9493598
Only set the COMPILER_HAS_HIDDEN_VISIBILITY if GCC >= 4.2
|
14 years ago |
Stephen Kelly
|
d123bce1eb
Add some debug output.
|
14 years ago |
Stephen Kelly
|
3574b75916
Simplify the compiler feature check
|
14 years ago |
Stephen Kelly
|
c7a937b712
Simplify. We already know we have hidden visibility at this point.
|
14 years ago |
Stephen Kelly
|
3b188c833b
Test for features, not specific compilers.
|
14 years ago |