summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
Commit message (Collapse)AuthorAgeFilesLines
* BUG: Sweeping changes to cleanup computation of target names. This shouldBrad King2006-01-131-101/+209
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* ENH: for all custom commands that can not be given to a target, add them to ↵Bill Hoffman2006-01-091-0/+10
| | | | all targets in the current makefile
* BUG: fix for bug 2322, use CMAKE_EXECUTABLE_SUFFIX variable for exe suffixBill Hoffman2006-01-021-4/+1
|
* COMP: Remove warningsAndy Cedilnik2005-12-301-0/+1
|
* ENH: add better support for framework linkingBill Hoffman2005-12-261-1/+20
|
* ENH: Removed cmMakefile arguments from cmTarget methods because cmTarget has ↵Brad King2005-12-141-39/+32
| | | | 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.
* ENH: executable prefix and post fix variables should not be the same as the ↵Bill Hoffman2005-11-231-4/+2
| | | | executable extension
* BUG: Do not expand escape sequences when re-expanding variables in include ↵Brad King2005-11-221-1/+1
| | | | directories, link directories, and link libraries.
* ENH: Added versioned executable support. This partially addresses bug#2143. ↵Brad King2005-08-171-4/+67
| | | | Also made OUTPUT_NAME work when installing executables.
* ENH: make sure source file depends are used to determine if custom commands ↵Bill Hoffman2005-07-261-3/+6
| | | | are used
* ENH: added Alexander's target property TYPEKen Martin2005-07-011-0/+30
|
* ENH: some better checksKen Martin2005-06-221-1/+7
|
* ENH: make LOCATION an computed property of the target and get rid of a bunch ↵Ken Martin2005-06-221-17/+61
| | | | of const junk
* ENH: removed old 1.2 compatabilityKen Martin2005-06-091-40/+0
|
* ENH: another step to the next generator still not optimized yetKen Martin2005-05-181-2/+5
|
* ENH: Created cmTarget::GetLibraryNames to replace ↵Brad King2005-04-221-0/+105
| | | | cmLocalUnixMakefileGenerator2::GetLibraryNames. Added cmTarget::GetLibraryCleanNames to be used by cmLocalUnixMakefileGenerator2. Now when a library is linked both the shared and static versions are removed from the build tree. In this way we avoid having both kinds of libraries present when the user switches BUILD_SHARED_LIBS on/off. This prevents problems with turning off shared libraries and then expecting the linker to use the static libraries only to find it is using the out-of-date shared versions.
* ENH: Added cmTarget::GetBaseName and cmTarget::GetFullName methods and ↵Brad King2005-04-221-3/+105
| | | | removed cmLocalGenerator::GetFullTargetName and cmLocalUnixMakefileGenerator2::GetBaseTargetName. This functionality is more sensibly implemented in cmTarget. It is also needed for an upcoming feature in which both the shared and static versions of a library will be removed before one is linked.
* ENH: Speedup by only getting the source onceAndy Cedilnik2005-04-131-3/+7
|
* COMP: Using const_iterator instead of iterator to walk through custom ↵Brad King2005-02-181-1/+1
| | | | command dependencies.
* COMP: remove warningsBill Hoffman2004-10-221-10/+0
|
* COMP: fix warningsBill Hoffman2004-10-211-0/+4
|
* ENH: add the ability to generate custom commands for a language that is not ↵Bill Hoffman2004-10-211-4/+69
| | | | supported by an IDE
* ENH: shorten the symbols a bit and remove maps of std::string for map of ↵Bill Hoffman2004-09-291-1/+1
| | | | cmStdString
* BUG: fix perfered linker language codeBill Hoffman2004-09-221-1/+1
|
* ENH: major changes to support addition of languages from cmake modules ↵Bill Hoffman2004-09-221-42/+68
| | | | directory.
* ENH: initial fortran supportBill Hoffman2004-08-061-0/+18
|
* BUG: fix for bug 998, fix spelling errorsBill Hoffman2004-07-261-2/+2
|
* ENH: add a property for HAS_CXX to a target that will force the use of a c++ ↵Bill Hoffman2004-04-221-0/+4
| | | | compiler in the linking of an executable that contains only c code
* ENH: remove warnings on sgiBill Hoffman2004-04-071-3/+5
|
* BUG: _LINK_TYPE cache variable should never be switched from optimized to ↵Brad King2004-04-021-7/+34
| | | | debug or vice versa.
* BUG: Fix Bug #445 - Same library in multiple projects can cause problemsAndy Cedilnik2003-12-181-1/+1
|
* ENH: add support for OBJECT_DEPENDS for visual studioBill Hoffman2003-07-311-0/+47
|
* BUG: Fix copy/paste typoAndy Cedilnik2003-07-221-3/+3
|
* moved function into cmTargetKen Martin2003-06-241-0/+104
|
* removed some no longer required codeKen Martin2003-06-231-13/+0
|
* more crazt changes source files now must match with full pathKen Martin2003-06-051-0/+14
|
* ENH: remove warnings from borland 6 compilerBill Hoffman2003-05-291-1/+0
|
* ENH: add stdlib.h for portability to borland 6Bill Hoffman2003-05-241-0/+1
|
* BUG: HasCXX did not use GetFileFormat and was brokenBill Hoffman2003-03-151-2/+2
|
* ENH: add target propertiesBill Hoffman2002-12-201-0/+36
|
* ENH: Moved ExpandListVariables out of individual commands. Argument ↵Brad King2002-12-111-3/+1
| | | | evaluation rules are now very consistent. Double quotes can always be used to create exactly one argument, regardless of contents inside.
* BUG: the dependency analysis would incorrectly alphabetically re-order theAmitha Perera2002-11-191-96/+171
| | | | | link lines, which affects external libraries pulled up from deep within the dependency tree. Fixed by preserving order everywhere.
* ENH: Added reference to Copyright.txt. Removed old reference to ITK ↵Brad King2002-10-231-3/+3
| | | | copyright. Changed program name to CMake instead of Insight in source file header. Also removed tabs.
* If you specify header file as source, it should still use C compiler and not ↵Andy Cedilnik2002-10-061-1/+2
| | | | CXX. Also fix COnly test so that it make sure that this still works...
* removed some includesKen Martin2002-09-271-0/+1
|
* modified how source files store propertiesKen Martin2002-08-161-2/+2
|
* removed all source lists from the system and made them vectors. Also ↵Ken Martin2002-06-271-26/+7
| | | | appended _CMAKE_PATH to the end of the automatic cache entries for executables and libraries. Odds of all these changes working are slim but cmake builds and passes all its tests. VTK40 starts building
* BUG: try to tell the difference between variables with sources and other ↵Bill Hoffman2002-06-251-2/+12
| | | | variables
* modified to handle src list vectors without proper dollar signsKen Martin2002-06-241-17/+62
|
* modified create test source to create a vectorKen Martin2002-06-191-6/+15
|