summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'no-AppleClang-C-features'Brad King2014-11-131-1/+2
|\ | | | | | | | | ded30405 Features: Don't record for AppleClang
| * Features: Don't record for AppleClangStephen Kelly2014-11-121-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Features are currently recorded accidentally for all versions of AppleClang > 3.4 (I have no idea how that relates to upstream Clang). Presumably that version has the features which are accidentally recorded, but in the future features will be recorded initially for only AppleClang >= 5.1, which would appear as a feature regression. Commit v3.1.0-rc1~635^2~11 (Don't load Clang-CXX from AppleClang-CXX., 2013-11-11) ajusted the logic for the CXX language. Make a similar change for the C language.
| * Merge branch 'ExternalProject-check-hash-before-download' into releaseBrad King2014-11-101-1/+14
| |\
| * \ Merge branch 'xcode-ios-compiler-id' into releaseBrad King2014-11-071-1/+1
| |\ \
| * \ \ Merge branch 'doc-cleanup-xrefs' into releaseBrad King2014-11-072-2/+2
| |\ \ \
| * \ \ \ Merge branch 'doc-formatting' into releaseBrad King2014-11-071-1/+2
| |\ \ \ \
* | \ \ \ \ Merge topic 'add-FindIntl'Brad King2014-11-132-0/+72
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | c5e797db FindIntl: New module to find Gettext libintl
| * | | | | | FindIntl: New module to find Gettext libintlRoger Leigh2014-11-112-0/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for Sun/Uniforum/GNU gettext libintl. This belongs in CMake rather than upstream because: * There are multiple upstreams (Sun, GNU). * It may or may not be in the glibc C library depending upon the platform and build options used. Although we already have a FindGettext module, that is for the tools. This module is for the library, and is independent because it's perfectly OK to use libintl without the gettext tools (and vice versa), and they might not all be found. Add cross references between the two modules in notes to make the relationship clearer.
* | | | | | | Merge topic 'compile-features-refactor'Brad King2014-11-136-70/+75
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 32b91b9e Features: Run GNU feature tests with std=c++14 when available. 82c283f9 Features: Use the correct dialect flag when recording features. b18155b7 Features: Reorder the GNU C dialect feature tests e68d5c60 Features: Split the Clang testable features to a separate file.
| * | | | | | | Features: Run GNU feature tests with std=c++14 when available.Stephen Kelly2014-11-121-1/+4
| | | | | | | |
| * | | | | | | Features: Use the correct dialect flag when recording features.Stephen Kelly2014-11-124-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid using -std=c++1y for compilers which support -std=c++14, for example.
| * | | | | | | Features: Reorder the GNU C dialect feature testsStephen Kelly2014-11-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This doesn't make a difference, but the consistency with other files is easier to reason about.
| * | | | | | | Features: Split the Clang testable features to a separate file.Stephen Kelly2014-11-112-53/+55
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | These tests can be shared with the AppleClang compile feature tests.
* | | | | | | Merge topic 'ExternalProject_UPDATE_DISCONNECTED'Brad King2014-11-131-1/+63
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3c497f11 Help: Add notes for topic 'ExternalProject_UPDATE_DISCONNECTED' aba5cec6 ExternalProject: Add unit tests for UPDATE_DISCONNECTED 3f606fa7 ExternalProject: Add UPDATE_DISCONNECTED option c0b749cf ExternalProject: Always add a command to a step
| * | | | | | ExternalProject: Add UPDATE_DISCONNECTED optionDaniele E. Domenichelli2014-11-061-1/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If UPDATE_DISCONNECTED is set, the update step is not executed automatically when building the main target. The update step can still be added as a step target and called manually. This is useful if you want to allow to build the project when you are disconnected from the network (you might still need the network for the download step). This is disabled by default. The directory property EP_UPDATE_DISCONNECTED can be used to change the default value for all the external projects in the current directory and its subdirectories.
| * | | | | | ExternalProject: Always add a command to a stepDaniele E. Domenichelli2014-11-061-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some generators (i.e. Xcode) will not generate a file level target if no command is set, and therefore the dependencies on this target will be broken. This patch sets an empty echo command that does nothing to avoid this issue.
* | | | | | | Merge topic 'ExternalProject-check-hash-before-download'Brad King2014-11-111-1/+14
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | ee7405a6 ExternalProject: Restore logic to not download already-existing file
| * | | | | | ExternalProject: Restore logic to not download already-existing fileBrad King2014-11-101-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The change in commit v3.1.0-rc1~85^2 (ExternalProject: Fix download retry logic, 2014-09-13) dropped the file(DOWNLOAD) EXPECTED_HASH argument. This prevents file(DOWNLOAD) from skipping the download if the output file already exists with the proper hash. Restore this check with explicit code in the download script. Reported-by: Ruslan Baratov <ruslan_baratov@yahoo.com>
* | | | | | | Merge topic 'make-fortran-preprocessor-assembly-targets'Brad King2014-11-108-11/+21
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b6b37e30 Makefile: Add assembly and preprocessed targets for Fortran 0842b084 Makefile: Refactor checks for lang-specific targets and export compile cmds
| * | | | | | | Makefile: Add assembly and preprocessed targets for FortranTim Gallagher2014-11-108-11/+21
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | Extend the FortranOnly test to cover "make <src>.i" targets.
* | | | | | | Merge topic 'xcode-ios-compiler-id'Brad King2014-11-101-1/+1
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | 7f89552a Xcode: Fix compiler path detection for iOS tools on Xcode <= 5.0 (#15237)
| * | | | | | Xcode: Fix compiler path detection for iOS tools on Xcode <= 5.0 (#15237)Brad King2014-11-071-1/+1
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.1.0-rc1~1^2~1 (Xcode: Fix compiler id detection for iOS tools, 2014-10-22) our compiler id detection project sets the product type to 'com.apple.product-type.bundle.unit-test'. This causes the Ld command line on which we match the path to the compiler to have a 'CompilerIdC.xctest/' component. The commit updated our regex to match this, but placed it before the extra './' component that Xcode 5.0 and below produce. Xcode <= 5.0 prints '/./CompilerIdC.xctest/', so switch the order of the two components in the regex to match it.
* | | | | | Merge topic 'doc-cleanup-xrefs'Brad King2014-11-072-2/+2
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | 4c8c442d Help: Fix broken cross-references reported by 'nitpicky' option
| * | | | | Help: Fix broken cross-references reported by 'nitpicky' optionBrad King2014-11-072-2/+2
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | Enable the Sphinx 'nitpicky' option and fix the resulting warnings about dangling references.
| * | | | Merge branch 'release-doc-formatting' into releaseBrad King2014-11-0713-140/+102
| |\ \ \ \
| * \ \ \ \ Merge branch 'FindIce-no-envvar-markup' into releaseBrad King2014-11-031-1/+1
| |\ \ \ \ \
| * \ \ \ \ \ Merge branch 'watcom-drop-symfile-option' into releaseBrad King2014-11-031-2/+2
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge branch 'fix-configure_file-COPYONLY' into releaseBrad King2014-11-031-1/+1
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge branch 'FindCurses-include-CheckLibraryExists' into releaseBrad King2014-10-291-1/+2
| |\ \ \ \ \ \ \ \ | | |_|_|_|_|/ / / | |/| | | | | | |
| * | | | | | | | Merge branch 'xcode-ios-compiler-id' into releaseBrad King2014-10-222-3/+19
| |\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ Merge branch 'doc-line-lengths' into releaseBrad King2014-10-2217-202/+279
| |\ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ Merge branch 'FindHg-no-cygwin-hg-on-windows' into releaseBrad King2014-10-221-0/+4
| |\ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ Merge branch 'cuda-rpath-osx' into releaseBrad King2014-10-221-12/+0
| |\ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ Merge branch 'fix-OSX-bundle-rpaths-and-Qt5' into releaseBrad King2014-10-221-2/+16
| |\ \ \ \ \ \ \ \ \ \ \ \
* | \ \ \ \ \ \ \ \ \ \ \ \ Merge topic 'doc-formatting'Brad King2014-11-071-1/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f0ca3ef0 Help: Wrap long lines in pre-formatted documentation blocks
| * | | | | | | | | | | | | Help: Wrap long lines in pre-formatted documentation blocksBrad King2014-11-071-1/+2
| | |_|_|_|_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Help format the blocks better for display without a wide screen.
* | | | | | | | | | | | | Merge branch 'release-doc-formatting' into doc-formattingBrad King2014-11-0612-139/+101
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / | | | | | | | | | | | | / | |_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | Resolve conflict in Modules/ExternalProject.cmake by keeping our side, which is more completely revised.
| * | | | | | | | | | | Modules: Wrap long lines in pre-formatted documentation blocksBrad King2014-11-0612-29/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Help format the blocks better for display without a wide screen.
| * | | | | | | | | | | FindProtobuf: Cleanup reStructuredText documentation formattingBrad King2014-11-061-111/+64
| | |_|_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the markup to make the documentation format properly.
* | | | | | | | | | | Merge topic 'ExternalProject_independent-step-targets'Brad King2014-11-041-15/+116
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 468fb734 Help: Add notes for topic 'ExternalProject_independent-step-targets' 67cfbf8e ExternalProject: Add unit tests f598f1aa ExternalProject: Add ExternalProject_Add_StepDependencies function 4ae133e0 ExternalProject: Add independent step targets
| * | | | | | | | | | | ExternalProject: Add ExternalProject_Add_StepDependencies functionDaniele E. Domenichelli2014-11-031-0/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ExternalProject_Add_StepDependencies function add some dependencies for some external project step. The syntax is: ExternalProject_Add_Step_Dependencies(<name> <step> [target1 [target2 [...]]]) This function takes care to set both target and file level dependencies, and will ensure that parallel builds will not break. It should be used instead of add_dependencies() when adding a dependency for some of the step targets generated by ExternalProject. See also: http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/8680/focus=8926
| * | | | | | | | | | | ExternalProject: Add independent step targetsDaniele E. Domenichelli2014-11-031-15/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When adding step targets using ExternalProject_Add_StepTargets, the STEP_TARGETS argument or the EP_STEP_TARGETS property, ExternalProject sets all the dependencies for the main project to that target. Due to this, the update target cannot be used without downloading and building all the dependencies. In order to be able to add step targets that do not depend on other external projects, this patch adds: * An optional "NO_DEPENDS" argument to the ExternalProject_Add_StepTargets function. If this argument is set, then no dependencies are set for the target (file dependencies will still be set). * A new argument INDEPENDENT_STEP_TARGETS to the ExternalProject_Add function and a new directory property EP_INDEPENDENT_STEP_TARGETS that behave like STEP_TARGETS and EP_STEP_TARGETS, but cause the ExternalProject_Add_StepTargets to be called with the NO_DEPENDS argument.
* | | | | | | | | | | | Merge topic 'FindIce-no-envvar-markup'Brad King2014-11-041-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 01fb3190 FindIce: Drop use of :envvar: Sphinx markup
| * | | | | | | | | | | FindIce: Drop use of :envvar: Sphinx markupBrad King2014-11-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We do not use it elsewhere yet, and do not want to index environment variables inconsistently.
* | | | | | | | | | | | Merge topic 'extra-generators-std-flags'Brad King2014-11-041-1/+8
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | eaf6f67f Code Blocks/Eclipse: Add -std= flag matching. 45a25d63 Code Blocks/Eclipse: Use non-default stdlib includes when specified.
| * | | | | | | | | | | | Code Blocks/Eclipse: Add -std= flag matching.Christian Manning2014-11-031-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When -std=x is specified in CMAKE_CXX_FLAGS this passes it along.
| * | | | | | | | | | | | Code Blocks/Eclipse: Use non-default stdlib includes when specified.Christian Manning2014-11-031-1/+5
| | |/ / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When -stdlib=x is specified in CMAKE_CXX_FLAGS this passes it along so that the correct include dirs are detected.
* | | | | | | | | | | | Merge topic 'watcom-drop-symfile-option'Brad King2014-11-041-2/+2
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| | | | | | | | | | / | | |_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | 6b63942e Watcom: Drop symfile linker option
| * | | | | | | | | | Watcom: Drop symfile linker optionJ Decker2014-11-031-2/+2
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cleanup of Windows-wcl386.cmake in commit v3.1.0-rc1~693^2 (Watcom: Cleanup Windows-wcl386 configuration, 2014-04-01) also introduced use of the 'symfile' link option but did not mention it in the commit message. There is no way to set the symbol file name of a target, so it is better to revert that change. It is easy to run 'wstrip *' if the symbols need to be stripped, but it is very difficult to get the right names for the .sym files to install with debug/rel_with_deb_info configurations.
* | | | | | | | | | Merge topic 'fix-configure_file-COPYONLY'Brad King2014-11-031-1/+1
|\ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1531df2b configure_file: Warn about unknown arguments 4abbb140 Qt4: Fix configure_file call to use COPYONLY, not COPY_ONLY bd7ba8e2 KWSys: Fix configure_file call to use COPYONLY, not COPY_ONLY e9282782 Help: Fix configure_file call to use COPYONLY, not COPY_ONLY