Commit Graph

744 Commits

Author SHA1 Message Date
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
Brad King 7ad07e0811 BUG: Fix link flags on cygwin shared libraries. This requires that the shared library prefix be supported in the link library regex. 2006-10-05 15:08:20 -04:00
Brad King 97e07dc162 BUG: Test -isystem without affecting other tests. Made separate Library/SystemDir for this purpose. 2006-10-05 12:04:30 -04:00
Brad King 934c804ea4 ENH: Added OPTIONAL option to INSTALL command to allow installation of files if they exist while ignoring them otherwise. This addresses bug#2922. 2006-10-05 11:31:57 -04:00
Brad King 16b781360c BUG: Run testSystemDir test only if -isystem flag is available. 2006-10-05 11:30:44 -04:00
Brad King c11cf31c9b ENH: Adding SYSTEM option to INCLUDE_DIRECTORIES command. This addresses bug #3462. 2006-10-05 08:55:59 -04:00
Brad King 9f52b7d2da ENH: Adding test of special characters in custom command and custom target comments. 2006-10-04 18:57:59 -04:00
Brad King 5a6b0792cd ENH: Added COMMENT option to ADD_CUSTOM_TARGET. This addresses bug#3461. 2006-10-04 18:10:30 -04:00
Brad King 2dfa2ba888 ENH: Added APPEND option to ADD_CUSTOM_COMMAND to allow extra dependencies to be connected later. This is useful to create one rule and then have a macro add things to it later. This addresses bug#2151. 2006-10-04 15:24:26 -04:00
Brad King 523075ded5 BUG: Do not replace @VAR@ syntax in list files. This addresses bug #2722. 2006-10-04 14:37:42 -04:00
Brad King fcd500289b ENH: Renamed NOT_IN_ALL to EXCLUDE_FROM_ALL. 2006-10-02 12:01:20 -04:00
Brad King 1d9f287af7 ENH: Added NOT_IN_ALL option for ADD_LIBRARY and ADD_EXECUTABLE to avoid building the targets by default. 2006-10-02 11:14:00 -04:00
Brad King bb01a0d6ba COMP: Fix command line check test implementation for Watcom. 2006-10-02 10:17:22 -04:00
Brad King d01b6f1281 ENH: Added VERBATIM option to ADD_CUSTOM_COMMAND and ADD_CUSTOM_TARGET commands. This option enables full escaping of custom command arguments on all platforms. See bug#3786. 2006-09-28 11:30:49 -04:00
Brad King 16f8da8b14 ENH: Re-enabling .i rule test on MSYS now that it works. 2006-09-28 10:41:19 -04:00
Brad King f785ae9ac3 ENH: Re-enable preprocessing target test but specifically disable it on broken platforms. 2006-09-27 14:27:07 -04:00
Brad King c1b4a0bf74 BUG: Disable new shell escape code until backward compatibility can be established in the new implementation. 2006-09-25 10:22:48 -04:00
Brad King 97c97730a6 BUG: Character + should be valid in a variable name. 2006-09-25 10:05:07 -04:00
Brad King 1ce1c5762b BUG: Disable new test_preprocess target until it is fixed on OSX universal binaries and mingw. 2006-09-24 10:28:47 -04:00
Brad King 13380569f3 ENH: Adding test for running preprocessor rules. 2006-09-23 16:55:16 -04:00
Ken Martin a6e63f3a61 ENH: added test for elseif 2006-09-22 11:49:56 -04:00
Brad King c27e9fd656 COMP: Need ANSI C flags to build check_command_line.c. 2006-09-22 08:42:45 -04:00
Brad King ca22f0f14b ENH: Adding test for non-trivial custom command line arguments. This is for bug#3786. 2006-09-21 16:11:25 -04:00
Brad King 07ec25e383 ENH: Added test for linking to a static library that is next to a shared library. See bug#1644 for related changes. 2006-09-15 14:31:24 -04:00
Brad King 1d0502927c ENH: Adding support to link specifically to an archive or a shared library based on the file name specified. This fixes the problem of having -lfoo linking to libfoo.so even when it came from libfoo.a being specified. 2006-09-15 14:09:10 -04:00
Brad King 27a67fb72f ENH: Add support to INSTALL(DIRECTORY) to install an empty directory. This addresses bug#3572. 2006-08-29 15:04:29 -04:00
Brad King 6449089436 ENH: Patch from Alex for adding IF(FILE_IS_NEWER). I also added a test. 2006-08-25 16:31:07 -04:00
Andy Cedilnik 3ef750a42c ENH: Always do tar.Z since we do have compress now builtin 2006-08-24 10:57:27 -04:00
Brad King 93163cc1f9 ENH: Added code to remove any bad installations of CVS directories before running the test so that one failure does not need manual adjustment to get it to pass again. 2006-08-24 09:47:52 -04:00
Brad King a2b89129de ENH: Added check for bad installation of a CVS directory to test. 2006-08-21 17:52:34 -04:00
Brad King 08398a9f0c BUG: Need to execute sample_script.bat on windows and sample_script otherwise. 2006-08-21 17:37:40 -04:00
Brad King bed79f6c6b ENH: Implemented INSTALL(DIRECTORY) command and added a test. Re-organized cmFileCommand's implementation of FILE(INSTALL) a bit to help out. This addresses bug#1694 and partially addresses bug#2691. 2006-08-21 16:55:03 -04:00
Bill Hoffman 372b6932ed ENH: fix error in if statement 2006-08-10 23:20:58 -04:00
Bill Hoffman 4ddcdbed9a ENH: fix failing tests 2006-08-10 09:38:52 -04:00
Bill Hoffman fe3d8078c5 ENH: try to fix compress failure 2006-08-09 11:32:23 -04:00
Bill Hoffman bba6583942 ENH: finally fix the failing test on the dashboard for the past month or so 2006-08-07 10:10:38 -04:00
Brad King 24b55bfe11 BUG: Make sure sources with unknown extensions are not compiled by VS. 2006-08-03 09:26:36 -04:00
Brad King 1973efbab2 ENH: Adding test for source files and header files with the same base name in the same target. 2006-08-01 10:49:15 -04:00
Andy Cedilnik 0de464fe36 ENH: Add test for bz2 and check for compress 2006-07-28 09:22:34 -04:00
Bill Hoffman 60e4fef0c6 ENH: do not use c++ comments in c code 2006-07-26 09:11:04 -04:00
Ken Martin 16a15f3e5e BUG: remove command causing issues with mid build reruns of cmake on vs70 2006-07-25 14:32:55 -04:00
Ken Martin 2433bf4517 ENH: trying a slight change 2006-07-25 12:38:17 -04:00
Ken Martin 814c7e12ab BUG: remove c++comments 2006-07-25 10:46:24 -04:00
Ken Martin 284f6c6835 BUG: temp fix 2006-07-24 16:35:32 -04:00
Ken Martin 42819b7a5d ENH: add more coverage 2006-07-24 15:40:52 -04:00
Ken Martin 53549a6426 ENH: more coverage 2006-07-24 09:43:11 -04:00
Brad King 3c9744f406 ENH: Applying patch from bug#3443 to implement FindwxWidgets.cmake properly. It also updates the UseWX test and WXDialog sources to use the new find script. 2006-07-21 15:43:19 -04:00
Ken Martin ad748ce26e BUG: work around XCode issue 2006-07-21 14:05:32 -04:00
Brad King 673e3f8964 ENH: Adding C++-only test. 2006-07-21 11:43:26 -04:00
Ken Martin 0189ce3424 ENH: increase coverage in a couple places 2006-07-21 10:26:05 -04:00
Brad King ccfab2622b ENH: Adding test for multiple source files with the same name but different full paths. 2006-07-07 09:54:29 -04:00
Andy Cedilnik 9dffe62736 ENH: Improve the test to create a bundle in the subdirectory 2006-07-06 16:05:54 -04:00
Andy Cedilnik 24e6ffae36 BUG: If the source file specified is not in a source tree, do not use full path to the file 2006-07-05 16:27:44 -04:00
Ken Martin 8e9a6beccc ENH: centralized locaiton of CMakeFiles setting 2006-06-14 12:28:32 -04:00
Brad King c32b8c196d COMP: More fixes for non-ANSI C compilers. 2006-06-03 09:48:39 -04:00
Brad King 9af54c440d COMP: Fix for non-ANSI C compilers. 2006-06-03 09:42:14 -04:00
Brad King e1c110d244 BUG: Custom commands should actually generate the files they claim to generate. 2006-06-02 12:19:16 -04:00
Brad King 09f2be12b8 ENH: Added test for generation of files listed explicitly as sources but not used during the build of a target. 2006-06-01 13:01:31 -04:00
Brad King 9a74185695 BUG: Fix REMOVE_DEFINITIONS command to not remove substrings. 2006-05-23 12:51:26 -04:00
Andy Cedilnik ed1ea24cef ENH: Fix INSERT to allow inserting to empty list 2006-05-15 10:14:16 -04:00
Andy Cedilnik cb2a9be622 ENH: Change REMOVE and REMOVE_ITEM to REMOVE_AT and REMOVE_ITEM 2006-05-15 09:57:49 -04:00
Andy Cedilnik 3b92585cf0 ENH: Remove some errors, fix append to work on nonexisting lists 2006-05-15 09:25:06 -04:00
Brad King 21089bf93f BUG: INCLUDE_DIRECTORIES should interpret relative path arguments with respect to the current source directory. 2006-05-12 10:54:09 -04:00
Brad King 5f20340c2a BUG: Disabling an EXECUTE_PROCESS test until problems on UNIX systems are fixed. 2006-05-08 10:02:28 -04:00
Brad King 50a0f71120 ENH: Added CONFIGURATIONS option to INSTALL command to allow per-configuration install rules. 2006-05-05 14:57:19 -04:00
Brad King 66d7aef82b ENH: Adding COMPONENT option to an INSTALL command call to smoke-test it. 2006-05-05 11:51:07 -04:00
Bill Hoffman 1794836ee3 ENH: fix build c stuff with c and c++ with c++ 2006-05-04 13:35:56 -04:00
Bill Hoffman bff279c615 ENH: create the correct jar name 2006-04-23 23:24:48 -04:00
Bill Hoffman 1198106e3c ENH: use the right name for the test 2006-04-23 15:34:34 -04:00
Bill Hoffman e5fdf8335c ENH: fix build 2006-04-23 11:10:41 -04:00
Bill Hoffman b663e221da ENH: fix in source build for vs ide 2006-04-22 09:13:07 -04:00
Brad King 428b4c9244 ENH: Updated VS6 generator to use target.GetFullName() to compute target file names. 2006-04-18 11:45:31 -04:00
Bill Hoffman 1c44342cff ENH: remove duplicate file name test because it fails on xcode 2006-04-17 18:10:16 -04:00
Bill Hoffman 0f8603acc2 ENH: allow multiple files with the same name in different sub dirs test 2006-04-17 13:59:23 -04:00
Brad King 58d0c5e176 COMP: Do not use ANSI function prototypes to pacify HP. 2006-04-13 15:28:57 -04:00
Brad King d4c5fe840b ENH: Added INSTALL(CODE) mode to allow inline specification of install script code. This reduces the need for configuring an install script that needs some variable settings because the install code can set thing up first. 2006-04-12 22:04:50 -04:00
Brad King d5719f22c1 ENH: Added support for multiple outputs generated by a single custom command. For Visual Studio generators the native tool provides support. For Xcode and Makefile generators a simple trick is used. The first output is considered primary and has the build rule attached. Other outputs simply depend on the first output with no build rule. During cmake_check_build_system CMake detects when a secondary output is missing and removes the primary output to make sure all outputs are regenerated. This approach always builds the custom command at the right time and only once even during parallel builds. 2006-04-11 11:06:19 -04:00
Bill Hoffman 3df8a59374 ENH: add test for mfc 2006-04-10 13:52:22 -04:00
Brad King 57a9e26c15 BUG: Fixed cmOrderLinkDirectories to make sure cmake-built libraries are found properly. Also taking libraries that will be built but may not yet exist into account. The per-configuration subdirectories that are included by generators in the link path are checked for conflicting libraries also. Potentially conflicting libraries that are actually symlinks back to the desired library are no longer considered conflicting, which avoids bogus impossible ordering warnings. 2006-04-04 14:25:17 -04:00
Bill Hoffman b45f4a5d45 ENH: change library order to use a vector 2006-04-04 11:52:00 -04:00
Bill Hoffman 4fd3292d04 ENH: add a test for find framework stuff in find_library, and fix the framework search stuff 2006-03-29 13:33:49 -05:00
Andy Cedilnik 386900bfdd ENH: Several cleanups and make sure things get propagated where they should. Also, allow to load CTest custom files to the actual ctest -S script 2006-03-29 12:01:24 -05:00
Andy Cedilnik ad380d6b8b BUG: Fix the read custom files command and add a coverage test 2006-03-28 16:36:48 -05:00
Andy Cedilnik 09b4b2d62c ENH: Check if files exist 2006-03-28 13:23:10 -05:00
Andy Cedilnik 40272a16bd ENH: Add support for adding content to bundles 2006-03-28 08:54:01 -05:00
Brad King ca5647c92c ENH: Added ARCHIVE option to the TARGETS mode of the INSTALL command. It is a third option added to RUNTIME and LIBRARY property types. Static libraries and import libraries are now treated as ARCHIVE targets instead of LIBRARY targets. This adds a level of granularity necessary for upcoming features. Also updated the CVS CMake patch level set in CMake_VERSION_PATCH from 4 to 5 to allow users of this version to know whether this incompatible change is present. 2006-03-24 16:11:24 -05:00
Ken Martin 6ccc18bc26 BUG: fix test to list generate dheader 2006-03-24 12:20:46 -05:00
Bill Hoffman f7c1723135 ENH: add support for universal binaries 2006-03-24 09:15:05 -05:00
Ken Martin eb773486f3 ENH: added testing for new features 2006-03-22 15:01:22 -05:00
Andy Cedilnik d41f97a5e6 ENH: Add relative tag and add test for relative tag 2006-03-21 16:03:19 -05:00