Alexander Neundorf
ee9dcc95b4
ENH: add the source_group() demo to the tests
...
Alex
2007-08-27 14:17:29 -04:00
Alexander Neundorf
90aabf14f9
BUG: demo (not really test) for the source_group() command
...
Alex
2007-08-24 14:39:13 -04:00
David Cole
9a4e7ea742
ENH: Add InstallNameFixupPath to support installing built frameworks on the Mac. Change Application to Applications in the BundleTest. Also correct small typo (tcl->Tcl) noted in bug 4572.
2007-08-24 13:30:41 -04:00
Alexander Neundorf
e7a1b85f76
ENH: add test for source_group
...
Alex
2007-08-24 10:39:51 -04:00
Bill Hoffman
2e24dd1e5b
ENH: fix leak
2007-08-21 12:31:32 -04:00
Alexander Neundorf
2f23ecdb8a
ENH: change LIST(CONTAINS ...) TO LIST(FIND ...), which returns the index
...
and which is more useful, because then you can also access the item behind
the one you were looking, useful for writing macros with optional keywords
with parameters
Alex
2007-08-15 10:26:50 -04:00
David Cole
fa61182de8
ENH: Improvements to the Xcode generator. Build frameworks using native Copy Headers and Copy Bundle Resources phases. Fix bugs: eliminate folders with no names, ensure source files show up in multiple targets, remove empty utility targets from Sources subtrees, ensure that fileRefs only show up once in each grouping folder.
2007-08-14 11:45:15 -04:00
Alexander Neundorf
998c176cc0
STYLE: mark these variables as advanced, they are only used for testing
...
whether the tests should be added or not
Alex
2007-08-09 16:54:28 -04:00
Alexander Neundorf
feeb93cbd8
COMP: lets see if this sets the timeout back to 5400
...
Alex
2007-08-09 09:57:21 -04:00
Alexander Neundorf
9deca5887d
ENH: remove the watch for the upper case variable name, it breaks the
...
feature summary, which needs to check for both the upper case and original
case _FOUND variables
Alex
2007-08-08 13:05:27 -04:00
Alexander Neundorf
b34078bca9
COMP: change the order of the tests, so maybe the timeout works
...
Alex
2007-08-08 10:05:11 -04:00
Alexander Neundorf
5484f1bc0c
ENH: also specify the C++ compiler for mingw
...
Alex
2007-08-08 09:32:44 -04:00
Alexander Neundorf
5ac0a79029
BUG: disable this test temporarily
...
Alex
2007-08-07 18:02:33 -04:00
Alexander Neundorf
91384d7df4
BUG: the test for chicken should be named Chicken, not plplot
...
Alex
2007-08-07 10:13:47 -04:00
Alexander Neundorf
1d89334ac9
ENH: add plplot and Chicken Scheme build tests
...
Alex
2007-08-06 14:45:12 -04:00
David Cole
64f40a2816
BUG: Fix test that broke on Windows - sharing sources between SHARED and STATIC libraries requires correct export and import decorations in the source code...
2007-08-01 16:15:54 -04:00
David Cole
ee91e25499
BUG: Only pay attention to the FRAMEWORK target property for SHARED library targets
2007-08-01 13:04:45 -04:00
Alexander Neundorf
67672b814a
ENH: add tests for check_c_source_runs(), check_cxx_source_runs(),
...
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
2007-07-31 14:52:01 -04:00
Bill Hoffman
fcad93e172
ENH: user more memory for parser and add test to complex that sets a huge string
2007-07-20 14:08:37 -04:00
Alexander Neundorf
edb0a70d1f
STYLE: remove debug output
2007-07-16 13:29:41 -04:00
Alexander Neundorf
fac8604810
BUG: GET_DIRECTORY_PROPERTY(INCLUDE_DIRECTORIES|LINK_DIRECTORIES) wasn't
...
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
2007-07-16 13:26:56 -04:00
Alexander Neundorf
c8010cd7fb
ENH: add LIST(CONTAINS ...) patch from "Miguel A. Figueroa-Villanueva, miguelf (AT) ieee.org
...
added tests for LIST(CONTAINS, SORT, REVERSE)
Alex
2007-07-12 11:56:45 -04:00
Alexander Neundorf
1f7eaa1c6a
COMP: hopefully fix test, finally
...
Alex
2007-07-09 08:16:04 -04:00
Alexander Neundorf
0cd81e8a8c
COMP: fix test
...
Alex
2007-07-08 22:06:32 -04:00
Alexander Neundorf
03ea7bf2e1
BUG: fix test
...
Alex
2007-07-06 14:02:42 -04:00
Alexander Neundorf
ef7b647b3b
COMP: OPTIONAL was missing in ENABLE_LANGUAGE()
...
-the assembler file seems to work for Linux and FreeBSD
-try to fix main() for HP-UX compiler
Alex
2007-07-06 08:53:16 -04:00
Alexander Neundorf
7627b96dd1
STYLE: some more output
...
Alex
2007-07-05 16:38:16 -04:00
Alexander Neundorf
0589ff74ae
COMP: skip APPLE, since there with universal binaries the assembler file would be built for both architectures
...
Alex
2007-07-05 16:32:40 -04:00
Alexander Neundorf
f9fb18f875
COMP: let's see if this assembler file works also on other platforms than linux...
...
Alex
2007-07-05 16:11:20 -04:00
Alexander Neundorf
5021eb90b9
ENH: add a simple assembler test
...
Alex
2007-07-05 09:05:40 -04:00
Alexander Neundorf
930bb0cd37
ENH: remove support for presetting CMAKE_SYSTEM_INFO_FILE,
...
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
2007-07-02 13:29:36 -04:00
Brad King
c8b263c674
ENH: Enable versioned executable test everywhere but XCode.
2007-07-02 09:58:08 -04:00
Brad King
04525424af
BUG: For in-source version do not use a custom command output and custom target with the same name. This accidentally worked before but with a circular dependency.
2007-06-27 13:22:45 -04:00
Alexander Neundorf
07613ff7f8
COMP: fix tests where the building cmake doesn't have GET_TEST_PROPERTY
...
Alex
2007-06-27 08:43:06 -04:00
Alexander Neundorf
ae47302529
ENH: add a SimpleCOnly test, this is needed e.g. for testing sdcc since this
...
doesn't support C++ and also doesn't have a printf() implementation by
default
-add a test for mingw cross compiler
Alex
2007-06-26 15:30:02 -04:00
Alexander Neundorf
25a425ecf0
ENH:
2007-06-26 15:15:52 -04:00
Ken Martin
509f1fb9cb
ENH: some property cleanup and added GetProperty
2007-06-25 09:51:37 -04:00
Alexander Neundorf
7f1fbe4e4c
STYLE: add some more output, so it is easier to understand
...
Alex
2007-06-21 14:06:52 -04:00
Alexander Neundorf
9a696669dc
COMP: big timeout for building kdelibs
...
Alex
2007-06-15 08:42:34 -04:00
Alexander Neundorf
53e5cf3a38
ENH: add test for buildingn kdelibs alpha1 ( 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
2007-06-14 13:55:23 -04:00
Alexander Neundorf
7203990661
COMP: removing the directory at the beginning breaks the test for in-source
...
builds
Alex
2007-06-14 08:33:21 -04:00
Alexander Neundorf
92270d5bf8
COMP: fix test, in some cases stdout from bar was not captured correctly,
...
probably because the process was killed before the fflush() worked because
the busy loop blocked the processor (failing midworld test)
Alex
2007-06-13 16:26:50 -04:00
Bill Hoffman
227b942584
ENH: remove test
2007-06-11 17:15:00 -04:00
Bill Hoffman
23ef759b40
ENH: add ConvLib test back for some time
2007-06-11 15:00:23 -04:00
Brad King
0f4ad19ef8
ENH: Re-arranged code to test adding a custom command to generate a source 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.
2007-06-11 13:22:17 -04:00
Brad King
db0f26e852
BUG: Fixed @ONLY configuration to not try to parse ${} syntax at all. This fixes the original fix to bug#4393 and adds a test.
2007-06-06 16:20:02 -04:00
Bill Hoffman
c8067b3904
ENH: fix it
2007-06-06 13:43:46 -04:00
Bill Hoffman
b4f4a06102
ENH: use lower case for file compare on windows
2007-06-06 13:32:01 -04:00
Bill Hoffman
61ccdc4e92
ENH: add missing file
2007-06-04 17:18:31 -04:00
Bill Hoffman
64a8eb990a
ENH: add one of the headers to the regular sources
2007-06-04 15:28:05 -04:00
Alexander Neundorf
eddf1cf39f
ENH: improve TRY_RUN() for crosscompiling: instead of just failing, it now
...
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
2007-06-01 11:16:29 -04:00
Ken Martin
2f07e8e8f8
ENH: added new test for SourceFile objects and properties
2007-05-31 10:29:13 -04:00
Alexander Neundorf
eed7c8dec1
ENH: always provide CMAKE_SYSTEM_XXX() and MAKE_HOST_SYSTEM_XXX() variables,
...
so when cross compiling the build host platform can be tested
Alex
2007-05-29 11:36:07 -04:00
Brad King
06472d620a
ENH: Added more install rules to increase coverage of the command.
2007-05-28 11:41:29 -04:00
Alexander Neundorf
f4eb541880
ENH: make the compiler id detection work, even if the output file name of
...
the compiler is completely unknown and even if it produces intel hex or
motorola s-record files, with test
Alex
2007-05-25 15:22:22 -04:00
Brad King
a99c60b0ed
ENH: Added testing of REGEX option to INSTALL(DIRECTORY). Added tests to cover all forms of old-style install commands.
2007-05-25 11:41:37 -04:00
Brad King
3124c60938
ENH: Add test to see if INSTALL_FILES actually worked.
2007-05-25 11:09:22 -04:00
Alexander Neundorf
7147c3e1cc
ENH: add COPY_FILE argument to TRY_COMPILE, so the compiled executable can
...
be used e.g. for getting strings out of it.
Alex
2007-05-24 12:06:59 -04:00
Alexander Neundorf
7d7aba292c
ENH: add two simple tests for TRY_RUN()
...
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
2007-05-24 11:27:51 -04:00
Brad King
6a145fb2be
BUG: Report proper error message when project does not build the first time. Also added hack to rebuild subproject several times for Xcode. The generator should be fixed and the hack removed.
2007-05-23 17:58:14 -04:00
Brad King
c3474ad029
ENH: Executable bar should rebuild when its generated header changes. It does not need to link to the foo library anymore.
2007-05-23 17:01:26 -04:00
Brad King
303b4312b2
BUG: Target names in the COMMAND part of a custom command should not create 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.
2007-05-23 13:30:23 -04:00
Brad King
c288da754a
BUG: Target names in the COMMAND part of a custom command should not create 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.
2007-05-23 13:27:00 -04:00
Alexander Neundorf
3b4aa3bf35
BUG: always search for ar, ranlib, etc. except under MSVC -> this should fix the mingw fortran test
...
-also generate the fortran test with the kdevelop generator
Alex
2007-05-21 10:15:42 -04:00
Brad King
7416d0d67d
BUG: Fix name of project to build for LoadCommandOneConfig now that it has been renamed for new name of LoadCommand test.
2007-05-20 10:11:48 -04:00
Brad King
5e45ca6fbf
BUG: Finish fixing test for new name.
2007-05-19 10:15:24 -04:00
Bill Hoffman
e2ea9391e6
BUG: fix project name for test
2007-05-19 10:10:29 -04:00
Ken Martin
df1a77c225
ENH: some cleanup, condensing some tests, removing arguments that were not needed but rather were cut and paste copies etc
2007-05-18 15:11:20 -04:00
Brad King
9bfb3cacbb
BUG: Replace "with space" in custom command argument tests with "w s" to still have whitespace but be shorter. The test was failing because the custom command line length was simply too long for the VS IDE.
2007-05-18 09:33:59 -04:00
Brad King
ea66edaf5e
ENH: Added quick means to turn on verbose output for debugging this test.
2007-05-18 09:18:09 -04:00
Brad King
6f9575690a
ENH: Add testing of * and / character arguments except on MinGW.
2007-05-17 14:32:14 -04:00
Brad King
ad0df37f62
ENH: Added test for custom command lines with special single-character arguments.
2007-05-17 14:03:31 -04:00
Brad King
f41e1f496c
BUG: Disable test of angle bracket escapes until it works everywhere.
2007-05-17 13:28:54 -04:00
Alexander Neundorf
61d3444f93
ENH: merge CMake-CrossCompileBasic to HEAD
...
-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
2007-05-17 13:20:44 -04:00
Brad King
c25d2bfdd2
ENH: Added testing for custom command line arguments containing all special characters on the US keyboard. Fixed curly brace arguments on borland and % arguments in mingw32-make.
2007-05-17 10:53:18 -04:00
Brad King
b384218ec1
BUG: Disable test of feature that is not documented or implemented everywhere.
2007-05-16 11:40:53 -04:00
Andy Cedilnik
27727a2bba
BUG: check in the rest of the changes to move from c to cxx
2007-05-16 07:56:56 -04:00
Andy Cedilnik
9338803697
BUG: fix test for hp move to c++ to avoid ansi issues and produce a message if the compile fails, (really checked in by Bill H.)
2007-05-16 07:55:00 -04:00
Ken Martin
3aa23ce6eb
ENH: revert back to SUBDIRS so that CMake can be built with 2.2
2007-05-14 08:59:09 -04:00
Ken Martin
1c318150a6
ENH: minor fixes
2007-05-11 12:17:27 -04:00
Ken Martin
2208231aac
ENH: some more CMakeList cleanups
2007-05-11 10:22:20 -04:00
Ken Martin
0f0a83a51f
ENH: more cleanup of some CMakeLists files
2007-05-11 09:02:17 -04:00
Bill Hoffman
1f286c067f
ENH: add test for build depends
2007-05-10 10:05:52 -04:00
Bill Hoffman
d419354250
ENH: add a test to make sure Xcode does not break again
2007-05-09 15:10:12 -04:00
Brad King
adcd87c976
BUG: Fixed cmLocalVisualStudio7Generator to deal with quotes in macro definitions properly. This addresses bug#4983.
2007-05-09 10:18:31 -04:00
Alexander Neundorf
7f11536704
ENH: now target names can be used in add_custom_command() and
...
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
2007-05-09 08:25:45 -04:00
Bill Hoffman
f2d3e386f7
ENH: make it work on non windows
2007-05-08 12:43:06 -04:00
Bill Hoffman
39ccc4fb11
ENH: fix it so that the FRAMEWORK property does not break the building of normal shared libs on non-mac platforms
2007-05-08 11:53:39 -04:00
Bill Hoffman
b39d96dff8
ENH: add a very simple framework test
2007-05-08 10:58:35 -04:00
Brad King
87853ed828
ENH: Added test to make sure custom commands are not built more than once in a single build. This tests for a bug introduced by one fix and fixed by another fix for bug#4377.
2007-05-01 14:12:56 -04:00
Andy Cedilnik
1d4613a63b
ENH: Add STRING STRIP command
2007-04-26 21:50:52 -04:00
Brad King
0fb689973e
ENH: Added FILE(STRINGS) command.
2007-04-25 17:22:07 -04:00
Brad King
03dfb39bd0
ENH: Added function call argument to module function to make sure calling convention matches on lookup. Fixed for Watcom.
2007-04-19 11:32:43 -04:00
Brad King
b3a05f57dd
COMP: Need to enable ansi C features.
2007-04-17 23:27:30 -04:00
Brad King
fc9ceda5e7
ENH: Fixed Plugin test on Cygwin.
2007-04-17 18:18:42 -04:00
Brad King
c1a6e4dcc6
ENH: Configure location of plugin files so that the executable can run with any current working directory.
2007-04-17 13:52:50 -04:00
Brad King
aabcf981e2
ENH: Added test for executables with plugins that use an API exported by the executable itself.
2007-04-17 13:43:03 -04:00
Andy Cedilnik
f9f1ccadb3
ENH: Add variable watch command
2007-04-11 15:13:05 -04:00
Brad King
438a7e2fce
BUG: Fix utility dependencies for static libraries in VS generators. This addresses bug#4789.
2007-04-04 14:50:35 -04:00
Brad King
0cb45081d9
BUG: Disable deep-source test on Watcom until it can be fixed. This is a new feature for other generators anyway.
2007-03-21 07:16:32 -04:00