Commit Graph

733 Commits

Author SHA1 Message Date
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
Brad King e85eb5fc3d BUG: Reduce long source file name length for WMake. 2007-03-20 13:34:39 -04:00
Brad King 75a51cd065 BUG: Work around VS8 conversion to a relative path for the long source name. It takes the nice full path we give it, converts to relative, and then repacks relative on top of the build directory resulting in a path longer than its own maxpath even though the original path given was short enough. Even VS6 dealt with it better. 2007-03-20 08:16:35 -04:00
Brad King 1f639ee76c ENH: Added computation of object file names that are almost always short enough to not exceed the filesystem path length limitation. This is useful when a source file from outside the tree is referenced with a long full path. The object file name previously would contain the entire path which when combined with the build output directory could exceed the filesystem limit. Now CMake recognizes this case and replaces enough of the beginning of the full path to the source file with an md5sum of the replaced portion to make the name fit on disk. This addresses bug#4520. 2007-03-16 10:34:25 -04:00
Brad King 176879b2fe BUG: Remove spaces from test output paths. Not all make tools can handle it. Ths SubDirSpaces test is meant for that purpose anyway. 2007-03-12 23:36:56 -04:00
Brad King 4b0d362fe9 BUG: Do not use /I mode in VS6. 2007-03-12 13:28:57 -04:00
Brad King ff220755e2 BUG: Clean the pch during make clean so that the test passes when run more than once. 2007-03-12 12:44:59 -04:00
Brad King fb38af53c0 BUG: Split precompiled header flags into a separate per-global-generator flag map. This is needed because the flag mappings differ across VS IDE versions. This fixes bug#3512 for VS8 where as the previous fix only worked for VS7. 2007-03-12 12:35:11 -04:00
Brad King cf7eeab37a ENH: Testing new target properties RUNTIME_OUTPUT_DIRECTORY, LIBRARY_OUTPUT_DIRECTORY, and ARCHIVE_OUTPUT_DIRECTORY. This is an incremental fix for bug#2240 and bug#4210. 2007-03-12 10:23:06 -04:00
Ken Martin bfb3598c4b BUG: improve bad argument handling for INCLUDE_DIRECTORIES and ADD_DEFINITIONS bug 4364 2007-03-07 11:03:57 -05:00
Ken Martin 820aa6b961 ENH: added a tets for newlines in some commands 2007-03-06 14:52:39 -05:00
Bill Hoffman 73818126f3 ENH: watcom wmake can not handle () in the path with cd command 2007-02-27 15:11:47 -05:00
Brad King cca4801fa7 COMP: Disable rpath with spaces on some systems. 2007-02-26 10:46:19 -05:00
Andy Cedilnik 1125b942b9 ENH: Try to fix spaces in the path problem 2007-02-23 11:17:11 -05:00
Andy Cedilnik 21a71f2c81 ENH: Force libraries to be static 2007-02-23 10:31:46 -05:00
Bill Hoffman d93265b8fa ENH: add a comment 2007-02-22 17:15:13 -05:00
Bill Hoffman d51fef92b4 ENH: show make results on the dashboard 2007-02-22 15:43:35 -05:00
Andy Cedilnik 8529efdd87 COMP: Use exec_program instead of execute_process 2007-02-22 15:16:43 -05:00
Andy Cedilnik 1b2cf8c8dd ENH: Improve test 2007-02-22 11:42:26 -05:00
Andy Cedilnik 1db4c0e524 ENH: Add simple exclusion test for subdirectories 2007-02-22 08:39:12 -05:00
Bill Hoffman 5647e6e254 ENH: fix parens in the path with spaces in the path 2007-02-21 21:24:17 -05:00
Bill Hoffman 9267267b68 ENH: verbose 2007-02-20 10:57:24 -05:00
Bill Hoffman 1d8e7e9411 BUG: fix for bug 4423 set language fixes 2007-02-20 09:35:21 -05:00
Ken Martin 245e7c3482 ENH: make the test really test targets with spaces 2007-02-19 14:48:04 -05:00
Ken Martin 3e82b9ee51 ENH: added used sources with a path that has spaces 2007-02-19 14:26:50 -05:00
Bill Hoffman 303048d3dc ENH: add test for conv libraries 2007-02-19 13:26:38 -05:00
Ken Martin 83b5890a2f ENH: new test for spaces in the tree structure 2007-02-19 12:23:37 -05:00
Bill Hoffman fad49c8724 ENH: fix for vs ide 2007-02-16 16:45:47 -05:00
Bill Hoffman ca0230a33e ENH: check in initial conv library stuff 2007-02-16 16:12:17 -05:00
Brad King 83466bf12e ENH: Added PrecompiledHeader test for MSVC compilers. 2007-02-08 16:18:21 -05:00
Brad King a4d2dc4366 ENH: Added smoke test for user-value flag mapping for VS IDE. 2007-02-01 12:02:24 -05:00
Bill Hoffman d48bf5c3b6 ENH: add more output when test fails 2007-01-31 14:00:44 -05:00
Bill Hoffman 113231d182 ENH: try to fix test on watcom 2006-12-29 19:20:56 -05:00
Ken Martin 62b368f3d5 ENH: removed old VTK tests 2006-12-12 13:59:09 -05:00
Bill Hoffman 69ef2513d1 ENH: do not use svn until it is working again 2006-12-12 11:06:38 -05:00
Bill Hoffman 013ec39881 ENH: fix test for config dir based stuff 2006-12-07 11:38:53 -05:00
Ken Martin 27379d7b08 ENH: make properties a bit more formal with documentation and chaining 2006-12-07 09:45:32 -05:00
Bill Hoffman 26b527ac0f ENH: fix bug in full path to target depends stuff 2006-12-06 23:05:10 -05:00
Bill Hoffman 3a32cec969 ENH: merge in changes for beos support 2006-12-04 17:26:41 -05:00
Bill Hoffman 5ff037e894 BUG: better fix for .dll.lib problem 2006-11-30 17:32:46 -05:00
Bill Hoffman 4c87d57e71 ENH: make it work for hp 2006-11-30 09:51:07 -05:00
Bill Hoffman 9eb1ec3efe ENH: add extern for hp c compiler 2006-11-29 21:53:52 -05:00
Bill Hoffman 445e091ffa ENH: fix test to run with debug or release and put the exe next to the dll, still shows the bug this is testing for 2006-11-29 21:36:13 -05:00
Bill Hoffman b56a60d01e ENH: fix errors for unix builds 2006-11-29 17:45:55 -05:00
Bill Hoffman 46f8ed0648 BUG: fix a problem where it tried to link .dll.lib files 2006-11-29 15:58:19 -05:00
Bill Hoffman f2e8fd06c2 ENH: make sure things do not depend on optimized libraries if they are debug, and the other way around as well 2006-11-27 16:13:41 -05:00
Bill Hoffman 31a576abe6 ENH: add a test for a target name with the same name as the output of a custom command 2006-11-27 15:14:42 -05:00
Bill Hoffman fb8a239f94 ENH: make sure it is qt3 before running test 2006-11-22 14:22:43 -05:00
Bill Hoffman 651fecee5b ENH: make sure findqt3 finds qt3 and not qt4 2006-11-22 13:30:59 -05:00
Brad King 4400842135 ENH: Added test case for bug#3966. 2006-10-30 10:38:55 -05:00
Brad King 9b8f479e01 ENH: Re-enabling # escape test now that it is implemented everywhere. 2006-10-25 11:23:23 -04:00
Brad King 9e29a742a9 BUG: EQUAL -> STREQUAL for string comparison. 2006-10-25 10:58:30 -04:00
Andy Cedilnik f1a0e48082 BUG: Attempt to fix the test 2006-10-25 09:54:17 -04:00
Brad King ee9341079f BUG: Disable testing of # escapes until it can be implemented for Watcom WMake. 2006-10-24 09:47:04 -04:00
Brad King 87dcfb54c4 ENH: Added # character for shell escaping. 2006-10-23 17:20:59 -04:00
Brad King b25629efc4 ENH: Remove old IF(FILE_IS_NEWER) syntax. It was never in a release anyway. 2006-10-23 17:14:20 -04:00
Brad King d1a9c93119 ENH: Patch from Alex to provide nicer syntax for FILE_IS_NEWER. Using name IS_NEWER_THAN so old syntax will continue to work. 2006-10-23 13:37:24 -04:00
Brad King 21a56b7df7 COMP: Fixed typo: CMAKE_TEST_CMAKELIB -> COMPLEX_TEST_CMAKELIB. 2006-10-22 11:57:11 -04:00
Brad King b646183f44 ENH: Added explicit name for option to test CMakeLib. Added option to disable testing of CMakeLib if system utility libraries are used until linking made easier. 2006-10-19 14:45:41 -04:00
Brad King 30235517f8 BUG: Need to collapse path argument to get_directory_property. This addresses bug#3847. 2006-10-16 15:18:03 -04:00
Andy Cedilnik 3206db15b3 ENH: Properly propagate config type to test 2006-10-13 17:10:48 -04:00
Andy Cedilnik df1ff57498 ENH: Several CPack fixes. First, allow user to set CMAKE_MODULE_PATH for CPack; make SetOptionIfNotSet more robust to handle empty options; do test TGZ, STGZ, and TZ, Add handling (and test) of Install Script; set environment variable CMAKE_INSTALL_PREFIX 2006-10-12 13:30:00 -04:00
Andy Cedilnik e31dc3abe5 ENH: Several CPack fixes. First, allow user to set CMAKE_MODULE_PATH for CPack; make SetOptionIfNotSet more robust to handle empty options; do test TGZ, STGZ, and TZ, Add handling (and test) of Install Script; set environment variable CMAKE_INSTALL_PREFIX 2006-10-12 13:05:50 -04:00
Brad King b20fd1af11 BUG: Do not collapse the INSTALL_NAME_DIR setting because users may intend to have .. in the path. This makes the makefile generator consistent with the already working Xcode implementation of this feature. Also added a test for @executable_path/.. style settings for this property. 2006-10-11 12:41:20 -04:00
Brad King 0fe0523810 BUG: Fixed out-of-source subdirectories to work when they are also out-of-binary. Updated the OutOfSource test to test this feature. 2006-10-09 21:25:58 -04:00