summaryrefslogtreecommitdiffstats
path: root/Source/cmAddLibraryCommand.cxx
Commit message (Collapse)AuthorAgeFilesLines
* ENH: Add UNKNOWN type for IMPORTED librariesBrad King2008-08-181-0/+16
| | | | | | | | | | | | | | | When creating an IMPORTED target for a library that has been found on disk, it may not be known whether the library is STATIC or SHARED. However, the library may still be linked using the file found from disk. Use of an IMPORTED target is still important to allow per-configuration files to be specified for the library. This change creates an UNKNOWN type for IMPORTED library targets. The IMPORTED_LOCATION property (and its per-config equivalents) specifies the location of the library. CMake makes no assumptions about the library that cannot be inferred from the file on disk. This will help projects and find-modules import targets found on disk or specified by the user.
* COMP: Fix shadowed local variable warning.Brad King2008-02-111-0/+2
|
* ENH: Enforce global target name uniqueness.Brad King2008-02-111-16/+8
| | | | | | | | - Error if imported target is involved in conflict - Error for non-imported target conflict unless CMAKE_BACKWARDS_COMPATIBILITY <= 2.4 - Include OUTPUT_NAME property in error message - Update add_executable and add_library command documentation
* ENH: Updated exporting and importing of targets to support libraries and ↵Brad King2008-01-281-3/+42
| | | | | | | | | | | | | | | | | | configurations. - Created cmExportFileGenerator hierarchy to implement export file generation - Installed exports use per-config import files loaded by a central one. - Include soname of shared libraries in import information - Renamed PREFIX to NAMESPACE in INSTALL(EXPORT) and EXPORT() commands - Move addition of CMAKE_INSTALL_PREFIX to destinations to install generators - Import files compute the installation prefix relative to their location when loaded - Add mapping of importer configurations to importee configurations - Rename IMPORT targets to IMPORTED targets to distinguish from windows import libraries - Scope IMPORTED targets within directories to isolate them - Place all properties created by import files in the IMPORTED namespace - Document INSTALL(EXPORT) and EXPORT() commands. - Document IMPORTED signature of add_executable and add_library - Enable finding of imported targets in cmComputeLinkDepends
* ENH: add return and break support to cmake, also change basic command ↵Ken Martin2008-01-231-1/+2
| | | | invocation signature to be able to return extra informaiton via the cmExecutionStatus class
* STYLE: better error message, name the new manpages cmakecommands,Alexander Neundorf2007-07-131-3/+4
| | | | | | cmakecompat, cmakeprops and cmakemodules Alex
* STYLE: change global cmake variable CMAKE_TARGET_SUPPORTS_ONLY_STATIC_LIBSAlexander Neundorf2007-06-261-1/+4
| | | | | | to the first global cmake property TARGET_SUPPORTS_SHARED_LIBS Alex
* ENH: add IMPORT keyword to ADD_LIBRARY, dependencies are not yet workingAlexander Neundorf2007-06-221-19/+34
| | | | | | STYLE: fix line lengths and indentation, use enum as argument to AddLibrary() instead of int (which was initialized from a bool in some cases) Alex
* ENH: print a warning if ADD_LIBRARY( SHARED/MODULE ) is used and the targetAlexander Neundorf2007-06-211-0/+16
| | | | | | platform doesn't support shared libraries Alex
* ENH: some code cleanupKen Martin2007-03-121-3/+3
|
* BUG: fix for bad argument handlingKen Martin2007-01-041-2/+6
|
* ENH: Renamed NOT_IN_ALL to EXCLUDE_FROM_ALL.Brad King2006-10-021-1/+1
|
* ENH: Added NOT_IN_ALL option for ADD_LIBRARY and ADD_EXECUTABLE to avoid ↵Brad King2006-10-021-1/+8
| | | | building the targets by default.
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-3/+3
|
* ENH: allow libs with no sources but complainKen Martin2005-06-101-2/+5
|
* ENH: better error checking for add library or executable with no source filesKen Martin2005-06-081-1/+8
|
* ENH: Moved ExpandListVariables out of individual commands. Argument ↵Brad King2002-12-111-4/+2
| | | | evaluation rules are now very consistent. Double quotes can always be used to create exactly one argument, regardless of contents inside.
* 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.
* removed some includesKen Martin2002-09-271-1/+0
|
* ENH: change LINK_LIBRARY to add to targetsBill Hoffman2002-05-021-9/+0
|
* ENH: Make the LinkLibraries command contribute dependencies towards ↵Amitha Perera2002-05-011-2/+12
| | | | AddLibraries.
* ENH: add ability to use ; separated lists in SET and expand them for ↵Bill Hoffman2002-03-291-3/+4
| | | | addexecutable and addlibrary
* ENH: expand variables in arguments before the commands get themBill Hoffman2002-03-051-5/+1
|
* ENH:Updated copyrightWill Schroeder2002-01-211-29/+5
|
* Break the "to infinity and beyond" stuffSebastien Barre2001-11-081-0/+1
|
* Expand var in srclist name tooSebastien Barre2001-11-081-1/+8
|
* Expand vars in exe and lib nameSebastien Barre2001-11-011-3/+7
|
* ENH: change InitialPass to take a const reference to the argument string, to ↵Bill Hoffman2001-09-201-2/+2
| | | | avoid changes to the file cache
* Changes to allow MODULE type target for a shared libraryYves Starreveld2001-08-281-3/+8
|
* ENH: Added support for selection of static/shared build on a per-library basis.Brad King2001-07-021-2/+27
|
* ENH: rename Invoke to InitialPassBill Hoffman2001-06-061-1/+1
|
* ENH: Moved cache entry addition into cmMakefile::AddLibrary and ↵Brad King2001-05-071-6/+0
| | | | AddExecutable so that commands do not have to add it explicitly.
* ENH:New copyrightWill Schroeder2001-04-271-3/+28
|
* ENH: add help for cache entriesBill Hoffman2001-04-261-1/+1
|
* FIX: allow ADD_LIBRARY with no source listJim Miller2001-04-161-1/+1
|
* some bug fixesKen Martin2001-04-121-0/+7
|
* major changes to support multiple libraries and source listsKen Martin2001-04-111-0/+33