summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Add detection of gcc versions that do not support isysroot option and do not ↵Bill Hoffman2009-09-181-0/+14
| | | | use it for them.
* Better error message tells user possible ways to resolve the error.David Cole2009-09-181-1/+1
|
* Fix CHECK_(C|CXX)_COMPILER_FLAG for XL and SunProBrad King2009-09-182-2/+6
| | | | | | These compilers warn and return 0 for unrecognized flags. We fix the compiler flag check macros by looking for a warning in the output. We also update the regex for GNU on older Macs. See issue #9516.
* Fix CHECK_(C|CXX)_COMPILER_FLAG for HPBrad King2009-09-172-0/+2
| | | | | | This compiler warns and returns 0 for unrecognized flags. We fix the compiler flag check macros by looking for a warning in the output. See issue #9516.
* Fix CHECK_(C|CXX)_COMPILER_FLAG for GNU and MSVCBrad King2009-09-172-2/+10
| | | | | | These compilers warn and return 0 for unrecognized flags. We fix the compiler flag check macros by looking for a warning in the output. See issue #9516.
* Add FAIL_REGEX to CHECK_(C|CXX)_SOURCE_COMPILESBrad King2009-09-172-2/+41
| | | | | | This teaches the CHECK_C_SOURCE_COMPILES and CHECK_CXX_SOURCE_COMPILES macros to recognize a FAIL_REGEX option. If they see the regular expression in the output of the test compilation, the check fails.
* Cleanup generic compiler check macro documentationBrad King2009-09-176-36/+30
| | | | | | | | | | | | | | | This commit improves formatting and style of the documentation for the general-purpose compiler check macros: CHECK_C_COMPILER_FLAG CHECK_C_SOURCE_COMPILES CHECK_C_SOURCE_RUNS CHECK_CXX_COMPILER_FLAG CHECK_CXX_SOURCE_COMPILES CHECK_CXX_SOURCE_RUNS This sytle is more consistent with CMake command documentation. It also looks nicer in the generated documentation text files.
* The check for include dirs and builtin macros also works with the Intel compilerAlexander Neundorf2009-09-171-11/+15
| | | | Alex
* Fix for bug #9466. Change the implementation of OSX arch lists. If no ↵Bill Hoffman2009-09-171-5/+1
| | | | ARCHs are specified by the user then no flags are set. We no longer use CMAKE_OSX_ARCHITECTURES_DEFAULT.
* Put compiler defined macros into eclipse project filesAlexander Neundorf2009-09-161-5/+20
| | | | | | | | | Now gcc is queried also for the builtin definitions, and they are then added to the .cproject file. This should make the preprocessor highlighting in eclipse work better (#9272) Patch mostly from Miguel. Alex
* Bug #09476, add more search paths for jni.Bill Hoffman2009-09-161-1/+12
|
* Fix for bug#9553, print a warning if pkg-config is not found.Bill Hoffman2009-09-161-0/+5
|
* Fix XL C++ compiler flags on LinuxBrad King2009-09-162-0/+6
| | | | | | | | In Platform/Linux.cmake we add GNU flags as default for the platform which breaks non-GNU compilers. Later we should refactor these flag files to put compiler-specific flags only in files loaded for each compiler. Until then this commit fixes the XL C++ compiler flags on Linux by erasing the GNU flags. See issue #9469.
* Initial version of FindCUDA script. Still needs documentation formatting.James Bigler2009-09-154-0/+1577
|
* fix #9152: find ZLIB quietly if PNG is searched QUIETLYAlexander Neundorf2009-09-141-2/+7
| | | | Alex
* Change FindPythonLibs to use the standard _DIR instead of _PATH but stay ↵Bill Hoffman2009-09-141-14/+27
| | | | backwards compatible
* major improvement of FindRuby.cmakeAlexander Neundorf2009-09-121-38/+188
| | | | | | | | | -now supports specifying minimum required version -now supports ruby 1.8 and 1.9 -uses find_package_handle_standard_args() now -fix #6212 and using a lot of ideas from the file attached there Alex
* use HINTS instead of PATHS and also look for libruby-static.a (which is ↵Alexander Neundorf2009-09-121-3/+3
| | | | | | built by default) Alex
* Don't pass *.S files to the assembler, they must go through gcc, because ↵Alexander Neundorf2009-09-121-1/+3
| | | | | | they must be preprocessed Alex
* Bias Fortran compiler search with C/C++ compilersBrad King2009-09-091-0/+35
| | | | | | | | | When CMAKE_Fortran_COMPILER and ENV{FC} are not defined CMake searches for an available Fortran compiler. This commit teaches the search code to look for compiler executables next to the C and C++ compilers if they are already found. Furthermore, we bias the compiler executable name preference order based on the vendor of the C and C++ compilers, which increases the chance of finding a compatible compiler by default.
* Missed another CMAKE_CFG_INTDIR reference in the previously previous commit.David Cole2009-09-081-0/+1
|
* Missed a CMAKE_CFG_INTDIR reference in the previous commit.David Cole2009-09-081-1/+1
|
* Drop old CMake "build settings" export/importBrad King2009-09-084-282/+32
| | | | | | | | | | | | The CMakeExportBuildSettings and CMakeImportBuildSettings modules used to export compiler paths and flags from one project and import them into another. The import process would force the settings on the including project. Forcing settings helped long ago when compiler ABIs changed frequently but is now just a nuisance. We've deemed the behavior harmful so this commit simply removes it. The modules and macros now error out if included or called from a project that requires CMake 2.8 or higher.
* Use more verbose/descriptive names for the "public API" functions in the ↵David Cole2009-09-081-57/+63
| | | | ExternalProject.cmake module. Follow the cmake function naming convention, using a ModuleFileName_ prefix. Locate stamp files under a CMAKE_CFG_INTDIR subdir of the stamp dir so that debug and release builds have separate stamp files for Visual Studio builds. If no CMAKE_GENERATOR argument is given to ExternalProject_Add, default to using the parent project's cmake generator.
* Oops. Close strings with double quotes. Where they're supposed to be.David Cole2009-09-041-2/+2
|
* Add MPICH2 and Microsoft HPC paths, add paths to find mpiexec. Now it works ↵David Cole2009-09-041-8/+16
| | | | better automatically on Windows. Thanks to Dave Partyka for developing the patch.
* some white space fixes for the bookKen Martin2009-09-032-9/+12
|
* Add test step to ExternalProject builds. Rename SVN_TAG to SVN_REVISION ↵David Cole2009-09-031-7/+61
| | | | since it is a more accurate name.
* Fixed ctest output where max test index is not the same width as the total ↵Zach Mullen2009-09-022-1/+13
| | | | number of tests. Also some preliminary changes for batching ctest jobs
* Add support for embeded manifests for Intel C/C++/Fortran compilersBill Hoffman2009-09-012-2/+30
|
* Add a module to determine if the intel linker supports manifest creationBill Hoffman2009-09-011-0/+17
|
* use -o flag instead of > for qdbuscpp2xmlClinton Stimpson2009-09-011-1/+1
|
* Move /MANIFEST flag into -E vs_link. This is so it can be used by the intel ↵Bill Hoffman2009-09-011-1/+1
| | | | compilers without having to specifiy it in the intel compiler files
* Use Intel for Linux flags only on LinuxBrad King2009-09-017-28/+25
| | | | | | The commit "Split Intel compiler information files" moved some Linux specific flags into the platform-independent Intel compiler info files. This moves them back.
* Fix FortranCInterface_VERIFY for non-C++ caseBrad King2009-09-011-0/+5
| | | | | | | The verification program entry point (main) is defined in a C source file, so the C compiler should be used to link when only Fortran and C are involved. The C++ compiler should still be used when the CXX option is enabled.
* Make FortranCInterface_VERIFY verbose on failureBrad King2009-09-011-0/+1
| | | | | We enable verbose build output in the try_compile of the simple project. This makes valuable information available in the case of failure.
* Fixed link order dependence in FindHDF5 module for static link.Will Dicharry2009-08-311-2/+2
|
* In FindHDF5, added C library names to CXX search libraries.Will Dicharry2009-08-311-1/+1
|
* Add missing argument to _ep_write_downloadfile_script.David Cole2009-08-261-1/+1
|
* Fixed HDF5 Find module error that caused no list to be passed into remove ↵Will Dicharry2009-08-241-4/+12
| | | | duplicates when HDF5 is not found.
* Add HDF5 find module and select_library_configurations module.Will Dicharry2009-08-242-0/+368
|
* Create FortranCInterface_VERIFY functionBrad King2009-08-247-0/+124
| | | | | | | This function builds a simple test project using a combination of Fortran and C (and optionally C++) to verify that the compilers are compatible. The idea is to help projects report very early to users that the compilers specified cannot mix languages.
* Teach FortranCInterface to load outside resultsBrad King2009-08-242-162/+169
| | | | | | | | We split the main detection logic into a Detect.cmake support module and load it only when detection results are not already available. This allows results computed by the main project to be used in try-compile projects without recomputing them. The call to try_compile() need only to pass FortranCInterface_BINARY_DIR through the CMAKE_FLAGS option.
* Split SunPro compiler information filesBrad King2009-08-218-111/+71
| | | | | | This moves platform-independent SunPro compiler flags into separate "Compiler/SunPro-<lang>.cmake" modules. Platform-specific flags are left untouched.
* Split Intel compiler information filesBrad King2009-08-217-45/+63
| | | | | | This moves platform-independent Intel compiler flags into separate "Compiler/Intel-<lang>.cmake" modules. Platform-specific flags are left untouched.
* Teach FortranCInterface to verify languagesBrad King2009-08-201-0/+9
| | | | | This module requires both C and Fortran to be enabled, so error-out if they are not.
* Add Boost 1.39 & 1.40. Move ${Boost_INCLUDE_DIR}/lib to front of library ↵Philip Lowman2009-08-201-3/+4
| | | | search.
* Remove DownloadFile.cmake and UntarFile.cmake from the Modules directory. ↵David Cole2009-08-193-117/+130
| | | | Put functionality directly into ExternalProject.cmake itself so that these modules do not end up in the upcoming release of CMake.
* Find module for the Bullet physics enginePhilip Lowman2009-08-171-0/+75
|
* A find module for the Google C++ Testing FrameworkPhilip Lowman2009-08-171-0/+69
|