| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
creates two cache variables, one for the RUN_RESULT, one for the RUN_OUTPUT
(if required), which can be set or preset by the user. It has now also two
new arguments: RUN_OUTPUT_VARIABLE and COMPILE_OUTPUT_VARIABLE (the old
OUTPUT_VARIABLE merges both), so if only COMPILE_OUTPUT_VARIABLE is used the
run time output of the TRY_RUN is unused and the user doesn't have to care
about the output when crosscompiling. This is now used in FindThreads.cmake,
CheckC/CXXSourceRuns.cmake and TestBigEndian.cmake, which used the output
only for the logfile (compile output is still there). Test/TryCompile/ now
also tests the behaviour of OUTPUT_VARIABLE, RUN_OUTPUT_VARIABLE and
COMPILE_OUTPUT_VARIABLE.
Alex
|
| |
|
|
|
|
|
|
| |
so when cross compiling the build host platform can be tested
Alex
|
| |
|
|
|
|
|
|
|
| |
the compiler is completely unknown and even if it produces intel hex or
motorola s-record files, with test
Alex
|
|
|
|
| |
cover all forms of old-style install commands.
|
| |
|
|
|
|
|
|
| |
be used e.g. for getting strings out of it.
Alex
|
|
|
|
|
|
|
|
| |
STYLE: create a new base class cmCoreTryCompile, from which
cmTryCompileCommand and cmTryRunCommand are derived, so there are no public
static functions with lots of arguments anymore
Alex
|
|
|
|
| |
Also added hack to rebuild subproject several times for Xcode. The generator should be fixed and the hack removed.
|
|
|
|
| |
does not need to link to the foo library anymore.
|
|
|
|
| |
a file-level dependency that forces the command to rerun when the executable target rebuilds, but the target-level dependency should still be created. Target names in a DEPENDS should do both a target-level and file-level dependency. Updated the BuildDepends test to check that this works.
|
|
|
|
| |
a file-level dependency that forces the command to rerun when the executable target rebuilds, but the target-level dependency should still be created. Target names in a DEPENDS should do both a target-level and file-level dependency. Updated the BuildDepends test to check that this works.
|
|
|
|
|
|
|
|
| |
the mingw fortran test
-also generate the fortran test with the kdevelop generator
Alex
|
|
|
|
| |
been renamed for new name of LoadCommand test.
|
| |
|
| |
|
|
|
|
| |
needed but rather were cut and paste copies etc
|
|
|
|
| |
still have whitespace but be shorter. The test was failing because the custom command line length was simply too long for the VS IDE.
|
| |
|
| |
|
|
|
|
| |
arguments.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-add a RESULT_VARIABLE to INCLUDE()
-add CMAKE_TOOLCHAIN_FILE for specifiying your (potentially crosscompiling) toolchain
-have TRY_RUN() complain if you try to use it in crosscompiling mode (which were compiled but cannot run on this system)
-use CMAKE_EXECUTABLE_SUFFIX in TRY_RUN(), probably TRY_RUN won't be able to
run the executables if they have a different suffix because they are
probably crosscompiled, but nevertheless it should be able to find them
-make several cmake variables presettable by the user: CMAKE_C/CXX_COMPILER, CMAKE_C/CXX_OUTPUT_EXTENSION, CMAKE_SYSTEM_NAME, CMAKE_SYSTEM_INFO_FILE
-support prefix for GNU toolchains (arm-elf-gcc, arm-elf-ar, arm-elf-strip etc.)
-move ranlib on OSX from the file command to a command in executed in cmake_install.cmake
-add support for stripping during install in cmake_install.cmake
-split out cl.cmake from Windows-cl.cmake, first (very incomplete) step to support MS crosscompiling tools
-remove stdio.h from the simple C program which checks if the compiler works, since this may not exist for some embedded platforms
-create a new CMakeFindBinUtils.cmake which collects the search fro ar, ranlib, strip, ld, link, install_name_tool and other tools like these
-add support for CMAKE_FIND_ROOT_PATH for all FIND_XXX commands, which is a
list of directories which will be prepended to all search directories, right
now as a cmake variable, turning it into a global cmake property may need
some more work
-remove cmTestTestHandler::TryExecutable(), it's unused
-split cmFileCommand::HandleInstall() into slightly smaller functions
Alex
|
|
|
|
| |
characters on the US keyboard. Fixed curly brace arguments on borland and % arguments in mingw32-make.
|
| |
|
| |
|
|
|
|
| |
if the compile fails, (really checked in by Bill H.)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
definitions properly. This addresses bug#4983.
|
|
|
|
|
|
|
|
|
|
| |
add_custom_target() as COMMAND, and cmake will recognize them and replace
them with the actual output path of these executables. Also the dependency
will be added automatically. Test included.
ENH: moved TraceVSDependencies() to the end of GlobalGenerator::Configure(),
so it is done now in one central place
Alex
|
| |
|
|
|
|
| |
normal shared libs on non-mac platforms
|
| |
|
|
|
|
| |
a single build. This tests for a bug introduced by one fix and fixed by another fix for bug#4377.
|
| |
|
| |
|
|
|
|
| |
convention matches on lookup. Fixed for Watcom.
|
| |
|
| |
|
|
|
|
| |
any current working directory.
|
|
|
|
| |
executable itself.
|
| |
|
|
|
|
| |
addresses bug#4789.
|
|
|
|
| |
new feature for other generators anyway.
|