summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* ENH: improve TRY_RUN() for crosscompiling: instead of just failing, it nowAlexander Neundorf2007-06-013-2/+33
| | | | | | | | | | | | | | | 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
* ENH: added new test for SourceFile objects and propertiesKen Martin2007-05-315-0/+39
|
* ENH: always provide CMAKE_SYSTEM_XXX() and MAKE_HOST_SYSTEM_XXX() variables,Alexander Neundorf2007-05-291-0/+54
| | | | | | so when cross compiling the build host platform can be tested Alex
* ENH: Added more install rules to increase coverage of the command.Brad King2007-05-282-2/+30
|
* ENH: make the compiler id detection work, even if the output file name ofAlexander Neundorf2007-05-253-0/+64
| | | | | | | the compiler is completely unknown and even if it produces intel hex or motorola s-record files, with test Alex
* ENH: Added testing of REGEX option to INSTALL(DIRECTORY). Added tests to ↵Brad King2007-05-256-32/+84
| | | | cover all forms of old-style install commands.
* ENH: Add test to see if INSTALL_FILES actually worked.Brad King2007-05-252-0/+2
|
* ENH: add COPY_FILE argument to TRY_COMPILE, so the compiled executable canAlexander Neundorf2007-05-241-1/+10
| | | | | | be used e.g. for getting strings out of it. Alex
* ENH: add two simple tests for TRY_RUN()Alexander Neundorf2007-05-243-2/+38
| | | | | | | | 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
* BUG: Report proper error message when project does not build the first time. ↵Brad King2007-05-231-1/+28
| | | | Also added hack to rebuild subproject several times for Xcode. The generator should be fixed and the hack removed.
* ENH: Executable bar should rebuild when its generated header changes. It ↵Brad King2007-05-231-1/+0
| | | | does not need to link to the foo library anymore.
* BUG: Target names in the COMMAND part of a custom command should not create ↵Brad King2007-05-231-0/+24
| | | | 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.
* BUG: Target names in the COMMAND part of a custom command should not create ↵Brad King2007-05-233-6/+41
| | | | 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.
* BUG: always search for ar, ranlib, etc. except under MSVC -> this should fix ↵Alexander Neundorf2007-05-211-2/+4
| | | | | | | | the mingw fortran test -also generate the fortran test with the kdevelop generator Alex
* BUG: Fix name of project to build for LoadCommandOneConfig now that it has ↵Brad King2007-05-201-1/+1
| | | | been renamed for new name of LoadCommand test.
* BUG: Finish fixing test for new name.Brad King2007-05-192-26/+26
|
* BUG: fix project name for testBill Hoffman2007-05-192-2/+2
|
* ENH: some cleanup, condensing some tests, removing arguments that were not ↵Ken Martin2007-05-184-119/+26
| | | | needed but rather were cut and paste copies etc
* BUG: Replace "with space" in custom command argument tests with "w s" to ↵Brad King2007-05-181-46/+46
| | | | still have whitespace but be shorter. The test was failing because the custom command line length was simply too long for the VS IDE.
* ENH: Added quick means to turn on verbose output for debugging this test.Brad King2007-05-182-1/+5
|
* ENH: Add testing of * and / character arguments except on MinGW.Brad King2007-05-171-2/+5
|
* ENH: Added test for custom command lines with special single-character ↵Brad King2007-05-171-4/+8
| | | | arguments.
* BUG: Disable test of angle bracket escapes until it works everywhere.Brad King2007-05-171-6/+6
|
* ENH: merge CMake-CrossCompileBasic to HEADAlexander Neundorf2007-05-176-0/+161
| | | | | | | | | | | | | | | | | | | | | | | | -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
* ENH: Added testing for custom command line arguments containing all special ↵Brad King2007-05-171-2/+69
| | | | characters on the US keyboard. Fixed curly brace arguments on borland and % arguments in mingw32-make.
* BUG: Disable test of feature that is not documented or implemented everywhere.Brad King2007-05-166-3/+12
|
* BUG: check in the rest of the changes to move from c to cxxAndy Cedilnik2007-05-161-2/+2
|
* BUG: fix test for hp move to c++ to avoid ansi issues and produce a message ↵Andy Cedilnik2007-05-162-2/+9
| | | | if the compile fails, (really checked in by Bill H.)
* ENH: revert back to SUBDIRS so that CMake can be built with 2.2Ken Martin2007-05-141-1/+1
|
* ENH: minor fixesKen Martin2007-05-111-10/+10
|
* ENH: some more CMakeList cleanupsKen Martin2007-05-1111-172/+65
|
* ENH: more cleanup of some CMakeLists filesKen Martin2007-05-111-0/+949
|
* ENH: add test for build dependsBill Hoffman2007-05-102-16/+31
|
* ENH: add a test to make sure Xcode does not break againBill Hoffman2007-05-093-0/+57
|
* BUG: Fixed cmLocalVisualStudio7Generator to deal with quotes in macro ↵Brad King2007-05-096-3/+45
| | | | definitions properly. This addresses bug#4983.
* ENH: now target names can be used in add_custom_command() andAlexander Neundorf2007-05-093-0/+37
| | | | | | | | | | 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
* ENH: make it work on non windowsBill Hoffman2007-05-082-0/+4
|
* ENH: fix it so that the FRAMEWORK property does not break the building of ↵Bill Hoffman2007-05-083-8/+13
| | | | normal shared libs on non-mac platforms
* ENH: add a very simple framework testBill Hoffman2007-05-085-0/+25
|
* ENH: Added test to make sure custom commands are not built more than once in ↵Brad King2007-05-012-0/+12
| | | | a single build. This tests for a bug introduced by one fix and fixed by another fix for bug#4377.
* ENH: Add STRING STRIP commandAndy Cedilnik2007-04-271-0/+14
|
* ENH: Added FILE(STRINGS) command.Brad King2007-04-251-0/+12
|
* ENH: Added function call argument to module function to make sure calling ↵Brad King2007-04-192-4/+14
| | | | convention matches on lookup. Fixed for Watcom.
* COMP: Need to enable ansi C features.Brad King2007-04-181-0/+5
|
* ENH: Fixed Plugin test on Cygwin.Brad King2007-04-171-1/+1
|
* ENH: Configure location of plugin files so that the executable can run with ↵Brad King2007-04-173-1/+16
| | | | any current working directory.
* ENH: Added test for executables with plugins that use an API exported by the ↵Brad King2007-04-174-0/+128
| | | | executable itself.
* ENH: Add variable watch commandAndy Cedilnik2007-04-112-1/+24
|
* BUG: Fix utility dependencies for static libraries in VS generators. This ↵Brad King2007-04-044-1/+29
| | | | addresses bug#4789.
* BUG: Disable deep-source test on Watcom until it can be fixed. This is a ↵Brad King2007-03-212-7/+11
| | | | new feature for other generators anyway.