Commit Graph

480 Commits

Author SHA1 Message Date
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
Brad King 1b6e55933b ENH: Strengthened EXECUTE_PROCESS output check test. 2006-02-10 11:47:18 -05:00
Bill Hoffman aacd51034a ENH: fix test to work with in source build 2006-02-10 10:30:20 -05:00
Brad King e666b8e825 BUG: Avoid case problems on windows. 2006-02-09 18:39:00 -05:00
Bill Hoffman 7a3ed4644b ENH: add test for working directory of custom command and target 2006-02-08 11:33:40 -05:00
Brad King 9787e55ee8 ENH: Added test for new EXECUTE_PROCESS command. 2006-02-03 17:09:35 -05:00
Bill Hoffman 07ef88c985 ENH: add COMPILE_FLAGS to targets 2006-01-25 08:38:06 -05:00
Bill Hoffman ac58fb88b9 ENH: more fixes for watcom 2006-01-17 14:35:04 -05:00
Bill Hoffman 9891260a6d ENH: add support for watcom wmake and wcl386 2006-01-17 10:21:45 -05:00
Brad King 22c62c9e65 BUG: Sweeping changes to cleanup computation of target names. This should
fix many bugs related to target names being computed inconsistently.

- Centralized computation of a target's file name to a method in
  cmTarget.  Now that global knowledge is always available the
  *_CMAKE_PATH cache variables are no longer needed.

- Centralized computation of link library command lines and link
  directory search order.

- Moved computation of link directories needed to link CMake targets
  to be after evaluation of linking dependencies.

This also removed alot of duplicate code in which each version had its
own bugs.

This commit is surrounded by the tags

  CMake-TargetNameCentralization1-pre

and

  CMake-TargetNameCentralization1-post

so make the large set of changes easy to identify.
2006-01-13 18:18:32 -05:00
Ken Martin 4bdca3b404 ENH: put CmakeTmp into CMakeFiles 2006-01-12 13:49:32 -05:00
Bill Hoffman c3a7680dc6 ENH: add test for generated header 2006-01-09 14:56:29 -05:00
Bill Hoffman a91947039a ENH: for all custom commands that can not be given to a target, add them to all targets in the current makefile 2006-01-09 14:40:31 -05:00
Bill Hoffman 2c73d2e0f3 ENH: add new cmakedefine01 feature from bug report 2603 2006-01-03 16:40:51 -05:00
Bill Hoffman 9d0f86d7d0 BUG: force EXECUABLE and LIBRARY output paths so bad cache entries do not fail tests 2006-01-02 15:01:43 -05:00
Andy Cedilnik e37d8867b8 BUG: Flush the EXECUTABLE and LIBRARY output path to internal 2006-01-02 14:33:16 -05:00
Brad King 2166bdfeac ENH: Simplified ln command to use relative path in symlink. 2005-12-31 13:10:04 -05:00
Andy Cedilnik 6a9d13a32f ENH: Add testing of symlinks too 2005-12-30 15:46:40 -05:00
Andy Cedilnik 8ff4919443 ENH: Add a tar test 2005-12-30 15:27:17 -05:00
Andy Cedilnik 456276278f BUG: Now really fix the test 2005-12-28 20:04:13 -05:00
Andy Cedilnik 26b75693cb COMP: Fix test 2005-12-28 19:31:48 -05:00
Andy Cedilnik 2fcd41323b COMP: Fix complex test and fix bootstrap 2005-12-28 17:02:16 -05:00
Andy Cedilnik 0795d64a23 BUG: Fix test 2005-12-15 16:28:50 -05:00
Brad King a9c2ff474e COMP: Need target-level dependency from wrapper targets on Wrap executable target. 2005-11-17 16:49:48 -05:00
Brad King 70b4e1051e BUG: Fixed support for external object files built by custom commands. Also added a test to keep it working. 2005-11-17 13:49:10 -05:00
Ken Martin fed6dae8e9 ENH: some fixes 2005-11-10 15:13:54 -05:00
Ken Martin 5a007dc0e3 ENH: some fixes 2005-11-10 12:05:53 -05:00
Ken Martin a41c41ec54 STYLE: fix spelling 2005-11-10 11:48:52 -05:00
Ken Martin 6f5a53618a ENH: step 5 2005-11-10 10:51:25 -05:00
Ken Martin 699a97a504 ENH: step 4 2005-11-10 10:50:45 -05:00
Ken Martin 814f0a573a ENH: step 3 2005-11-10 10:50:09 -05:00
Ken Martin cf31168726 ENH: checkeed in step 1 and 2 2005-11-09 16:21:05 -05:00
Andy Cedilnik 8a5bb25614 ENH: More tests 2005-10-18 13:22:28 -04:00
Andy Cedilnik 427ed70363 ENH: Add math test 2005-10-17 16:39:58 -04:00
Andy Cedilnik 12ef4edf64 ENH: Add String length and substring 2005-10-17 09:56:42 -04:00
Andy Cedilnik 6e5cdd6de7 ENH: Add regular string replace (not regex), and relative path command. Also add tests 2005-10-17 09:10:20 -04:00
Ken Martin 8607e8008b ENH: increase coverage in loaded commands 2005-09-20 12:50:27 -04:00
Ken Martin fd26d148d8 ENH: test get directory properties ability to get props from subdirs 2005-09-13 10:40:38 -04:00
Ken Martin 9a326a48e7 ENH: convert to work with the new syntax for ADD_SUBDIRECTORY 2005-09-12 14:26:45 -04:00