| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
| |
Changes by the user are recorded and when requested, it shows
-D arguments for commandline or contents for a cache file.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
appropriate places rather than CPACK_NSIS_DISPLAY_NAME. CPACK_NSIS_DISPLAY_NAME is the Add/Remove control panel's description string for the installed package. Using it as the "Name" of the NSIS installer package made the CMake installer itself use really long strings in the installer GUI. This fix still allows for the original intent of the first fix for #8682 -- the ability to separate the installer name from the default install directory, but it uses a new/different variable to achieve the separation.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
See #9258.
|
| |
|
|
|
|
|
|
| |
Some SGI compilers define _SGI_COMPILER_VERSION in addition to the old
_COMPILER_VERSION preprocessor symbol. It is more distinctive, so we
should check it in case the old one is ever removed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The SGI preprocessor /usr/lib/cpp produces bad output on this code:
#if 1
A
#elif 1
B
#else
C
#endif
Both 'A' and 'C' appear in the output! We work around the problem by
using '#elif 1' instead of '#else'.
This fixes detection of the SGI Fortran compiler id in -o32 mode.
|
|
|
|
| |
Alex
|
|
|
|
| |
instead, fix VXExternalInclude test for VS10
|
|
|
|
|
| |
This adds UNIX_COMMAND and WINDOWS_COMMAND modes to the command.
These modes parse unix- and windows-style command lines.
|
|
|
|
|
| |
This factors some code out of the constructor into a new method
cmComputeLinkInformation::LoadImplicitLinkInfo for readability.
|
|
|
|
|
|
| |
This factors code out of cmOrderDirectories::CollectOriginalDirectories
into cmOrderDirectories::AddOriginalDirectories. Later a new call will
be added, and this is more readable anyway.
|
|
|
|
|
|
|
|
|
|
| |
The ExportImport test drives its Export and Import projects using the
same compiler and flags. This converts the ctest --build-and-test
command lines to use an initial cache file instead of passing all
settings on the command line.
We need a shorter command line to pass through VS 6 on Win98.
This approach reduces duplicate code anyway.
|
| |
|
|
|
|
|
| |
This fixes KWSys's unix-style command-line parsing to interpret
backslash escapes inside single-quoted strings.
|
| |
|
|
|
|
| |
vs external project
|
| |
|
|
|
|
|
| |
This method is a C++ wrapper around the KWSys System library function to
parse unix-style command lines.
|
|
|
|
|
|
|
| |
Add System_Parse_CommandForUnix to the KWSys System interface as a
utility to parse a unix-style command line. Move the existing
implementation out of ProcessUNIX. Add a flags argument reserved for
future use in providing additional behavior.
|
|
|
|
|
| |
This invokes CMakeDetermineCompilerABI.cmake for Fortran at the same
place it is already done for C and CXX.
|
|
|
|
|
|
| |
This teaches the ExternalProject module to check the download URL file
name. If it is not a tarball (.tar, .tgz, .tar.gz) it is an error
because UntarFile does not yet understand other archive formats.
|
|
|
|
|
|
| |
When tarball extraction fails we should still cleanup the temporary
extraction directory. Otherwise the next attempt will create a new
directory and the first one will never be removed.
|
|
|
|
|
|
|
|
|
| |
This teaches Modules/Platform/Linux-SunPro-CXX.cmake the -rpath-link flag. The
SunPro C++ compiler does not have a '-Wl,' option, so we just pass the flag
directly.
This problem was exposed by the ExportImport test now that it links an
executable through the C++ compiler with the -rpath-link flag.
|
|
|
|
|
| |
The compiler does not support multiple source files differing only by
extension in one target. This renames the C source file in the test.
|
| |
|
|
|
|
| |
Alex
|
|
|
|
|
|
|
|
| |
cmCTestScriptHandler, but have it load the new script CTestScriptMode.cmake
-> that makes it more flexible, also add a simple test that the system name
has been determined correctly
Alex
|
| |
|
|
|
|
|
|
| |
function, makes the long ProcessHandler() a little bit shorter
Alex
|
|
|
|
|
|
|
| |
the initial cache and is not e.g. a flag which shows whether the cache
should be initialized
Alex
|
|
|
|
|
|
|
|
| |
Now that languages are part of the link interface of a target we need to
export/import the information. A new IMPORTED_LINK_INTERFACE_LANGUAGES
property and per-config IMPORTED_LINK_INTERFACE_LANGUAGES_<CONFIG>
property specify the information for imported targets. The export() and
install(EXPORT) commands automatically set the properties.
|
|
|
|
|
|
|
| |
This extends the ExportImport test. The Export project creates a C++
static library and exports it. Then the Import project links the
library into a C executable. On most platforms the executable will link
only if the C++ linker is chosen correctly.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Xcode does not seem to support direct requests for using the linker for
a particular language. It always infers the linker using the languages
in the source files. When no user source files compile with target's
linker language we add one to help Xcode pick the linker.
A typical use case is when a C executable links to a C++ archive. The
executable has no C++ source files but we need to use the C++ linker.
|
|
|
|
|
| |
This updates the documentation of these properties to account for the
new automatic linker language computation.
|
|
|
|
|
|
| |
This test creates a C executable that links to a C++ static library. On
most platforms the executable will not link unless the C++ linker is
chosen correctly.
|
|
|
|
|
|
|
|
|
|
|
| |
This teaches cmTarget to account for the languages compiled into link
dependencies when determining the linker language for its target.
We list the languages compiled into a static archive in its link
interface. Any target linking to it knows that the runtime libraries
for the static archive's languages must be available at link time. For
now this affects only the linker language selection, but later it will
allow CMake to automatically list the language runtime libraries.
|
|
|
|
| |
The compiler does not have a fully compliant std::string.
|