summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* remove stray brace in CPackDeb documentationRolf Eike Beer2011-09-121-1/+1
|
* Merge topic 'CPackRPM-includeDir'David Cole2011-09-071-1/+3
|\ | | | | | | | | f9e5277 CPackRPM fix #12305, include directories in RPM package
| * CPackRPM fix #12305, include directories in RPM packageEric NOULARD2011-09-051-1/+3
| |
* | Merge topic 'CPackRPM-fix12366'David Cole2011-09-071-1/+1
|\ \ | | | | | | | | | | | | b0f6a97 CPack fix #12366 components RPM packages have the same package name
| * | CPack fix #12366 components RPM packages have the same package nameEric NOULARD2011-09-051-1/+1
| |/ | | | | | | fix based on the patch provided by winfriedd
* | Merge topic 'generate_export_header'David Cole2011-09-071-1/+1
|\ \ | | | | | | | | | | | | | | | dbd776d Don't put what some compilers consider junk at the end of the line. 93d8d19 Add some more unit tests.
| * | Don't put what some compilers consider junk at the end of the line.Stephen Kelly2011-09-041-1/+1
| |/
* | Merge topic 'vs-compiler-id'David Cole2011-09-073-12/+3
|\ \ | | | | | | | | | | | | 38aab37 Set CMAKE_<lang>_COMPILER_ID for VS generators
| * | Set CMAKE_<lang>_COMPILER_ID for VS generatorsBrad King2011-09-023-12/+3
| |/ | | | | | | | | | | | | | | | | | | | | | | | | Currently the VS generators do not support Intel C/C++ .icproj files and the MS tools do not include a Fortran compiler. Therefore we can always set the C and CXX compiler IDs to "MSVC" and the Fortran ID to "Intel". This fixes a regression in support for the Intel Fortran compiler under the VS plugin introduced by commit cd43636c (Modernize Intel compiler info on Windows, 2010-12-16). The commit moved the compiler information into platform files that only load when the proper compiler id is set. It worked for the NMake Makefiles generator but not for the VS IDE generator because it did not set the compiler id.
* | Merge topic 'fortran-format'David Cole2011-09-0712-0/+27
|\ \ | | | | | | | | | | | | | | | | | | | | | 90efed6 Xcode: Honor Fortran_FORMAT target and source file property 5c0c635 Fortran: Add support for free- and fixed-form flags 47a0c75 VS: Map Fortran free- and fixed-format flags to IDE options d6e2a06 VS: Map per-source Fortran flags to IDE options
| * | Fortran: Add support for free- and fixed-form flagsBrad King2011-08-3112-0/+27
| | | | | | | | | | | | | | | | | | | | | Define a "Fortran_FORMAT" target and source file property. Initialize the target property from a "CMAKE_Fortran_FORMAT" variable. Interpret values "FIXED" and "FREE" to indicate the source file format. Append corresponding flags to the compiler command line.
* | | Merge topic 'FindLAPACK_FindBLAS'David Cole2011-09-072-37/+54
|\ \ \ | | | | | | | | | | | | | | | | | | | | 0cc8f05 FindBLAS/LAPACK fixes 145de0a FindBLAS/LAPACK fixes
| * | | FindBLAS/LAPACK fixesAlexey Ozeritsky2011-09-012-8/+10
| | | | | | | | | | | | | | | | | | | | fixed: CMAKE_FIND_LIBRRAY_SUFFIXES misprint added: ATLAS vendor to FindLAPACK module
| * | | FindBLAS/LAPACK fixesAlexey Ozeritsky2011-08-312-33/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixed: saving/changing/restoring CMAKE_FIND_LIBRARY_SUFFIXES variable. fixed: BLA_VENDORs "Apple" (Accelerate Framework) and "NAS" (vecLib Framework) fail as 'cblas_dgemm_' doesn't exist. fixed: improve "Generic" detection on Ubuntu (and I assume Debian) (work with libblas3gf and liblapack3gf packages).
* | | | Merge topic 'asn_java_add_more_java_archives'David Cole2011-09-071-1/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | e01b98e Modules: Add support for more java archives in add_jar().
| * | | | Modules: Add support for more java archives in add_jar().Andreas Schneider2011-08-291-1/+4
| | |/ / | |/| |
* | | | Merge topic 'FindPythonInterp-Refactoring'David Cole2011-09-071-15/+30
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1c2508a Use FIND_PACKAGE_HANDLE_STANDARD_ARGS second mode d179500 Update documentation of FindPythonInterp.cmake 4fd1e28 Determine python version 20980ef Search for the installed python interpreter first
| * | | | Use FIND_PACKAGE_HANDLE_STANDARD_ARGS second modeBjörn Ricks2011-08-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using the second mode of FIND_PACKAGE_HANDLE_STANDARD_ARGS allows for checking the version number. Now a user can require a minimum version of the python interpreter with find_package(PythonInterp VERSION)
| * | | | Update documentation of FindPythonInterp.cmakeBjörn Ricks2011-08-231-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | Document new variables and update also comments in cmake code to explain the current behaviour of FindPythonInterp.cmake module
| * | | | Determine python versionBjörn Ricks2011-08-231-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | Use PYTHON_EXECUTABLE to determine PYTHON_VERSION_STRING, PYTHON_VERSION_MINOR, PYTHON_VERSION_MAJOR and PYTHON_VERSION_PATCH
| * | | | Search for the installed python interpreter firstBjörn Ricks2011-08-231-12/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old approach to determine the python executeable chooses the newest version from _Python_VERSIONS if no additonal versions are passed. With python it is possible to install different versions side-by-side. Therefore a user can install e.g. python 2.5 and 2.7. Python 2.7 maybe only installed for testing new features and 2.5 for building and running his software. Thus the default installation for the user would be python 2.5 and then returning PYTHON_EXECUTEABLE python2.7 would be wrong. The new approuch searches first for the the default python executable e.g. /usr/bin/python on unix and if it can't be found _Python_VERSIONS is used.
* | | | | Merge topic 'fix-message-details'David Cole2011-09-071-0/+1
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | cd81da3 FindPackageMessage: Eliminate new lines using REGEX REPLACE 0ae78b7 FindPackageMessage: Eliminate new lines in cache entries
| * | | | FindPackageMessage: Eliminate new lines using REGEX REPLACEDavid Cole2011-09-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Re-fix problem exposed by recent commit to FindPythonInterp. If the find "details" has new lines in it, then replace them with the empty string so that the string may be saved as a cache entry that can be re-read next time CMake runs. Use REGEX REPLACE, and replace with an empty string, eliminating the problem characters, so that we may easily extend this to include additional problem characters in the future if necessary.
| * | | | FindPackageMessage: Eliminate new lines in cache entriesDavid Cole2011-08-241-0/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix problem exposed by recent commit to FindPythonInterp. If the find "details" has new lines in it, then replace them with literal "\n" two character sequences so that the string may be saved as a cache entry that can be re-read next time CMake runs.
* | | | Merge topic 'qt4-find-uitools-mingw-cross'David Cole2011-09-011-3/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | a67be31 qt4: also find QtUiTools when cross compiling with mingw.
| * | | | qt4: also find QtUiTools when cross compiling with mingw.Clinton Stimpson2011-08-291-3/+4
| | |/ / | |/| |
* | | | Merge topic 'bg-link-fixes'David Cole2011-09-011-10/+13
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 5993891 Fixed link bugs in BlueGeneP build.
| * | | | Fixed link bugs in BlueGeneP build.Todd Gamblin2011-08-291-10/+13
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | - Build wasn't properly using -soname linker args, so installed libraries could depend on relative paths from the build directory. - Consolidated GNU linker args to one place in the BlueGeneP-base platform file, since ld is used by both XL and GNU toolchains on BlueGene.
* | | | Merge topic 'xl-CreateExportList-fix'David Cole2011-09-011-10/+15
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | d169762 Fix XL compilers on non-AIX machines.
| * | | | Fix XL compilers on non-AIX machines.Todd Gamblin2011-08-291-10/+15
| |/ / / | | | | | | | | | | | | | | | | | | | | Linking broken on non-AIX machines when using XL compilers due to those machines not using the CreateExportList tool. Made use of this tool conditional on finding it.
* | | | Merge topic 'boost-cmake-path-suffixes'David Cole2011-09-011-10/+72
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 7da796d FindBoost: Call find_package with NO_MODULE first
| * | | | FindBoost: Call find_package with NO_MODULE firstTodd Gamblin2011-09-011-10/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FindBoost now attempts to find Boost using find_package(Boost NO_MODULE) before it does a module mode search. User can now set any of these to Boost's install prefix to detect it in module or config mode: - Boost_DIR for consistency with other CMake modules - BOOST_ROOT or BOOSTROOT for adherence to boost convention
* | | | | Merge topic 'generate_export_header'David Cole2011-09-013-0/+383
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6a6393c Don't use a variable name that might be used in other files. 5ca8c56 Fix up verbatim code sections of the dox. 75596e6 Don't start a line with a dash(-) 826374a Remove blank line at the start of the file. 8b9b8e1 Add documentation about the prefix and no_deprecated options. 51bc63a Fix the feature of using a specific prefix for macros. 3449f6b Add quotes in case cmake is installed in a prefix with a space. 36d28f2 Fix Compiler id variable name. 99b2aab Disable the tests for Watcom. 7ac0ab1 Quote paths in case there is a space in one of them. 89108b9 Look for errors reported by PGI too. e0cc024 Add missing NO_EXPORT macro variant. 1b031d1 More consistency in the macro options. 03d60c7 Try to make the macros do almost nothing for Watcom. 6adeda9 Possibly fix configuration test on AIX. e253348 Possibly fix test on HPUX. 32eff0c Test for too-old-intel compilers. 42154ec Fix up the regex command for Intel. a147a06 Add some settings for non-truncation of test output. bf73e75 Hopefully add version extraction for Intel. aa4f0b6 Fix the version extraction regex for clang. a493d1a Test the correct cxx variable. b6ee2ee Comment the test assertion for now a9a8b9e Exclude win32 from hidden visibility checks. afae7a9 Start testing expected values for compiler flags. 1ae3365 Exclude PGI from exports and deprecated. f426496 Exclude cygwin from the hidden visibility feature. f84c7db Don't enable deprecated on old GCC 9672b33 Don't enable deprecated on HP. 10d8c44 Disable testing of deprecated macros. 97392a7d Fixup forgotten part of aed84517c942a4c40f493fcf997cdf6a047349f8 2aeab4f Borland can't do deprecated. c41c68b Try to error on deprecated on Intel and SunCC. aed8451 Test for deprecated attribute before declspec. c448b09 Perform the -Werror test only once. fb88c6e Add some messaging output to make remaining issues findable. 01e9e98 Test -Werror instead of enabling it per compiler. 9aab2aa Expect the tests to pass if hidden visibilty is not enabled. 856bdb3 Don't change the expected build result based on the platform. df4615e Add the COMPILER_HAS_DEPRECATED only if it has a declspec variant 78a6e1c Exclude the XL compiler from the hidden-visibility test. e1f7ee3 Test for compiler features, instead of for specific platforms. 9554e10 Split the deprecated available check from setting macro values. 1590d5f Don't export methods on already exported classes. 750b67c Don't use hidden visibility on non-mingw windows either. 1f3be45 Make sure the hidden visibility variables never get set on MINGW. 399f415 Only set the deprecated attribute if hidden visibilty is enabled. 1c6b41b Remember to surround the other deprecated test in the Borland check. 3f7e036 Export deprecated free methods too. 7fa5592 Add some debug output to narrow down deprecation test issues 7924c1d Another attempt at fixing Borland. 50460ea Fix off-by-not in test for Borland. b443459 Use the correct project name compiletest not compilefail fc3772e Another attempt to fix the tests on Borland. bab4a22 Disable all export macros on Borland. cff9493 Only set the COMPILER_HAS_HIDDEN_VISIBILITY if GCC >= 4.2 af443b8 Set the CMAKE_RUNTIME_OUTPUT_DIRECTORY for windows builds. 61726f8 Only run the failure tests with gcc >= 4.2 002ddf2 Fix typo and tests failing as a result. 4443037 Fix tests with clang. ffaa127 Test expected no-op instead of aborting the build. 6aca0e2 Short-circuit the tests on unsupported compilers. d123bce Add some debug output. 3574b75 Simplify the compiler feature check c7a937b Simplify. We already know we have hidden visibility at this point. 3b188c8 Test for features, not specific compilers. 4718233 Remove the fatal_warnings option which is no longer used. b19911e Add missing licence header. 706ed2b Add a newline at the end of the file. 8963716 Add a newline at the end of the file. def0a54 Handle the case where the user changes the DEFINE_SYMBOL property. 3088070 Add the GenerateExportMacro with unit tests.
| * | | | | Don't use a variable name that might be used in other files.David Faure2011-08-271-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | myDir is also used in the Grantlee config file, so if Grantlee was found, this call failed.
| * | | | | Fix up verbatim code sections of the dox.Stephen Kelly2011-08-251-17/+1
| | | | | |
| * | | | | Don't start a line with a dash(-)Stephen Kelly2011-08-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | That is a special character in cmake dox.
| * | | | | Remove blank line at the start of the file.Stephen Kelly2011-08-251-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | A blank line excludes the file from documentation processing.
| * | | | | Add documentation about the prefix and no_deprecated options.Stephen Kelly2011-08-251-0/+42
| | | | | |
| * | | | | Fix the feature of using a specific prefix for macros.Stephen Kelly2011-08-251-11/+11
| | | | | |
| * | | | | Add quotes in case cmake is installed in a prefix with a space.Stephen Kelly2011-08-251-2/+2
| | | | | |
| * | | | | Look for errors reported by PGI too.Stephen Kelly2011-08-241-0/+1
| | | | | |
| * | | | | 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
| | | | | |