summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Removed support for cutil library and header file.James Bigler2009-09-291-41/+54
| | | | | | | | Cutil was never intented to be used outside of the SDK. The removal of this code is in support of this. The CUDA_SDK_ROOT_DIR will continue to be supported, in case users wish to use this to find files in the SDK. There are also two examples of how to use CUDA_SDK_ROOT_DIR to find header files and libraries if users so wish.
* Fixed CUDA_PROPAGATE_HOST_FLAGS, added path for Mac SDK.James Bigler2009-09-291-15/+22
| | | | | | The CUDA_PROPAGATE_HOST_FLAGS was incorrect in that it prevented the CUDA_NVCC_FLAGS_CONFIG variable from getting filled. Also, added a search path for the CUDA SDK install on Macs.
* Fix issue #9412 - remove RPATH from files copied by BundleUtilities.cmake on ↵David Cole2009-09-281-0/+4
| | | | Linux. Thanks to Clinton Stimpson for the patch.
* Fix issue #9395 - only return true for .exe files on Windows from the ↵David Cole2009-09-281-4/+4
| | | | is_file_executable function. Makes behavior of this function conceptually consistent with Mac and Linux behavior. Thanks to Clinton Stimpson for the patch.
* Convert CMake non-find modules to BSD LicenseBrad King2009-09-28121-32/+1588
| | | | | | | This adds copyright/license notification blocks CMake's non-find modules. Most of the modules had no notices at all. Some had notices referring to the BSD license already. This commit normalizes existing notices and adds missing notices.
* Convert CMake find-modules to BSD LicenseBrad King2009-09-28126-178/+1627
| | | | | | | This adds copyright/license notification blocks CMake's find-modules. Many of the modules had no notices at all. Some had notices referring to the BSD license already. This commit normalizes existing notices and adds missing notices.
* Convert FindCUDA helper newlines from CRLF to LFBrad King2009-09-282-309/+309
| | | | | These files were committed to the repository with Windows newlines. This converts them to Unix newlines so they will show up natively.
* Correct comments and use ASM${ASM_DIALECT} env. var instead of ASM env. var ↵Alexander Neundorf2009-09-261-5/+5
| | | | | | to initialize the the assembler to use. Alex
* document the RUBY_VERSION variableAlexander Neundorf2009-09-261-0/+1
| | | | Alex
* Convert newlines from CRLF to LFBrad King2009-09-253-1447/+1447
| | | | | These files were committed to the repository with Windows newlines. This converts them to Unix newlines so they will show up natively.
* Documentation fixes, new CUDA_PROPAGATE_HOST_FLAGS, changed output directory.James Bigler2009-09-251-136/+168
| | | | | | | | | - Finished updating and formatting documentation. - Added CUDA_PROPAGATE_HOST_FLAGS (Default ON) that can disable the C flag propagation to the host compiler. _ Changed the output directory for support files from ${CMAKE_CURRENT_BINARY_DIR} to ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles. This will hopefully reduce the clutter in the binary directory.
* BUG: Fix issue #8177. Modify the system PATH for all users when requested ↵David Cole2009-09-241-8/+29
| | | | during an NSIS based installer run. Thanks to Bart Janssens for the patch.
* 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
|