summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
Commit message (Collapse)AuthorAgeFilesLines
* ENH: Finished CMAKE_<CONFIG>_POSTFIX feature and documented it. The value ↵Brad King2006-03-021-10/+39
| | | | of this variable is used when a library target is created to initialize the <CONFIG>_POSTFIX target property. The value of this property is used (even for executables) to define a per-configuration postfix on the name of the target. Also enabled use of the OUTPUT_NAME property for non-executable targets.
* ENH: Created target property INSTALL_NAME_DIR initalized by ↵Brad King2006-02-241-6/+54
| | | | CMAKE_INSTALL_NAME_DIR specifying the directory portion of the OSX install_name field in shared libraries. This is the OSX equivalent of RPATH.
* ENH: Add a notion of a global targetAndy Cedilnik2006-02-231-1/+7
|
* ENH: Switched order of slash and configuration name in ↵Brad King2006-02-201-1/+1
| | | | cmGlobalGenerator::AppendDirectoryForConfig method to increase flexibility.
* BUG: Fixed relink with new install framework.Brad King2006-02-191-1/+2
|
* ENH: Generate import libraries for DLLs on Cygwin and MinGW.Brad King2006-02-181-37/+60
|
* ENH: Implemented RPATH specification support. It is documented by the ↵Brad King2006-02-161-0/+101
| | | | command SET_TARGET_PROPERTIES.
* BUG: Fixed cmTarget::GetFullPath to not append the configuration name when ↵Brad King2006-02-031-9/+4
| | | | only one configuration is built. It now asks the generator what subdirectory if any to use for a given configuration name.
* 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.