summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Log implicit link line detection regexBrad King2009-10-061-0/+1
| | | | | | | | | | This commit teaches the CMAKE_PARSE_IMPLICIT_LINK_INFO function to log the regex it uses to detect the linker invocation line. The regex is computed from the CMAKE_LINKER if it is found, so it might change. A strange value might match the wrong line and cause implicit link info extraction to fail. See issue #9666.
* Log implicit link information parsing actionsBrad King2009-10-062-2/+24
| | | | | | | This commit teaches the CMAKE_PARSE_IMPLICIT_LINK_INFO function to log its actions. We store the log in CMakeFiles/CMakeOutput.log at the top of the project build tree. This will make diagnosis of implicit link information parsing problems easier.
* Use work-around from bug 4772 for C++ and FortranBrad King2009-10-063-13/+27
| | | | | | | | | | | | | | The commit "fix for bug 4772" added a work-around to CMakeCInformation for platform config files that put compiler information in the system file (like SunOS flags for GCC). This commit adds the same work-around for CXX and Fortran. It is necessary to support enabling these languages separately from C in other subdirectories. The commit "Avoid (Unix|Windows)Paths.cmake multiple include" added include blockers that prevent the files from multiple inclusion, so it is safe to include the system information files from every language. See issue #4772 and issue #9656.
* Updated copyright notice to conform to NVIDIA guidelines.James Bigler2009-10-054-8/+4
|
* FortranCInterface: Mangling for Intel on WindowsBrad King2009-10-051-0/+4
| | | | | The Intel Fortran compiler for Windows uses upper-case symbol names with no trailing underscore.
* Teach intel compiler on windows to place .lib files and .pdb files.Bill Hoffman2009-10-051-2/+2
|
* CPack: Fix bash-isms in launch scriptBrad King2009-10-051-4/+4
| | | | Patch from Raphael Geissert and Modestas Vainius. See issue #9659.
* Teach intel compiler on windows to place .lib files and .pdb files.Bill Hoffman2009-10-051-1/+7
|
* Avoid (Unix|Windows)Paths.cmake multiple includeBrad King2009-10-052-0/+20
| | | | | | | | | | Block multiple inclusion because "Modules/CMakeCInformation.cmake" includes "Platform/${CMAKE_SYSTEM_NAME}" even though the generic module "CMakeSystemSpecificInformation.cmake" already included it. The extra inclusion is a work-around to address issue #4772 without intrusive platform file changes. Once those changes are made the work-around and these include blockers can be removed. See issue #9656.
* Add copyright notice to (Unix|Windows)Paths.cmakeBrad King2009-10-052-0/+28
| | | | | This commit adds our copyright notice to these non-trivial platform modules.
* When getting include dirs for moc, also watch for framework includes and use ↵Clinton Stimpson2009-10-051-1/+6
| | | | -F instead of -I.
* Find locally installed software firstBrad King2009-10-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | This commit re-orders the search path prefix list from / /usr /usr/local to /usr/local / /usr so that locally-installed software is preferred. This makes the search consistent with the Filesystem Hierarchy Standard: http://www.pathname.com/fhs/ See issue #9657.
* Fix module docs to be manpage (groff) friendlyBrad King2009-10-053-30/+30
| | | | | | | | | | | | | | | | | | | | | | Most problems are fixed (or rather worked-around) by making long '=====' separators pre-formatted (i.e. prefixed with two spaces). In order to preserve visual view, the code examples themselves are prefixed with 3 spaces. This commit fixes the following man warnings: $ cmake --help-man - | LANG=C MANWIDTH=80 man --warnings -l - > /dev/null <standard input>:6024: warning [p 105, 1.7i]: can't break line <standard input>:6027: warning [p 105, 2.7i]: cannot adjust line <standard input>:6027: warning [p 105, 2.8i]: can't break line <standard input>:7142: warning [p 117, 7.8i]: can't break line <standard input>:7171: warning [p 117, 11.8i]: can't break line <standard input>:8878: warning [p 136, 9.0i]: can't break line <standard input>:8887: warning [p 136, 11.5i]: cannot adjust line <standard input>:8887: warning [p 136, 11.7i]: can't break line <standard input>:8904: warning [p 136, 14.2i]: can't break line Patch from Modestas Vainius. See issue #9659.
* Support GNU/kFreeBSDBrad King2009-10-052-11/+7
| | | | | | | | | | | | | GNU/kFreeBSD = FreeBSD kernel + userspace with glibc. Linux.cmake doesn't contain anything too OS specific, so we can forward to it. Here are outputs of /bin/uname on author's machine: uname -p ==> i386 uname -o ==> GNU/kFreeBSD uname -s ==> GNU/kFreeBSD uname -r ==> 5.4-1-686 Patch from Modestas Vainius. See issue #9659.
* FindQt3: Prefer (moc|uic)-qt3 names over (moc|uic)Brad King2009-10-051-2/+3
| | | | | | | On Debian moc and uic from Qt3 have '-qt3' suffixes. The latter names might come from Qt4, so prefer the version-specific names. Patch from Modestas Vainius. See issue #9659.
* Remove old license from FindPkgConfig.cmake moduleBrad King2009-10-051-24/+1
| | | | | | | This module was contributed under a BSD-like license. We added CMake's OSI-approved BSD License on top of it. With the author's permission, this commit removes the old license text and puts the author's copyright notice in the block referring to the new license.
* Fix issue #8649 - move the location of CPACK_NSIS_EXTRA_INSTALL_COMMANDS so ↵David Cole2009-10-041-2/+2
| | | | that it is not excluded from execution when 'Do not create shortcuts' is checked.
* some syncing with the FindQt4.cmake from KDEAlexander Neundorf2009-10-041-13/+13
| | | | | | | | | -remove the parentheses in the if() conditions, they don't change the result, and without them these lines are identical to the ones in FindQt4.cmake from KDE -mention which qmake was used for finding Qt Alex
* -add the additional features for the dbus macros from KDE's FindQt4.cmakeAlexander Neundorf2009-10-031-7/+13
| | | | Alex
* Create INTERPROCEDURAL_OPTIMIZATION build featureBrad King2009-10-023-3/+9
| | | | | | | | This commit creates target and directory properties to enable the Intel interprocedural optimization support on Linux. Enabling it adds the compiler option '-ipo' and uses 'xiar' to create archives. See issue #9615.
* Fix typo in Intel xiar search codeBrad King2009-10-021-3/+3
| | | | This renames the variable '_intel_xair_hints' to '_intel_xiar_hints'.
* Fix the documentation to say what it really does. Bug #9638Bill Hoffman2009-10-023-4/+4
|
* document how the minimum version can be specifiedAlexander Neundorf2009-10-011-54/+57
| | | | Alex
* Add documentation for Cocoa flag and move Motif under X11 flag.Clinton Stimpson2009-10-011-1/+9
|
* QtHelp depends on QtNetworkClinton Stimpson2009-10-011-1/+1
|
* Add missing copyright notice to CMake.cmake moduleBrad King2009-10-011-0/+13
|
* Some bugfixes, also added public function for closer integration btwn ↵Philip Lowman2009-10-011-40/+118
| | | | | | | | | | | GoogleTest & CTest, contributed by Dan Blezek. Other minor changes: * Enhanced documentation & added examples * _INCLUDE_DIRS and _LIBRARIES was being set regardless of _FOUND * Fixed status message to include library rather than include dir * Improved detection of MSVC compiled libraries * Added a variable (GTEST_BOTH_LIBRARIES) for libgtest + libgtest_main
* Eliminate ExternalProject's use of CMAKE_CFG_INTDIR subdir for Makefile ↵David Cole2009-09-301-16/+42
| | | | generators. It was causing problems with parallel make -j invocations. Keep it for multi-configuration build systems so that Debug and Release stamp files remain separate.
* Fix for bug #9611, some more paths for OpenJDK.Bill Hoffman2009-09-301-1/+5
|
* Fix for bug #9611 do not hard code archs for search paths of java, look at ↵Bill Hoffman2009-09-301-35/+52
| | | | the machine type.
* Fix bug#9619 add a link to module maintainers page in readme.txt for ModulesBill Hoffman2009-09-301-0/+4
|
* Add initial XL C compiler flags for safer buildsBrad King2009-09-301-0/+5
| | | | | | | This commit adds some default initial C flags for the XL compiler. The most important is "-qhalt=e" which causes the compiler to error-out on non-severe error messages. This is necessary to get try-compiles to fail when bad arguments are passed to a function.
* Split XL compiler information filesBrad King2009-09-3013-32/+45
| | | | | | This moves platform-independent XL compiler flags into separate "Compiler/XL-<lang>.cmake" modules. Platform-specific flags go in "Platform/<os>-XL-<lang>.cmake" modules.
* Fix default install prefix on HaikuBrad King2009-09-301-0/+5
| | | | | | | | Since Haiku does not have /usr (and therefore /usr/local), this commit changes the default install prefix to the equivalent directory of /boot/common. See issue #9607.
* Fix shared library creation flag for XL on LinuxBrad King2009-09-293-1/+3
| | | | See issue #9617.
* Updated the license on top of each file.James Bigler2009-09-293-48/+93
|
* 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.