summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Better fix for finding the MSBuild that matches the VS 10 install.Bill Hoffman2009-10-201-4/+2
|
* Add search path for VS 10 beta 2 MSBuild.Bill Hoffman2009-10-201-0/+2
|
* Fixes version detection using osg/Version on Mac OSX when OSG is installed ↵Philip Lowman2009-10-201-2/+8
| | | | | | as a framework Patch from rpavlik attached to issue #9714
* fix whitespace, so documentation is formatted properlyAlexander Neundorf2009-10-191-15/+15
| | | | Alex
* Fixed bug 8319, search for the Python shared library in the standard locations.Marcus Hanwell2009-10-191-2/+0
|
* Try to fix bug#9714, should not crash when version file is not where it ↵Bill Hoffman2009-10-161-4/+7
| | | | should be...
* make it more robust wrt. #9621Alexander Neundorf2009-10-141-8/+8
| | | | | | | | | | although #9621 did not happen anymore with cmake 2.8.0, probably because GET_PROPERTY(... GLOBAL ...) now makes the result variable empty instead of simply not touching it, using FUNCTION() instead of MACRO() makes sure that the _EnabledFeatures variables is always empty before the GET_PROPERTY() call (and does not still have the old value from the previous call) Alex
* CTest-side support for compiler name and compiler version information. ↵Zach Mullen2009-10-121-1/+4
| | | | Requires CDash update to show on CDash.
* Several minor FindBoost changes to address posts on mailing listPhilip Lowman2009-10-091-8/+33
| | | | | | | | | | | | | | | | | | | | | | 1. Add STATUS output "Could NOT find Boost" if boost is not found which brings FindBoost closer in behavior to most CMake find modules. 2. Add an option: Boost_DETAILED_FAILURE_MSG to output Boost_ERROR_REASON on a non-REQUIRED find if this is desired by the developer. This is done because the error messages are rather long and software with optional Boost dependencies might not like them showing up by default, especially since this wasn't done before. 3. Add mention of Boost_ADDITIONAL_VERSIONS close to top of file since this seems to be the most common problem brought up on the mailing list (maybe people will notice it there) 4. Added additional check for intel compiler which probably isn't necessary but ultimately should be cleaner if CMAKE_CXX_COMPILER_ID sticks around. 5. Added my name to the Copyright list
* Resolve #9685: Fix include dir to be correct pathPhilip Lowman2009-10-091-6/+7
| | | | Also refrain from setting _LIBRARIES & _INCLUDE_DIRS if lib not found (seems to be mostly standard practice).
* Split Borland compiler information filesBrad King2009-10-084-128/+125
| | | | | | | | | | | This commit re-writes Borland compiler build rules. We split the rules into modern <os>-<id>-<lang> information modules but share a common macro between languages to avoid duplication. We also address a bug in the previous rules that would build some target types against the static Borland runtime and others against the shared Borland runtime in one build tree. Now we always use the shared runtime as is the default in the rules for MS tools.
* Check for openssl-linked option with Qt 4.4+ before making ssl a dependency.Clinton Stimpson2009-10-071-6/+15
|
* Modernize FindVTK moduleBrad King2009-10-071-61/+48
| | | | | | | | | | This teaches the FindVTK module to use the Config mode of find_package() to search for VTKConfig in the common case. The old search method based on find_path() and UseVTK is now used only to search for VTK 4.0. This approach avoids the need to update the module for each new VTK version because find_package(VTK) automatically searches "lib/vtk*". It also addresses issue #9105 since find_package searches lib64 paths too.
* More robust implicit link line detection regexBrad King2009-10-071-1/+3
| | | | | | | | The regex used by CMAKE_PARSE_IMPLICIT_LINK_INFO to detect link lines should not match lines that happen to have ".../ld.../..." in them. A linker name should match only as the last component of a path. See issue #9666.
* Fix Xcode build.James Bigler2009-10-072-6/+2
| | | | | Move the make_directory command to the main target, so that CMAKE_CFG_INTDIR will get expanded by the build tool.
* 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.