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
Andy Cedilnik
782bef7374
ENH: Add a way for the generated command to include extra flags. This is useful for CTest (or try compile) to add -j2
2005-12-01 11:41:00 -05:00
Ken Martin
2a45d5cd68
ENH: added DIRECTORY option to GET_DIRECTORY_PROPERTIES
2005-09-13 10:39:42 -04:00
Ken Martin
26c53fe14c
ENH: modified GET_TARGET_PROPERTIES to work with all targets
2005-06-20 14:00:48 -04:00
Brad King
7ed018ec09
BUG: Changing to a new test for whether to do relative path conversion. Now only paths inside the source or binary trees are converted.
2005-05-16 14:17:30 -04:00
Ken Martin
8c65179339
ENH: warning fixes and some first steps in cleaning up the convert code
2005-05-13 09:54:30 -04:00
Ken Martin
25f75d9075
ENH: added new methods to convert to HomeRelative paths
2005-05-11 10:19:58 -04:00
Andy Cedilnik
f812d053f6
ENH: Make FindMakeProgram public
2005-05-02 15:50:42 -04:00
Andy Cedilnik
61d0a75d11
ENH: Add option to ignore errors. Only works on make
2005-04-29 11:49:18 -04:00
Andy Cedilnik
7c5745ae95
ENH: Start working on command that will abstract generating of build command
2005-04-28 17:33:51 -04:00
Andy Cedilnik
86cebea79a
ENH: More ctest changes and move SetupTest to superclass
2005-04-01 15:48:46 -05:00
Ken Martin
345cf04012
ENH: big change that includes immediate subdir support, removing the notion of inherited commands, makefiles no longer read in the parent makefiles but instead inherit thier parent makefiles current settings
2005-03-18 10:41:41 -05:00
Ken Martin
3ff6722934
ENH: cleanup by removing all the olf local generate junk that i not longer needed
2005-03-10 13:39:38 -05:00
Bill Hoffman
a9a0c91630
ENH: fix for finding the correct target in the current project
2005-03-03 22:35:06 -05:00
Brad King
cb48e0c161
ENH: Merged implementations of ConvertToRelative*Path methods. The main ConvertToRelativePath method is now in cmGlobalGenerator. It converts paths only if they are at least inside the deepest common directory between the top-level source and build trees. Each cmLocalGenerator instance calls this global method with its own output directory as the "local" argument from which paths are relative. Added separate ConvertToOptionallyRelative path that pays attention to the CMAKE_USE_RELATIVE_PATHS option.
2005-02-24 16:04:54 -05:00
Ken Martin
4d30cb309c
ENH: ctest now uses CMake global generator to do the build part of build-and-test
2005-02-22 09:12:10 -05:00
Bill Hoffman
fd0f29e6f4
ENH: depends work between targets
2005-02-03 17:42:55 -05:00
Bill Hoffman
13865fc4fa
ENH: move project map to global generator base
2005-01-21 12:26:32 -05:00
Bill Hoffman
2615e6f0a9
BUG: fix for bug 1396, object files could not be used as sources any more
2004-12-06 12:38:04 -05:00
Bill Hoffman
692ba48c4e
ENH: major changes to support addition of languages from cmake modules directory.
2004-09-22 14:42:05 -04:00
Bill Hoffman
c2ef51e181
ENH: define language extensions in cmake files and not hard coded, also fix trycompile problem
2004-09-03 12:03:41 -04:00
Bill Hoffman
731369ef9c
ENH: try to initialize all languages at the same time
2004-08-27 08:41:07 -04:00
Bill Hoffman
66a08c10e5
ENH: more uniform approach to enable language, one step closer to being able to enable a language without modifing cmake source code
2004-08-26 14:55:55 -04:00
Brad King
9b1771aef4
BUG: CMAKE_TRY_COMPILE_CONFIGURATION should be obtained from the cmMakefile instance for the listfile containing the TRY_COMPILE call, not the top level listfile.
2004-08-04 16:33:10 -04:00
Bill Hoffman
ddb815c125
ENH: add new subdirectory exclude from top option
2004-03-09 16:28:44 -05:00
Bill Hoffman
a413160fec
ENH: add the unix makefile generator as an option from the windows GUI, this builds with mingw, cygwin, and combinations of make cl, bcc32
2003-08-21 16:22:23 -04:00
Andy Cedilnik
0b150f69c2
ENH: Use the new RunCommand
2003-08-03 22:34:37 -04:00
Brad King
e5ed57ec18
ENH: Registered global generators are now kept in a table in the cmake instance. Added support for documentation with a Generators section.
2003-07-07 21:52:10 -04:00
Bill Hoffman
c4fa5d1fdf
ENH: add a new command that allows exports of library dependencies from a project to a file
2003-01-20 16:59:02 -05:00
Ken Martin
05955d6403
fix bug in env settings
2003-01-09 12:18:22 -05:00
Bill Hoffman
384523a315
restore the environment for cxx and cc in global generator
2003-01-09 11:28:29 -05:00
Bill Hoffman
96189f79d5
ENH: unify EnableLanguage across all generators
2002-12-05 13:44:11 -05:00
Bill Hoffman
f5d95fb078
Complete rework of makefile generators expect trouble
2002-11-08 15:46:08 -05:00
Brad King
1f6a3c67b1
ENH: Added reference to Copyright.txt. Removed old reference to ITK copyright. Changed program name to CMake instead of Insight in source file header. Also removed tabs.
2002-10-23 18:03:27 -04:00
Ken Martin
c751d2ebff
added progress
2002-09-26 15:14:20 -04:00
Andy Cedilnik
157e2b4ac3
Add option of TRY_COMPILE to store the output of compilation so that if the output fails you can display it or store it in the file
2002-09-20 13:15:56 -04:00
Ken Martin
6132184cc3
better trycompile and enable langiages
2002-09-13 10:42:50 -04:00
Ken Martin
38e412626b
modified TryCompile
2002-09-10 16:49:40 -04:00
Ken Martin
5b0611d709
updates
2002-09-04 15:24:49 -04:00
Ken Martin
3ffc4b2ee1
in progress checkin
2002-08-30 16:00:35 -04:00