204 Commits

Author SHA1 Message Date
Bill Hoffman
07ef88c985 ENH: add COMPILE_FLAGS to targets 2006-01-25 08:38:06 -05:00
Bill Hoffman
9891260a6d ENH: add support for watcom wmake and wcl386 2006-01-17 10:21:45 -05:00
Brad King
8340c0d186 ENH: Further centralized custom command dependency computation. Custom command dependencies in the source tree may now also be specified relative to the source directory. 2006-01-13 20:51:45 -05:00
Brad King
327489ae59 COMP: Removed unused paramter from cmLocalGenerator::OutputLinkLibraries. 2006-01-13 18:33:51 -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
Bill Hoffman
7b1440ab9f ENH: fix bundles for Mac and Xcode 2006-01-05 09:13:06 -05:00
Bill Hoffman
61e056e2dc BUG: fix for bug 2533, make foo/foo.o now works and .o files are in the help 2006-01-02 12:36:54 -05:00
Bill Hoffman
9b0a485c75 ENH: fix so verbose is put in the correct place 2005-12-30 21:54:03 -05:00
Bill Hoffman
552842d11f ENH: make sure -F is not duplicated 2005-12-27 15:33:47 -05:00
Bill Hoffman
79479233d4 ENH: remove warning 2005-12-27 13:03:01 -05:00
Bill Hoffman
452925649a ENH: add better support for framework linking 2005-12-26 13:14:19 -05:00
Bill Hoffman
f6588b7919 ENH: fix borland make clean targets before build, add new generators for msys and mingw 2005-12-22 16:42:36 -05:00
Brad King
5b95c0a881 BUG: Libraries and executables that are built with version numbers and symlinks should be built by a rule using the real file name. The symlink file names should be rules that just depend on the main rule. This way if a version number changes a target will re-link with the new name and the symlinks will be updated. 2005-12-21 08:46:41 -05:00
Brad King
9f38df7046 COMP: Fix conversion warning. 2005-12-14 10:58:09 -05:00
Brad King
163e3ff56c ENH: Removed cmMakefile arguments from cmTarget methods because cmTarget has the ivar m_Makefile now. Re-implemented cmLocalUnixMakefileGenerator3::AppendAnyDepend to use the new global knowledge and avoid the need to look at the cache for information about other targets. This should fix problems with custom commands and executables with the OUTPUT_NAME set. Also the <target>_LIBRARY_TYPE cache variable is no longer needed at all and has been removed. 2005-12-14 10:47:33 -05:00
Ken Martin
c3c349109b ENH: removed TARGET_DIR_PREFIX support and someother fix 2005-12-13 15:14:08 -05:00
Bill Hoffman
92b6c8e742 PERF: apply patch for bug 2575 speeds up depend scanning 2005-12-09 13:58:55 -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
Bill Hoffman
08be73fff1 BUG: make the clean target work 2005-10-28 11:02:29 -04:00
Ken Martin
52edb9c483 ENH: fix for bad placement of SILENT target 2005-10-21 15:24:12 -04:00
Ken Martin
8a1f581bd3 BUG: symlink issue 2005-10-21 12:04:26 -04:00
Ken Martin
017af44ca3 BUG: fix bad checkin that had debugging code in it 2005-10-21 11:10:30 -04:00
Ken Martin
4c32cfb3a3 BUG: fix over checking of build system 2005-10-20 16:37:37 -04:00
Ken Martin
b7b902e048 BUG: fix for def files and new local target link lines 2005-10-20 15:03:17 -04:00
Ken Martin
a2d4e15ed3 ENH: missing check_build_system for all target 2005-10-20 14:25:08 -04:00
Ken Martin
929553a02e ENH: big cleanup and fix for jump commands 2005-10-20 13:40:28 -04:00
Ken Martin
370cfb037c COMP: fix compiler error 2005-10-19 13:23:01 -04:00
Ken Martin
6b444ee345 BUG: cd into local directory to reduce link line length 2005-10-19 10:03:20 -04:00
Andy Cedilnik
f18e7c7ff7 ENH: Improve performance of check build system by creating another file that is simpler to parse and therefore much faster overall 2005-10-12 13:52:29 -04:00
Andy Cedilnik
8d8c3be72b BUG: If the scanner is not defined this would crash. For example when using new language 2005-08-19 10:13:04 -04:00
Brad King
d392acb4e6 ENH: Added versioned executable support. This partially addresses bug#2143. Also made OUTPUT_NAME work when installing executables. 2005-08-17 16:11:18 -04:00
Brad King
122ef73e3a BUG: Do not make a file depend on a virtual target. That causes everything to always rebuild. 2005-08-17 16:05:48 -04:00
Brad King
2a5fec6eda COMP: Cannot use first/last insertion constructor of std::set because it is not available on all platforms. 2005-08-17 13:23:00 -04:00
Brad King
f4920b8369 ENH: Adding support for automatically adding the OBJECT_DEPENDS for generated header files. 2005-08-17 11:43:58 -04:00
Ken Martin
0b0c97d3b2 BUG: fix for sun make with spaces 2005-08-09 10:35:23 -04:00
Ken Martin
52f9353c45 ENH: have the build.make file include flags.make and use the language flags 2005-08-08 15:23:45 -04:00
Brad King
d6a3268b3e BUG: Do not escape CMAKE_COMMAND twice. 2005-08-08 11:28:28 -04:00
Ken Martin
f7d26c4ab9 ENH: fix and issue with spaces in paths 2005-08-08 11:02:40 -04:00
Ken Martin
dce07caf0b ENH: fix warning 2005-08-05 17:07:07 -04:00
Ken Martin
c8a44b42ad ENH: some fixes for cwd problems with rebuild_cache option 2005-08-05 14:19:18 -04:00
Bill Hoffman
3b0632ae75 FIX: fix bad depend info and COMPILE_FLAGS problem and remove extra cerr calls 2005-08-02 11:06:16 -04:00
Ken Martin
40cd76ab03 ENH: first step to only rebuuilding on flag changes 2005-08-01 10:19:35 -04:00
Andy Cedilnik
ee6df5f63b BUG: Fix dependencies. Looks like all dependencies were missing subdirectory 2005-07-29 11:25:47 -04:00
Ken Martin
c6b011e35e ENH: put cmake files intoa CMakeFiles subdir to clean up bin tree 2005-07-29 09:19:25 -04:00
Ken Martin
ad46c80f7a ENH: fix warning 2005-07-28 15:24:31 -04:00
Ken Martin
825a762a30 ENH: always write out all custom commands 2005-07-28 09:14:42 -04:00
Ken Martin
4a98fcd059 ENH: fix some warnings and cleanup some 2005-07-27 12:41:08 -04:00
Ken Martin
50cf415b2c ENH: maybe fix fortran issue 2005-07-27 11:42:46 -04:00
Ken Martin
33efcc442b ENH: fix some warnings and cleanup some 2005-07-27 11:36:43 -04:00
Ken Martin
ccc292e4b0 ENH: fix some warnings and cleanup some 2005-07-27 11:33:39 -04:00