summaryrefslogtreecommitdiffstats
path: root/Modules/GenerateExportHeader.cmake
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixup forgotten part of aed84517c942a4c40f493fcf997cdf6a047349f8Stephen Kelly2011-08-141-3/+3
|
* Borland can't do deprecated.Stephen Kelly2011-08-131-4/+8
|
* Test for deprecated attribute before declspec.Stephen Kelly2011-08-131-4/+4
| | | | | The attribute seems more common, and some compilers seem to silently ignore the declspec.
* Add the COMPILER_HAS_DEPRECATED only if it has a declspec variantStephen Kelly2011-08-111-2/+1
| | | | _check_cxx_compiler_attribute does it in the alternative.
* Exclude the XL compiler from the hidden-visibility test.Stephen Kelly2011-08-111-1/+4
|
* Test for compiler features, instead of for specific platforms.Stephen Kelly2011-08-111-16/+22
|
* Split the deprecated available check from setting macro values.Stephen Kelly2011-08-111-4/+18
|
* Don't use hidden visibility on non-mingw windows either.Stephen Kelly2011-08-111-1/+1
|
* Make sure the hidden visibility variables never get set on MINGW.Stephen Kelly2011-08-111-2/+2
|
* Only set the deprecated attribute if hidden visibilty is enabled.Stephen Kelly2011-08-111-1/+3
| | | | | This is what is tested in the unit test. If it makes sense, another option can be added later.
* Add some debug output to narrow down deprecation test issuesStephen Kelly2011-08-101-0/+2
| | | | Particularly Borland and VS7.0 seem to still be failing.
* Another attempt at fixing Borland.Stephen Kelly2011-08-101-4/+2
| | | | | Apparently it still needs to be exported, but only declspec(deprecated) does not work.
* Fix off-by-not in test for Borland.Stephen Kelly2011-08-101-1/+1
|
* Another attempt to fix the tests on Borland.Stephen Kelly2011-08-101-5/+9
|
* Disable all export macros on Borland.Stephen Kelly2011-08-101-2/+2
|
* Only set the COMPILER_HAS_HIDDEN_VISIBILITY if GCC >= 4.2Stephen Kelly2011-08-101-19/+22
| | | | | | Hearsay has it that before that version it didn't work properly. Hopefully this will fix more dashboard builds.
* Add some debug output.Stephen Kelly2011-08-101-0/+2
| | | | Hopefully this shows up in continuous test output.
* Simplify the compiler feature checkStephen Kelly2011-08-101-6/+4
|
* Simplify. We already know we have hidden visibility at this point.Stephen Kelly2011-08-101-5/+3
|
* Test for features, not specific compilers.Stephen Kelly2011-08-101-3/+3
|
* Remove the fatal_warnings option which is no longer used.Stephen Kelly2011-08-101-12/+0
|
* Add missing licence header.Stephen Kelly2011-08-091-0/+14
|
* Handle the case where the user changes the DEFINE_SYMBOL property.Stephen Kelly2011-08-081-0/+6
| | | | This eases porting of KDE code.
* Add the GenerateExportMacro with unit tests.Stephen Kelly2011-08-071-0/+251
Reviewed-by: Marcus D. Hanwell <marcus.hanwell@kitware.com>