summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* ENH: some property cleanup and added GetPropertyKen Martin2007-06-251-4/+30
|
* STYLE: add some more output, so it is easier to understandAlexander Neundorf2007-06-211-5/+10
| | | | Alex
* COMP: big timeout for building kdelibsAlexander Neundorf2007-06-151-0/+1
| | | | Alex
* ENH: add test for buildingn kdelibs alpha1 ↵Alexander Neundorf2007-06-141-0/+5
| | | | | | | | | (http://websvn.kde.org/tags/KDE/3.90.1) with cmake requires Qt >= 4.3.0, DBus, kdesupport (http://websvn.kde.org/trunk/kdesupport/) and the EasyDashboard scripts. Alex
* COMP: removing the directory at the beginning breaks the test for in-sourceAlexander Neundorf2007-06-141-1/+0
| | | | | | builds Alex
* COMP: fix test, in some cases stdout from bar was not captured correctly,Alexander Neundorf2007-06-132-13/+32
| | | | | | | probably because the process was killed before the fflush() worked because the busy loop blocked the processor (failing midworld test) Alex
* ENH: remove testBill Hoffman2007-06-111-9/+11
|
* ENH: add ConvLib test back for some timeBill Hoffman2007-06-111-9/+9
|
* ENH: Re-arranged code to test adding a custom command to generate a source ↵Brad King2007-06-111-12/+9
| | | | file after the file has been added to a target. This is supported by the current implementation because of the use of source lists in the target implementation. When we later convert to creating cmSourceFile instances immediately for the target we need to make sure the mentioned case still works.
* BUG: Fixed @ONLY configuration to not try to parse ${} syntax at all. This ↵Brad King2007-06-062-0/+6
| | | | fixes the original fix to bug#4393 and adds a test.
* ENH: fix itBill Hoffman2007-06-062-6/+7
|
* ENH: use lower case for file compare on windowsBill Hoffman2007-06-062-11/+30
|
* ENH: add missing fileBill Hoffman2007-06-041-0/+0
|
* ENH: add one of the headers to the regular sourcesBill Hoffman2007-06-041-2/+2
|
* 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