| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
This global property disallows cycles in the inter-target dependency
graph even among STATIC libraries. See issue #9444.
|
|
|
|
|
|
|
| |
This function builds a simple test project using a combination of
Fortran and C (and optionally C++) to verify that the compilers are
compatible. The idea is to help projects report very early to users
that the compilers specified cannot mix languages.
|
|
|
|
|
|
|
|
| |
We split the main detection logic into a Detect.cmake support module and
load it only when detection results are not already available. This
allows results computed by the main project to be used in try-compile
projects without recomputing them. The call to try_compile() need only
to pass FortranCInterface_BINARY_DIR through the CMAKE_FLAGS option.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This moves platform-independent SunPro compiler flags into separate
"Compiler/SunPro-<lang>.cmake" modules. Platform-specific flags are
left untouched.
|
|
|
|
|
|
| |
This moves platform-independent Intel compiler flags into separate
"Compiler/Intel-<lang>.cmake" modules. Platform-specific flags are
left untouched.
|
| |
|
|
|
|
|
| |
This module requires both C and Fortran to be enabled, so error-out if
they are not.
|
| |
|
| |
|
| |
|
|
|
|
| |
search.
|
|
|
|
| |
Put functionality directly into ExternalProject.cmake itself so that these modules do not end up in the upcoming release of CMake.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
tests run with each label.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
after some minor improvements
* Improved examples
* Switched to FindPackageHandleStandardArgs
* Cleaned up indentation
* Sanitized else()/endif() blocks
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* Fixed errant output when version number not found
* Improved error output when REQUIRED is passed
* Improved docs and example
|
|
|
|
|
|
|
|
|
|
|
| |
The Borland librarian tool "tlib" requires that the output target name
be quoted if it contains the character '-' (and perhaps a few others).
This commit restores the use of the TARGET_QUOTED rule variable
replacement for this purpose. Otherwise no static library can have a
'-' in its name.
This problem was exposed by the 'Testing' test when it builds the
pcStatic library with the '-dbg' suffix.
|
|
|
|
|
|
|
| |
CTest runs 'svn status' to identify modified and conflicting files in
the working directory. This commit fixes the interpretation of the 'X'
status, which corresponds to svn eXternals. This status should be
ignored rather than treated as a local modification.
|
| |
|
| |
|
| |
|
|
|
|
| |
crashes if the stream is not open in that case.
|
|
|
|
|
|
|
| |
This teaches the 'testing' test to try generator expressions in
arguments to add_test(NAME). This test case mimics a common use-case of
passing executables to test driver scripts. We excercise the syntax for
per-configuration target file names.
|
|
|
|
|
|
|
|
| |
This introduces a new syntax called "generator expressions" to the test
COMMAND option of the add_test(NAME) command mode. These expressions
have a syntax like $<TARGET_FILE:mytarget> and are evaluated during
build system generation. This syntax allows per-configuration target
output files to be referenced in test commands and arguments.
|
|
|
|
|
|
|
| |
We creates methods IsDLLPlatform() and HasImportLibrary(). The former
returns true on Windows. The latter returns whether the target has a
DLL import library. It is true on Windows for shared libraries and
executables with exports.
|
|
|
|
|
|
| |
We teach cmTest to hold a backtrace for the add_test command that
created it. This will be used later to report context for errors at
generate time.
|
| |
|
|
|
|
| |
generators. "KDevelop3 - Unix Makefiles" should be used instead.
|
|
|
|
| |
consistent.
|
|
|
|
|
|
|
| |
We teach cmTestGenerator::GenerateScriptConfigs to use the general
cmLocalGenerator::EscapeForCMake method to write escaped test property
values into test scripts. This eliminates the previous hand-coded
escaping implementation.
|
| |
|
| |
|
| |
|