summaryrefslogtreecommitdiffstats
path: root/Source/cmGetPropertyCommand.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-281-14/+9
| | | | | | | This converts the CMake license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the CMake copyright to cover the full development time range.
* ENH: Teach set/get_property about CACHE propertiesBrad King2009-03-101-1/+26
| | | | | | | | This adds the CACHE option to set_property and get_property commands. This allows full control over cache entry information, so advanced users can tweak their project cache as desired. The set_property command allows only pre-defined CACHE properties to be set since others would not persist anyway.
* BUG: Fix get_property result for bad propertyBrad King2009-03-091-1/+8
| | | | | | | When a property does not exist we are supposed to return an empty value. Previously if a property did not exist we just left the value of the output variable unchanged. This teaches CMake to remove the definition of the output variable in this case.
* ENH: Improve test property speed with a mapBrad King2009-01-051-8/+2
| | | | | | | Previously we stored a vector of tests to preserve their order. Property set/get operations would do a linear search for matching tests. This uses a map to efficiently look up tests while keeping the original order with a vector for test file generation.
* COMP: fix warningKen Martin2008-04-011-1/+0
|
* ENH: support unset of propertiesKen Martin2008-04-011-1/+20
|
* BUG: Add cmSourceFile::GetPropertyForUser to centralize the LOCATION ↵Brad King2008-01-301-1/+2
| | | | property hack. This fixes the LOCATION property when retrieved via the get_property command.
* ENH: Updated exporting and importing of targets to support libraries and ↵Brad King2008-01-281-3/+1
| | | | | | | | | | | | | | | | | | 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
* ENH: Changed signature of GET_PROPERTY command to be more powerful and ↵Brad King2008-01-171-149/+280
| | | | extendible.
* ENH: add ability to get documentaiton of a property from a scriptKen Martin2007-10-241-7/+54
|
* COMP: fix warningsKen Martin2007-06-251-0/+4
|
* ENH: added cmGetPropertyCommandKen Martin2007-06-251-0/+160