summaryrefslogtreecommitdiffstats
path: root/Tests
Commit message (Collapse)AuthorAgeFilesLines
* ENH: add plplot and Chicken Scheme build testsAlexander Neundorf2007-08-061-0/+10
| | | | Alex
* BUG: Fix test that broke on Windows - sharing sources between SHARED and ↵David Cole2007-08-012-7/+2
| | | | STATIC libraries requires correct export and import decorations in the source code...
* BUG: Only pay attention to the FRAMEWORK target property for SHARED library ↵David Cole2007-08-011-3/+19
| | | | targets
* ENH: add tests for check_c_source_runs(), check_cxx_source_runs(),Alexander Neundorf2007-07-311-0/+56
| | | | | | | | check_c_source_compiles() and check_cxx_source_compiles() -TRY_RUN in crosscompiling mode: copy the created executables to CMAKE_BINARY_DIR so the user can run them manually on the target Alex
* ENH: user more memory for parser and add test to complex that sets a huge stringBill Hoffman2007-07-203-0/+3
|
* STYLE: remove debug outputAlexander Neundorf2007-07-161-1/+0
|
* BUG: GET_DIRECTORY_PROPERTY(INCLUDE_DIRECTORIES|LINK_DIRECTORIES) wasn'tAlexander Neundorf2007-07-161-0/+6
| | | | | | | | | | | | | | working, for both the result was always empty, since cmMakefile::GetProperty() recognized it as a special property, constructed a correct return value and called cmMakefile::SetProperty() with this list of directories, which then didn't actually set the property, but applied it to the internal vector of include/link directories. The following getPropertyValue in cmMakefile::GetProperty() then still didn't find it and returned nothing. Now for all special property the static string output is used and its content is returned. I'm not sure it is the right way to fix this problem but at least it seems to work and it fixes the Paraview3 build Alex
* ENH: add LIST(CONTAINS ...) patch from "Miguel A. Figueroa-Villanueva, ↵Alexander Neundorf2007-07-121-0/+14
| | | | | | | | miguelf (AT) ieee.org added tests for LIST(CONTAINS, SORT, REVERSE) Alex
* COMP: hopefully fix test, finallyAlexander Neundorf2007-07-091-1/+0
| | | | Alex
* COMP: fix testAlexander Neundorf2007-07-091-3/+3
| | | | Alex
* BUG: fix testAlexander Neundorf2007-07-061-2/+2
| | | | Alex
* COMP: OPTIONAL was missing in ENABLE_LANGUAGE()Alexander Neundorf2007-07-062-14/+19
| | | | | | | -the assembler file seems to work for Linux and FreeBSD -try to fix main() for HP-UX compiler Alex
* STYLE: some more outputAlexander Neundorf2007-07-051-0/+2
| | | | Alex
* COMP: skip APPLE, since there with universal binaries the assembler file ↵Alexander Neundorf2007-07-052-3/+2
| | | | | | would be built for both architectures Alex
* COMP: let's see if this assembler file works also on other platforms than ↵Alexander Neundorf2007-07-051-2/+4
| | | | | | linux... Alex
* ENH: add a simple assembler testAlexander Neundorf2007-07-054-0/+59
| | | | Alex
* ENH: remove support for presetting CMAKE_SYSTEM_INFO_FILE,Alexander Neundorf2007-07-022-6/+1
| | | | | | | | | | | | | | | | CMAKE_SYSTEM_AND_C_COMPILER_INFO_FILE, CMAKE_SYSTEM_AND_CXX_COMPILER_INFO_FILE, CMAKE_SYSTEM_AND_C_COMPILER_AND_PROCESSOR_INFO_FILE and CMAKE_SYSTEM_AND_CXX_COMPILER_AND_PROCESSOR_INFO_FILE Instead of presetting these variables to arbitrary filenames, users should set up CMAKE_SYSTEM_NAME and the compilers correctly and also create a Platform/ directory so these files will all follow the official cmake style, which should make it easier to understand and debug project which have their own platform/toolchain support files. -remove support for a suffix to MS crosscompilers, since this is not (yet) supported by cmake and might confuse users Alex
* ENH: Enable versioned executable test everywhere but XCode.Brad King2007-07-022-2/+6
|
* BUG: For in-source version do not use a custom command output and custom ↵Brad King2007-06-271-1/+1
| | | | target with the same name. This accidentally worked before but with a circular dependency.
* COMP: fix tests where the building cmake doesn't have GET_TEST_PROPERTYAlexander Neundorf2007-06-271-2/+2
| | | | Alex
* ENH: add a SimpleCOnly test, this is needed e.g. for testing sdcc since thisAlexander Neundorf2007-06-265-4/+53
| | | | | | | | doesn't support C++ and also doesn't have a printf() implementation by default -add a test for mingw cross compiler Alex
* ENH:Alexander Neundorf2007-06-261-0/+19
|
* 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