summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | Merge topic 'fix-12245-add-wlib--c-flag'David Cole2011-08-021-2/+2
|\ \ | | | | | | | | | | | | a0974ae Watcom: Add -c flag to wlib calls (#12245)
| * | Watcom: Add -c flag to wlib calls (#12245)David Cole2011-07-291-2/+2
| |/ | | | | | | | | | | | | Allows wlib to generate proper exports if two routines have the same spelling, but different case (like Scale and scale). Thanks to J Decker for the patch.
* | Merge topic 'qt4-use-check-cxx-symbol'David Cole2011-08-021-7/+7
|\ \ | | | | | | | | | | | | de30173 Remove C compiler requirement from FindQt4.cmake
| * | Remove C compiler requirement from FindQt4.cmakeClinton Stimpson2011-07-282-8/+7
| |/ | | | | | | | | Use the new check_cxx_symbol_exists instead of check_symbol_exists. Also remove a debug message from CheckSymbolExists.cmake.
* | Merge topic 'RemoveDebugOutput'David Cole2011-08-021-1/+0
|\ \ | | | | | | | | | | | | 6b71bf8 Remove debug output from CheckSymbolExists
| * | Remove debug output from CheckSymbolExistsAlex Neundorf2011-07-291-1/+0
| |/ | | | | | | | | | | ...which shouldn't have been committed. Alex
* | Merge topic 'add-flag-detection-regex'David Cole2011-08-021-1/+2
|\ \ | | | | | | | | | | | | b7f3f7c Add fail regex to detect supported warning flags correctly.
| * | Add fail regex to detect supported warning flags correctly.David Cole2011-07-271-1/+2
| |/ | | | | | | | | | | | | | | | | | | On Apple's gcc, the compiler emits a warning such as "warning: command line option "-Wno-deprecated" is valid for C++/ObjC++ but not for C" when it is passed that flag on its command line. When testing for that flag with a plain C file, we should report that the flag is unsupported for C files. The new FAIL_REGEX option added here produces this behavior.
* | Merge topic 'FeatureSummaryImprovements'David Cole2011-08-021-79/+312
|\ \ | |/ |/| | | | | | | | | | | | | | | | | b62349c FeatureSummary.cmake: update documentation f366cf8 FeatureSummary.cmake: cosmetics f407bb5 FeatureSummary.cmake: only higher TYPEs can override previous TYPEs 02d47ab FeatureSummary.cmake: error out when a REQUIRED package is missing 91a1527 FeatureSummary.cmake: add INCLUDE_QUIET_PACKAGES keyword 0671a02 FeatureSummary.cmake: remove "comment" field aae13f4 Extend FeatureSummary: add PURPOSE of package and TYPE
| * FeatureSummary.cmake: update documentationAlex Neundorf2011-07-171-18/+81
| | | | | | | | Alex
| * FeatureSummary.cmake: cosmeticsAlex Neundorf2011-07-171-34/+39
| | | | | | | | | | | | | | -move the compat function to the bottom of the file -make all except one endif() empty Alex
| * FeatureSummary.cmake: only higher TYPEs can override previous TYPEsAlex Neundorf2011-07-171-2/+9
| | | | | | | | | | | | This way e.g. a REQUIRED cannot become OPTIONAL, only the other way round Alex
| * FeatureSummary.cmake: error out when a REQUIRED package is missingAlex Neundorf2011-07-171-4/+16
| | | | | | | | Alex
| * FeatureSummary.cmake: add INCLUDE_QUIET_PACKAGES keywordAlex Neundorf2011-07-171-26/+38
| | | | | | | | | | | | | | | | | | Now found packages are not stored in ENABLED/DISABLED_FEATURES anymore, but always in PACKAGES_FOUND/NOT_FOUND. ENABLED/DISABLED_FEATURES is now only used via ADD_FEATURE_INFO(), e.g. for stuff set via option(). Alex
| * FeatureSummary.cmake: remove "comment" fieldAlex Neundorf2011-07-171-12/+8
| | | | | | | | | | | | | | | | What was given as comment to set_package_info(), now goes into the PURPOSE field. It was not clear what the comment should contain, with the PURPOSE this is much clearer now. Alex
| * Extend FeatureSummary: add PURPOSE of package and TYPEAlex Neundorf2011-07-171-29/+167
| | | | | | | | | | | | | | | | | | | | | | | | | | | | With the PURPOSE a project can state what the package in question is used for in the project (as opposed to describing what the package does in general). TYPE can be one of OPTIONAL (default) RUNTIME - not needed for building, only at runtime RECOMMENDED - as OPTIONAL, but you should really have it REQUIRED - cmake will fail if one of these is not found This can be set using the new function set_package_properties() Alex
* | Merge topic 'search-for-aspell'Brad King2011-07-261-3/+8
|\ \ | | | | | | | | | | | | bb3a438 Search for the ASPELL executable
| * | Search for the ASPELL executableArnaud Gelas2011-07-221-3/+8
| |/
* | Merge topic 'qt4-apple-framework-fix'Brad King2011-07-261-13/+13
|\ \ | | | | | | | | | | | | 702538e Qt4: Fix reference of undefined variable when detecting frameworks on Mac OS X
| * | Qt4: Fix reference of undefined variable when detecting frameworks on Mac OS XClinton Stimpson2011-07-251-13/+13
| |/
* | Merge topic 'cross-qt4-find-includes'Brad King2011-07-261-1/+1
|\ \ | | | | | | | | | | | | 0ae8a34 Add qt4/QtCore to help find Qt headers when cross-compiling.
| * | Add qt4/QtCore to help find Qt headers when cross-compiling.Clinton Stimpson2011-07-221-1/+1
| |/
* | Merge topic 'CheckCXXSymbolExists'Brad King2011-07-262-9/+58
|\ \ | | | | | | | | | | | | 757a6a0 Add CheckCXXSymbolExists.cmake, so this can be used also for C++
| * | Add CheckCXXSymbolExists.cmake, so this can be used also for C++Alex Neundorf2011-07-082-9/+58
| |/ | | | | | | | | | | | | This commit splits check_symbol_exists() so that the actual implementation can be also used by check_cxx_symbol_exists() Alex
* | Merge topic 'PushCheckState'Brad King2011-07-261-0/+61
|\ \ | | | | | | | | | | | | | | | d64ba0b Fix copyright notice test 1325260 Add macros cmake_push/pop_check_state() as discussed on the list.
| * | Fix copyright notice testAlex Neundorf2011-07-071-3/+12
| | | | | | | | | | | | Alex
| * | Add macros cmake_push/pop_check_state() as discussed on the list.Alex Neundorf2011-07-071-0/+52
| |/ | | | | | | | | | | | | | | This patch adds two macros cmake_push_check_state() and cmake_pop_check_state(), which can be used to save and restore the contents of the CMAKE_REQUIRED_xxx variables. Alex
* | Merge topic 'qt4-no-build-type'Brad King2011-07-261-0/+3
|\ \ | | | | | | | | | | | | 5a2b208 Add -DQT_NO_DEBUG if no build type is specified so Qt plugins will work.
| * | Add -DQT_NO_DEBUG if no build type is specified so Qt plugins will work.Clinton Stimpson2011-06-231-0/+3
| | |
* | | Merge topic 'FindSubversion-non-interactive-issue-12304'Brad King2011-07-261-1/+1
|\ \ \ | | | | | | | | | | | | | | | | 0c6e852 FindSubversion: Invoke svn non-interactively (#12304)
| * | | FindSubversion: Invoke svn non-interactively (#12304)Aaron C. Meadows2011-06-241-1/+1
| |/ / | | | | | | | | | Otherwise Subversion_WC_LOG hangs if credentials are not set.