Commit Graph

618 Commits

Author SHA1 Message Date
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
Brad King f430ad0ea2 BUG: Removed compiled-in CMAKE_SHARED_MODULE_PREFIX and CMAKE_SHARED_MODULE_SUFFIX for loaded commands in favor of using the settings from the platform files. 2006-03-16 17:20:09 -05:00
Andy Cedilnik f483e48d2a ENH: Cleanup DynamicLoader so that the symbols have more consistent names, start using dynamic loader from kwsys in CMake 2006-03-16 11:01:05 -05:00
Andy Cedilnik 4909154387 ENH: Add package to bundle test 2006-03-10 10:12:26 -05:00
Andy Cedilnik 3d44b9a354 ENH: Add additional subdirectory to improve testing and to allow cleanup when testing cpack 2006-03-08 14:02:30 -05:00
Andy Cedilnik 27b9ab47c2 COMP: Ok, fix typo 2006-03-08 13:20:18 -05:00
Andy Cedilnik cd62290147 ENH: Add testing for cpack 2006-03-08 13:13:48 -05:00
Bill Hoffman d03c92bfb3 ENH: remove cpack stuff for now so that we can get mac dashboards again 2006-03-07 19:52:49 -05:00
Brad King 2caa6bb7e6 BUG: Some platforms require executable permission on shared libraries. 2006-03-07 10:04:29 -05:00
Brad King 06846c4c07 ENH: Added PERMISSIONS option to the TARGETS mode of the INSTALL command. 2006-03-03 19:29:35 -05:00
Brad King a2e136fd17 ENH: Added PERMISSIONS and RENAME options to the INSTALL command's FILES and PROGRAMS mode, and corresponding support to FILE(INSTALL). Default permissions for shared libraries on non-Windows/non-OSX platforms no longer has the execute bit set. 2006-03-03 18:44:32 -05:00
Brad King 93c95f1cc5 BUG: Fixed installation of MacOSX Bundle executables and the corresponding install_name remapping support. Extended the BundleTest test to check that this all works. Part of these fixes required changing the signature of AppendDirectoryForConfig in all generators. It now accepts prefix and suffix strings to deal with whether leading or trailing slashes should be included with the configuration subdirectory. 2006-03-03 12:58:48 -05:00
Andy Cedilnik a87de1e1cd ENH: Add generic instructions 2006-02-28 14:06:39 -05:00
Andy Cedilnik 3341923ecb ENH: Attempt to handle windows without NSIS installed 2006-02-28 13:30:11 -05:00
Andy Cedilnik 36d7f3990a ENH: Add support for multiple build targets and start adding simple cpack tests 2006-02-28 08:23:40 -05:00
Brad King 586a9427d3 ENH: Created target property INSTALL_NAME_DIR initalized by CMAKE_INSTALL_NAME_DIR specifying the directory portion of the OSX install_name field in shared libraries. This is the OSX equivalent of RPATH. 2006-02-24 13:13:14 -05:00
Brad King 518080136d ENH: Implemented FILES and PROGRAMS forms of the INSTALL command as replacements for the INSTALL_FILES and INSTALL_PROGRAMS commands. This addresses the request for absolute path install destinations in bug#2691. 2006-02-19 18:47:13 -05:00
Brad King 8d27255aef ENH: Using CMAKE_SKIP_BUILD_RPATH to test relink support. 2006-02-19 17:44:45 -05:00
Brad King 96f0266228 ENH: Created new install script generation framework. The INSTALL command creates the generators which are later used by cmLocalGenerator to create the cmake_install.cmake files. A new target installation interface is provided by the INSTALL command which fixes several problems with the INSTALL_TARGETS command. See bug#2691. Bugs 1481 and 1695 are addressed by these changes. 2006-02-19 15:25:27 -05:00
Brad King 98a187a8d4 ENH: Automatic include directories should not be done by default as was just implemented. Instead a project may now set CMAKE_INCLUDE_CURRENT_DIR to get this behavior. The current source and binary directories are added automatically to the beginning of the include path in every directory. This simulates in-source behavior for double-quote includes when there are generated sources and headers in the directory. 2006-02-19 13:10:25 -05:00
Brad King ad2cc1f333 BUG: Need INSTALL_RPATH property on SimpleInstallS2 also. 2006-02-16 15:38:59 -05:00
Brad King c70da1aae6 ENH: Use target property for INSTALL_RPATH of SimpleInstall so that it is the only one that needs to relink. 2006-02-16 15:28:09 -05:00
Brad King 537e2b4ed5 ENH: Implemented RPATH specification support. It is documented by the command SET_TARGET_PROPERTIES. 2006-02-16 15:19:00 -05:00
Brad King 9762573aa9 COMP: Fixed form of function main. 2006-02-14 15:15:48 -05:00
Brad King de8080c76f ENH: Added test for IF(DEFINED ENV{var})(. 2006-02-10 15:45:27 -05:00
Andy Cedilnik f87271d0ea ENH: Add initial implementation of the list command 2006-02-10 14:11:12 -05:00
Brad King b8a33fb424 ENH: Added INSTALL command as a placeholder for a future generic install specification interface. Currently it supports only a SCRIPT option specifying a script to run during the install stage. 2006-02-10 13:54:36 -05:00