summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Enable resource building with the intel compiler on windows.Bill Hoffman2011-01-031-0/+4
|
* Merge topic 'bug-11518-dbus-macro'Brad King2010-12-281-1/+9
|\ | | | | | | | | d640d54 allow absolute paths for dbus interface.
| * allow absolute paths for dbus interface.Clinton Stimpson2010-12-231-1/+9
| |
* | Merge topic 'FindBLAS_FindLAPACK'Brad King2010-12-282-13/+31
|\ \ | | | | | | | | | | | | | | | | | | 51253da FindLAPACK works with C/C++ only projects (issue 0009976) e64b5da fix for Fortran-only projects 1279bd7 find ACML fixes
| * | FindLAPACK works with C/C++ only projects (issue 0009976)Alexey Ozeritsky2010-12-271-11/+11
| | |
| * | fix for Fortran-only projectsAlexey Ozeritsky2010-12-271-1/+9
| | |
| * | find ACML fixesAlexey Ozeritsky2010-12-271-1/+11
| | |
* | | Merge topic 'mac-headerpad_max_install_names-passthru'Brad King2010-12-282-6/+6
|\ \ \ | | | | | | | | | | | | | | | | e498527 Pass Mac linker flag through all compilers with -Wl,
| * | | Pass Mac linker flag through all compilers with -Wl,Brad King2010-12-222-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The Mac linker defines flag -headerpad_max_install_names but not all front-ends recognize the flag and pass it through (many did in the past, such as the Apple port of GCC). Use the -Wl, option prefix to tell front-ends to pass it through without trying to interpret it.
* | | | Merge topic 'dev/use-fphsa-in-find-opengl'Brad King2010-12-281-4/+5
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | 937e369 Use FPHSA in FindOpenGL
| * | | Use FPHSA in FindOpenGLBen Boeckel2010-12-081-4/+5
| | | | | | | | | | | | | | | | This gets FindOpenGL to obey the QUIET and REQUIRED options correctly.
* | | | Merge topic 'cygwin'Brad King2010-12-211-1/+45
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 85c0a69 Cygwin: Do not define 'WIN32' (#10122) 62c6d2d Merge branch 'cmake_--system-information_min-version' into cygwin 72db20f Merge branch 'tests-if-CYGWIN' into cygwin 5adef16 Merge branch 'cygwin-module-prefix' into cygwin cbc3258 Merge branch 'try-compile-min-version' into cygwin
| * | | | Cygwin: Do not define 'WIN32' (#10122)Brad King2010-12-171-1/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | One of Cygwin's goals is to build projects using the POSIX API with no Windows awareness. Many CMake-built projects have been written to test for UNIX and WIN32 but not CYGWIN. The preferred behavior under Cygwin in such projects is to take the UNIX path but not the WIN32 path. Unfortunately this change is BACKWARDS INCOMPATIBLE for Cygwin-aware CMake projects! Some projects that previously built under Cygwin and are Cygwin-aware when they test for WIN32 may now behave differently. Eventually these projects will need to be updated, but to help users build them in the meantime we print a warning about the change in behavior. Furthermore, one may set CMAKE_LEGACY_CYGWIN_WIN32 to request old behavior during the transition. Normally we avoid backwards incompatible changes, but we make an exception in this case for a few reasons: (1) This behavior is preferred by Cygwin's design goals. (2) A warning provides a clear path forward for everyone who may see incompatible behavior, and CMAKE_LEGACY_CYGWIN_WIN32 provides a compatibility option. The warning and compatibility option both disappear when the minimum required version of CMake in a project is sufficiently new, so this issue will simply go away over time as projects are updated to account for the change. (3) The fixes required to update projects are fairly insignificant. Furthermore, the Cygwin distribution has no releases itself so project versions that predate said fixes tend to be difficult to build anyway. (4) This change enables many CMake-built projects that did not previously build under Cygwin to work out-of-the-box. From bug #10122: "I have built over 120 different source packages with (my patched) CMake, including most of KDE4, and have found that NOT defining WIN32 on Cygwin is much more accurate." -- Yaakov Selkowitz A fully compatible change would require patches on top of these project releases for Cygwin even though they otherwise need not be aware of it. (5) Yaakov has been maintaining a fork of CMake with this change for the Cygwin Ports distribution. It works well in practice. By accepting the change in upstream CMake we avoid confusion between the versions. CMake itself builds without WIN32 defined on Cygwin. Simply disable CMAKE_LEGACY_CYGWIN_WIN32 explicitly in our own CMakeLists.txt file.
| * | | | Merge branch 'cmake_--system-information_min-version' into cygwinBrad King2010-12-171-1/+2
| |\ \ \ \
* | \ \ \ \ Merge topic 'cmake_--system-information_min-version'Brad King2010-12-211-1/+2
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | a6cb1d4 Declare min CMake version in --system-information project
| * | | | | Declare min CMake version in --system-information projectBrad King2010-12-171-1/+2
| | |/ / / | |/| | | | | | | | | | | | | | | | | | The --system-information flag's project triggered a CMP0000 warning because the CMakeLists.txt it generates needs cmake_minimum_required.
* | | | | Merge topic 'CheckCCompilerFlag-strict-prototypes'Brad King2010-12-211-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | b3efdb5 CheckCCompilerFlag: Strict signature of 'main' (#11615)
| * | | | | CheckCCompilerFlag: Strict signature of 'main' (#11615)Brad King2010-12-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use "int main(void)" instead of just "int main()" so that compiling with "gcc -Werror=strict-prototypes" works. Test this check using the flags "-Werror -Wstrict-prototypes" to work with old GCC versions.
* | | | | | Merge topic 'gnu-compiler-windows-info'Brad King2010-12-211-1/+0
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | e8d380f Remove unused old-style g++ info file
| * | | | | | Remove unused old-style g++ info fileBrad King2010-12-161-1/+0
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit aff31479 (Modernize GNU compiler info on Windows, 2009-12-02) the file Modules/Platform/Windows-g++.cmake has been unused. It just includes the non-existent Modules/Platform/Windows-gcc.cmake so remove it outright.
* | | | | | Merge topic 'intel-compiler-windows-info'Brad King2010-12-219-189/+118
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cd43636 Modernize Intel compiler info on Windows 58c73c4 Detect Fortran target architecture on Windows
| * | | | | | Modernize Intel compiler info on WindowsBrad King2010-12-166-192/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This moves Intel compiler info on Windows into new-style modules Platform/Windows-Intel-<lang>.cmake using language-independent helper module Platform/Windows-Intel.cmake to define macros consolidating the information.
| * | | | | | Detect Fortran target architecture on WindowsBrad King2010-12-164-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 4430bccc (Change the way 32/64 bit compiles are detected with MSVC and intel, 2009-11-19) added detection of the target processor to C and CXX language builds with MS and Intel tools. Do the same for Intel Fortran for Windows (ifort). Use /machine:<arch> to link executables.
* | | | | | | Merge topic 'intel-config-definitions'Brad King2010-12-211-10/+10
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | 3fb088e Make Intel defines consistent with MSVC on Windows (#9904)
| * | | | | | Make Intel defines consistent with MSVC on Windows (#9904)Brad King2010-12-151-10/+10
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | Add /DWIN32 and /D_WINDOWS to default config-independent flags. Add /D[_N]DEBUG to default flags for each configuration.
* | | | | | Merge topic 'FindBLAS_FindLAPACK'Brad King2010-12-211-18/+24
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | cabafa3 ACML find fixes (issue 0011219) 4f00763 FindBLAS works in C/C++ projects without Fortran
| * | | | | ACML find fixes (issue 0011219)Alexey Ozeritsky2010-12-161-1/+12
| | | | | |
| * | | | | FindBLAS works in C/C++ projects without FortranAlexey Ozeritsky2010-12-161-17/+12
| |/ / / /
* | | | | Merge topic 'cygwin-module-prefix'Brad King2010-12-161-1/+1
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | 1dcc977 Cygwin: Use 'cyg' prefix for module DLLs (#10122)
| * | | | Cygwin: Use 'cyg' prefix for module DLLs (#10122)Yaakov Selkowitz2010-12-131-1/+1
| | |/ / | |/| | | | | | | | | | Cygwin now uses the prefix 'cyg' for plugin DLLs instead of 'lib'.
* | | | Merge topic 'NAG-Fortran'Brad King2010-12-168-23/+81
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 09d1c10 FortranCInterface: Recognize NAG Fortran module symbols af2ad90 Add NAG Fortran compiler information files 24cc3d4 Recognize the NAG Fortran compiler 83892c4 Allow Fortran platform files to set empty values fe3f878 Detect object files in implicit link information
| * | | | FortranCInterface: Recognize NAG Fortran module symbolsBrad King2010-12-091-0/+2
| | | | |
| * | | | Add NAG Fortran compiler information filesBrad King2010-12-093-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Linux the NAG Fortran compiler uses gcc under the hood to link. Use "-Wl,-v" to pass "-v" to the underlying gcc compiler to get verbose link output. Detect the NAG Fortran directory (using -dryrun) and then honor object files in the directory referenced in the implicit link line. Pass real linker options with "-Wl,-Xlinker,". The -Wl, gets through the NAG front-end and the -Xlinker gets through the gcc front-end.
| * | | | Recognize the NAG Fortran compilerBrad King2010-12-091-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Numerical Algorithms Group (NAG) Fortran compiler does not document a preprocessor macro to identify it. Check for identifying output using the -V option.
| * | | | Allow Fortran platform files to set empty valuesBrad King2010-12-091-21/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach CMakeFortranInformation to use default flags only for variables that have not been set at all, rather then not set or empty. This will allow platform or compiler-specific information files to set empty values without getting the defaults.
| * | | | Detect object files in implicit link informationBrad King2010-12-092-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The NAG Fortran compiler implicitly passes object files by full path to the linker. Teach CMakeParseImplicitLinkInfo to parse object files that match some tool-specific regular expression.
* | | | | CPackSTGZ quote here-doc, fix bug10518Eric NOULARD2010-12-151-1/+1
| |_|/ / |/| | |
* | | | Merge topic 'external-project-args-file'Brad King2010-12-141-1/+52
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3bc828d Fixed bug where last entry would be lost. b316087 Escape file write expansion, and build up lists. 68cd3fe Added CMAKE_CACHE_ARGS to ExternalProject.
| * | | | Fixed bug where last entry would be lost.Marcus D. Hanwell2010-12-131-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | The code to build up a list was missing the final entry in an initial cache.
| * | | | Escape file write expansion, and build up lists.Marcus D. Hanwell2010-12-111-12/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Escaped the @var@ in the file writes - this was being expanded at file write and so not causing a reconfigure at the right time. I also took care of build up lists of lists in the variables, especially important for things like MPI_EXTRA_LIBRARY. Added some error checking, and use the tmp_dir for initial cache file.
| * | | | Added CMAKE_CACHE_ARGS to ExternalProject.Marcus D. Hanwell2010-12-101-0/+33
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Windows the limit for command line arguments is 8192 characters, and this was limiting longer paths with some of our more nested projects such as Library. Placing the -D arguments into CMAKE_CACHE_ARGS will write out an initial cache file, that will be passed to CMake with a -C argument as the initial cache. By forcing the cache variables we preserve the existing behavior with -D, to change the values of cache variables in our inner projects.
* | | | Merge topic 'CPackRPM-Fix0011595'Brad King2010-12-141-3/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 8d366cd CPackRPM fix bug 0011595 : Can't generate RPMs (on FC11...)
| * | | | CPackRPM fix bug 0011595 : Can't generate RPMs (on FC11...)Eric NOULARD2010-12-131-3/+2
| |/ / /
* | | | Merge topic 'ParallelEclipseMakefiles2'Brad King2010-12-141-0/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | 27ee50a Add ECLIPSE_CDT4_GENERATE_SOURCE_PROJECT as a ADVANCED cache variable (#9631) 50d21d4 Add cache var CMAKE_ECLIPSE_MAKE_ARGUMENTS when using the Eclipse generator
| * | | | Add ECLIPSE_CDT4_GENERATE_SOURCE_PROJECT as a ADVANCED cache variable (#9631)Alex Neundorf2010-12-131-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This variable has been supported since 2.6 I think, having it in the cache makes it easier to use (see bug report #9631) Alex
| * | | | Add cache var CMAKE_ECLIPSE_MAKE_ARGUMENTS when using the Eclipse generatorAlex Neundorf2010-12-121-0/+2
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | This variable can be set to command line arguments which will be passed to make when eclipse invokes make, e.g. you can enter "-j8" to get 8 parallel builds (#9930) Alex
* | | | Merge topic '11445-workaround'Brad King2010-12-141-28/+26
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | a80d6e9 Add Boost 1.46 88babef [patch] Add Boost 1.45 to search, simplify a check removing VERSION_LESS
| * | | | Add Boost 1.46Philip Lowman2010-12-131-2/+2
| | | | |
| * | | | [patch] Add Boost 1.45 to search, simplify a check removing VERSION_LESSPhilip Lowman2010-12-131-28/+26
| |/ / / | | | | | | | | | | | | | | | | Also some whitespace issues are cleaned up. Patch from Adam Richardson attached to #11445
* | | | Merge topic 'fix_incremental_vs2010'Brad King2010-12-141-0/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | cddcad5 Fix incremental linking for VS2010 with nmake or make.