summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Updated formatting of documentation plus a little reorganization.James Bigler2009-09-231-141/+145
|
* Added a command to make the output directory. This is to fix the XCode ↵James Bigler2009-09-231-0/+6
| | | | build that uses a different output directory than other systems, and rather than try to match that we'll just make it.
* add support for finding qcollectiongenerator executable. fixes #9248.Clinton Stimpson2009-09-221-9/+17
|
* Add support for Qt configured with custom qtlibinfix (see issue 9571). Also ↵Clinton Stimpson2009-09-221-35/+36
| | | | fix CMP 15 warnings.
* Skip implicit link info for multiple OS X archsBrad King2009-09-221-2/+6
| | | | | | | | | | | Implicit link information contains architecture-specific libraries and directories. The link information cannot be explicitly specified safely when CMAKE_OSX_ARCHITECTURES contains more than one architecture. As a result, we currently cannot support mixed-language C++/Fortran targets and OS X universal binaries simultaneously. In order to avoid conflicts for simple C/C++ cases, we now simply skip detection of implicit link information in this case.
* Make Boost easier to findPhilip Lowman2009-09-221-1/+4
|
* Fix issue 9581. Qt 4.5+ needs gobject-2.0.Clinton Stimpson2009-09-221-0/+27
|
* Add a blank line to my contributed find modules to prevent copyright info ↵Philip Lowman2009-09-224-15/+15
| | | | from showing up in CMake docs
* Fix Bug #9158: FindBoost.cmake does not work properly with nmake and iclPhilip Lowman2009-09-221-10/+11
|
* Fix glitch where we were accidently unsetting CMAKE_FIND_LIBRARY_PREFIXESPhilip Lowman2009-09-211-1/+1
|
* Forgot to mark Protobuf cache variables as advancedPhilip Lowman2009-09-211-0/+5
|
* [NEW Module] FindAlsa audio library (Advanced Linux Sound Architecture)Philip Lowman2009-09-211-0/+32
|
* [NEW Module] Find and use Google's Protocol Buffers library & compilerPhilip Lowman2009-09-211-0/+106
|
* Fix boost library detection with Sun Studio compiler (Issue #9153)Philip Lowman2009-09-201-0/+2
|
* Improve readabilityPhilip Lowman2009-09-201-16/+27
|
* Fix check for -isysroot on OS XBrad King2009-09-196-14/+26
| | | | | | | | | | | Previously we checked for this flag by parsing the version number of GCC out of 'gcc --version', but this is not reliable because the format can vary greatly. Now we run 'gcc -v --help' and look for '-isysroot' in the list of options. We also now store the result on a per-language basis in the per-compiler info file "CMake<LANG>Compiler.cmake". This is necessary to make it accessible from try-compile projects so that they generate correctly.
* The preprocessing and assembly rules also need the <DEFINES>, otherwise ↵Alexander Neundorf2009-09-192-4/+4
| | | | | | different reults are created. Alex
* 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