| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
We re-arrange EXECUTABLE_OUTPUT_PATH settings to avoid putting utility
and test executables in the 'bin' directory of the build tree. This
makes the directory look like that in the installation tree, except that
on multi-configuration generators we still use a per-config
subdirectory.
|
|
|
|
| |
The test can only do its checking if cvs is available and the source tree is a cvs checkout. Also, allow for the possibility that backslash characters exist in the HOME environment variable, because they may when built in a cygwin environment on Windows.
|
|
|
|
| |
cvs has access to the original value of the HOME environment variable and not the 'CMake testing' value of it so that any cvs passwords set up on the machine work to get the list of local modifications using 'cvs up'...
|
|
|
|
|
|
|
| |
The commit "Fix get_filename_component ABSOLUTE mode" broke REALPATH
treatment of relative paths because it stopped storing the absolute path
in local variable 'filename'. This commit fixes the call to GetRealPath
to use the proper local variable and adds a test.
|
|
|
|
| |
STRING(RANDOM or if given the new RANDOM_SEED argument. Add test and documentation of new argument.
|
|
|
|
| |
We add sample linker invocation lines for the GNU compiler on Mac.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some compilers use implicit link options of the form
-lcrt*.o
-lgcc*
-lSystem (on Mac)
-lSystemStubs (on Mac)
that provide system-wide symbols not specific to any language.
These need not be listed explicitly for mixed-language linking.
We teach CMake to remove the above items from the implicit library list
of each language. This change makes it possible to mix GNU compiler
versions in some cases.
|
|
|
|
|
| |
This commit adds a CMake.ELF test to exercise cmELF and file(RPATH_*).
We test all combinations of 32/64-bit and LSB/MSB binaries.
|
|
|
|
|
|
| |
We introduce the "CMake.If" test to try out conversion of constants and
variables to boolean values in the if() command. We cover both OLD and
NEW behavior for policy CMP0012.
|
|
|
|
| |
Windows, but passes on Linux. Put back later after addressing inconsistency.
|
|
|
|
| |
new test cases to increase the coverage of the FILE command even further.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
else*/end* functions without proper opening or containing code structure: else, elseif, endforeach, endfunction, endif, endmacro, endwhile.
|
|
|
|
| |
functions.
|
|
|
|
| |
Re-factor the scripts to make it easier to add new cases to this test. Re-factoring also enables the test driver in ExecuteScriptTests to be re-used when adding new tests in the future.
|
|
|
|
| |
covers more of the code implemented in cmStringCommand.cxx, especially the error handlers.
|
|
|
|
|
| |
This commit updates the copyright notice regex to enforce a more strict
format for contributor copyrights.
|
|
|
|
| |
This new test checks Modules/*.cmake for the required copyright notice.
|
|
|
|
|
| |
This test checks that configure_file() handles input and output file
arguments as documented.
|
|
|
|
|
|
|
| |
The CMake.File test runs several scripts through "cmake -P" and checks
the output and result against known good values. This commit factors
out the checking code into a separate CMakeCheckTest module. The module
may be used by new tests.
|
|
|
|
| |
This adds sample linker invocation lines for the PGI compiler on Linux.
|
|
|
|
|
|
| |
This adds sample linker invocation lines for the Intel compiler on
Linux. In particular, this exercises the case when "ld" appears without
a full path.
|
|
|
|
|
|
|
|
| |
The Sun Fortran compiler passes -zallextract and -zdefaultextract to the
linker so that all objects from one of its archives are included in the
link. This teaches the implicit options parser to recognize the flags.
We need to pass them explicitly on C++ link lines when Fortran code is
linked.
|
|
|
|
| |
when there is an in-source build on a dashboard machine.
|
|
|
|
| |
.DS_Store files. Force all output to stderr by not using STATUS with message. Better error text.
|
|
|
|
|
|
| |
The commit "Avoid case change in ImplicitLinkInfo test" did not change
all of the paths to mingw, so some case change still occurs. This
changes more of them.
|
|
|
|
| |
configures with CMake 2.4. One more time. Encore, encore.
|
|
|
|
| |
update. Also: improve failure logic for dashboard runs and developer runs.
|
|
|
|
|
|
| |
Previously this test was only a smoke test for manual verification.
This teaches the test to actually check that the variable watch
succeeds.
|
|
|
|
| |
write files into the source tree. Also add a test that runs last to check for local modifications in CMake_SOURCE_DIR based on whether 'cvs -q -n up -dP' output is empty. Test fails on dashboard runs when there are local modifications. Test passes on non-dashboard runs with local modifications so that CMake developers may have mods when running the test locally.
|
|
|
|
|
|
| |
Since "get_filename_component(... ABSOLUTE)" retrieves the actual case
for existing paths on windows, we need to use an obscure path for mingw.
Otherwise the test can fail just because the case of the paths changes.
|
|
|
|
|
|
| |
This tests the internal CMakeParseImplicitLinkInfo.cmake module to
ensure that implicit link information is extracted correctly. The test
contains many manually verified examples from a variety of systems.
|
|
|
|
|
| |
This adds UNIX_COMMAND and WINDOWS_COMMAND modes to the command.
These modes parse unix- and windows-style command lines.
|
|
|
|
|
| |
This fixes the regex checking expected output of Copy-NoFile to account
for line wrapping when the input directory name is long.
|
|
|
|
|
| |
This tests some cases of bad arguments to the file(COPY) signature.
It checks that the proper error messages are produced.
|
|
|
|
| |
dashboard machine...
|
|
|
|
| |
dashboard machine...
|
|
|
|
| |
dashboard machine...
|
|
|
|
|
| |
This adds message(WARNING) and message(AUTHOR_WARNING) command modes and
fully documents the command behavior in all modes.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This moves the version numbers into an isolated configured header so
that not all of CMake needs to rebuild when the version changes.
Previously we had spaces, dashes and/or the word 'patch' randomly chosen
before the patch number. Now we always report version numbers in the
traditional format "<major>.<minor>.<patch>[-rc<rc>]".
We still use odd minor numbers for development versions. Now we also
use the CCYYMMDD date as the patch number of development versions, thus
allowing tests for exact CMake versions.
|
|
|
|
|
|
|
| |
This patch from Philip Lowman creates a REALPATH mode in the
get_filename_component command. It is like ABSOLUTE, but will also
resolve symlinks (which ABSOLUTE once did but was broken long ago).
See issue #8423.
|
|
|
|
|
|
|
|
|
| |
The patch used to fix this bug used SystemTools::GetRealPath which works
only for existing files. It broke the case of using the command
get_filename_component for a non-existing file. Also, it changed
long-standing behavior in a possibly incompatible way even for existing
files. This reverts the original fix and instead updates the
documentation to be consistent with the behavior.
|
| |
|
| |
|
|
|
|
| |
finishing it off.
|
|
|
|
| |
recursive prerequisite analysis. Put it back the way it was. Add another test later to do the recursive prerequisite analysis.
|
| |
|
|
|
|
| |
GetPrerequisites.cmake. Function copy_and_fixup_bundle in BundleUtilities helps to make standalone bundle applications on the Mac by pulling in prerequisite non-system libraries and frameworks as needed. Uses otool and install_name_tool to do analysis and fixups. Project-specific hooks for deciding where to embed libraries and for resolving item names into full path file names are also provided.
|