summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Add missing NO_EXPORT macro variant.Stephen Kelly2011-08-232-3/+17
|
* More consistency in the macro options.Stephen Kelly2011-08-232-10/+10
|
* Try to make the macros do almost nothing for Watcom.Stephen Kelly2011-08-231-2/+12
|
* Possibly fix configuration test on AIX.Stephen Kelly2011-08-231-0/+1
|
* Test for too-old-intel compilers.Stephen Kelly2011-08-231-1/+12
|
* Exclude PGI from exports and deprecated.Stephen Kelly2011-08-151-2/+2
|
* Exclude cygwin from the hidden visibility feature.Stephen Kelly2011-08-151-1/+1
|
* Don't enable deprecated on old GCCStephen Kelly2011-08-151-1/+1
| | | | | Hopefully a fix for http://www.cdash.org/CDash/testDetails.php?test=109688480&build=1432057
* Don't enable deprecated on HP.Stephen Kelly2011-08-151-1/+1
|
* 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-082-1/+7
| | | | This eases porting of KDE code.
* Add the GenerateExportMacro with unit tests.Stephen Kelly2011-08-072-0/+281
| | | | Reviewed-by: Marcus D. Hanwell <marcus.hanwell@kitware.com>
* Merge topic 'CodeBlocksIncludeDirsAndDefines'David Cole2011-08-023-102/+122
|\ | | | | | | | | | | | | e2e8c0a Also put builtin include dirs into CodeBlocks project file 92c0dc5 Remove useless line of code a5683f8 Patch by Campbell Barton: puts definitions into C::B project file
| * Also put builtin include dirs into CodeBlocks project fileAlex Neundorf2011-08-013-102/+122
| | | | | | | | | | | | | | | | Refactor code from CMakeFindEclipseCDT4.cmake so it can be used alkso for CodeBlocks, and move it into new file CMakeExtraGeneratorDetermineCompilerMacrosAndIncludeDirs.cmake. Alex
* | Merge topic 'FindGIFAndFreetypeCleanupAndEnhancements'David Cole2011-08-022-36/+41
|\ \ | | | | | | | | | | | | | | | | | | | | | 81a70c6 Add basic version check for giflib 2462f65 FindGif: add giflib4 as one more name for the library under Windows f97620e FindGIF/FindFreetype.cmake: remove standard search paths from find-calls 7c38523 Strip trailing whitespace
| * | Add basic version check for giflibAlex Neundorf2011-08-011-2/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is used e.g. in KDE, there on Solaris an old version of giflib was found (version 3), which could be detected by checking for the UserData member variable: http://websvn.kde.org/?view=revision&revision=545738 Alex
| * | FindGif: add giflib4 as one more name for the library under WindowsAlex Neundorf2011-07-271-1/+1
| | | | | | | | | | | | Alex
| * | FindGIF/FindFreetype.cmake: remove standard search paths from find-callsAlex Neundorf2011-07-272-21/+1
| | | | | | | | | | | | | | | | | | | | | | | | In both files find_path() and find_library() are called with multiple additional search PATHS which are already anyway part of the default search dirs, so it should be safe to remove them. Alex
| * | Strip trailing whitespaceAlex Neundorf2011-07-272-12/+12
| |/ | | | | | | Alex
* | Merge topic 'FindPostgresqlImprovements'David Cole2011-08-021-30/+23
|\ \ | | | | | | | | | | | | | | | | | | | | | 825c457 FindPostgreSQL: fix PATH_SUFFIXES, better output for FPHSA e159bb5 Mark the results from find() as advanced da1bdaf Use FPHSA(), remove unnecessary stuff and don't recommend link_directories() 217d068 More PATH_SUFFIXES for finding Postgresql and also search catalog/pg_type.h
| * | FindPostgreSQL: fix PATH_SUFFIXES, better output for FPHSAAlex Neundorf2011-08-011-5/+4
| | | | | | | | | | | | Alex
| * | Mark the results from find() as advancedAlex Neundorf2011-08-011-0/+2
| | | | | | | | | | | | Alex
| * | Use FPHSA(), remove unnecessary stuff and don't recommend link_directories()Alex Neundorf2011-08-011-38/+8
| | | | | | | | | | | | | | | | | | | | | -don't recommend using link_directories() -don't do the extra if(EXISTS) checks, since the code is already inside a if(PostgreSQL_FOUND) Alex
| * | More PATH_SUFFIXES for finding Postgresql and also search catalog/pg_type.hAlex Neundorf2011-08-011-0/+22
| |/ | | | | | | | | | | Patch from Jaroslaw Staniek, reviewed by Andrew Maclean Alex
* | Merge topic 'fix-11866-add-watcom-sys-libs'David Cole2011-08-023-0/+73
|\ \ | | | | | | | | | | | | | | | ff59716 Watcom: Use correct args for execute_process call (#11866) 80769cd Add Watcom support to InstallRequiredSystemLibraries (#11866)
| * | Watcom: Use correct args for execute_process call (#11866)David Cole2011-08-011-2/+2
| | | | | | | | | | | | | | | I botched an exec_program to execute_process translation on Friday. RESULT_VARIABLE is the correct argument to execute_process.
| * | Add Watcom support to InstallRequiredSystemLibraries (#11866)David Cole2011-07-293-0/+73
| |/ | | | | | | | | | | | | Also adds code to determine the version of the Watcom compiler in use. Thanks to J Decker for the patch.
* | Merge topic 'cpack-nsis-multi-installs'David Cole2011-08-022-11/+11
|\ \ | | | | | | | | | | | | e6d2bcf CPack/NSIS: Fix reinstall and multiple install issues when using components.
| * | CPack/NSIS: Fix reinstall and multiple install issues when using components.Clinton Stimpson2011-07-292-11/+11
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Fix NSIS template to more thoroughly use CPACK_PACKAGE_INSTALL_REGISTRY_KEY. This allows different versions of software to have a separate sections in the registry to keep track of things (installed components, and uninstall stuff). Change default of CPACK_PACKAGE_INSTALL_REGISTRY_KEY to follow the value of CPACK_PACKAGE_INSTALL_DIRECTORY so if an installation overwrites another installation, the proper registry entries are more likely to be overwritten. Fix CPack/NSIS generator to not insert code in the NSIS template to skip installation of already installed components. This enables a repair like behavior and also enables installing patch releases on top of an older installation.