summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
Commit message (Collapse)AuthorAgeFilesLines
* BUG: don't use non-imported target when cross compiling as commands in ↵Alexander Neundorf2007-05-241-3/+3
| | | | | | | | custom commands STYLE: remove now invalid comments, use this-> Alex
* ENH: Fixed INSTALL_FILES and INSTALL_PROGRAMS commands to not create ↵Brad King2007-05-231-6/+6
| | | | targets. No targets of type cmTarget::INSTALL_FILES or cmTarget::INSTALL_PROGRAMS are created, so we do not need to check for them everywhere anymore.
* BUG: Target names in the COMMAND part of a custom command should not create ↵Brad King2007-05-231-38/+32
| | | | a file-level dependency that forces the command to rerun when the executable target rebuilds, but the target-level dependency should still be created. Target names in a DEPENDS should do both a target-level and file-level dependency. Updated the BuildDepends test to check that this works.
* COMP: don't user string::clear(), fix warnings about unused variablesAlexander Neundorf2007-05-231-4/+4
| | | | Alex
* ENH: add the IMPORT keyword to ADD_EXECUTABLE(), which generates anAlexander Neundorf2007-05-221-39/+141
| | | | | | | | | | "imported" executable target. This can then be used e.g. with ADD_CUSTOM_COMMAND() to generate stuff. It adds a second container for "imported" targets, and FindTarget() now takes an additional argument bool useImportedTargets to specify whether you also want to search in the imported targets or only in the "normal" targets. Alex
* BUG: An empty configuration name is equivalent to no configuration.Brad King2007-05-171-1/+1
|
* BUG: fix segfault when trying to get the object file for a sourcefile in anAlexander Neundorf2007-05-151-12/+15
| | | | | | unknown language via GET_TARGET_PROPERTY(), as reported by Trevor Kellaway Alex
* STYLE: fix line lengthsAlexander Neundorf2007-05-141-4/+6
| | | | Alex
* STYLE: fix line lengthAlexander Neundorf2007-05-101-2/+4
| | | | Alex
* STYLE: functions use upper case for the first letterAlexander Neundorf2007-05-091-5/+5
| | | | Alex
* ENH: now target names can be used in add_custom_command() andAlexander Neundorf2007-05-091-2/+52
| | | | | | | | | | add_custom_target() as COMMAND, and cmake will recognize them and replace them with the actual output path of these executables. Also the dependency will be added automatically. Test included. ENH: moved TraceVSDependencies() to the end of GlobalGenerator::Configure(), so it is done now in one central place Alex
* ENH: initial support for creation of frameworks on MacBill Hoffman2007-05-081-1/+18
|
* ENH: added internal target property for the name of the project fileKen Martin2007-04-101-0/+6
|
* ENH: Created method cmTarget::GetExportMacro to centralize computation of ↵Brad King2007-03-281-0/+27
| | | | the export symbol name. This removes duplicate code from all the generators. Also enabled the export definition for executable targets with the ENABLE_EXPORTS property set.
* ENH: Added target property ENABLE_EXPORTS for executable targets. It ↵Brad King2007-03-221-0/+17
| | | | enables the executables for linking by loadable modules that import symbols from the executable. This finishes the executable import library support mentioned in bug #4210.
* ENH: Added support for import libraries created by executable and module ↵Brad King2007-03-191-18/+59
| | | | targets. The module import libraries should never be used but some windows compilers always create them for .dll files since there is no distinction from shared libraries on that platform. The executable import libraries may be used to create modules that when loaded bind to symbols from the executables. This is an enhancement related to bug#4210 though not requested by it explicitly.
* ENH: add project to target map, not used yet, but createdBill Hoffman2007-03-131-3/+2
|
* ENH: Added target properties ARCHIVE_OUTPUT_DIRECTORY, ↵Brad King2007-03-091-28/+134
| | | | LIBRARY_OUTPUT_DIRECTORY, and RUNTIME_OUTPUT_DIRECTORY. If set these override EXECUTABLE_OUTPUT_PATH and LIBRARY_OUTPUT_PATH for a specific target. They can be used to distribute target files in the build tree with the same granularity that the INSTALL command provides for the install tree. This addresses bug#2240 and bug#4210.
* ENH: Added implib option to cmTarget::GetDirectory to support a separate ↵Brad King2007-03-091-6/+15
| | | | directory containing the import library. This is an incremental step for bug#4210.
* ENH: Combined cmTarget::GetDirectory and cmTarget::GetOutputDir since they ↵Brad King2007-03-081-2/+6
| | | | are nearly the same. This is another step for bug#2240.
* COMP: Fixed enumeration-not-used warning in switch.Brad King2007-03-081-13/+18
|
* ENH: Replaced LibraryOutputPath and ExecutableOutputPath variables in ↵Brad King2007-03-081-28/+48
| | | | Makefile and VS generators to instead ask each target for its output path. This significantly reduces total code size and centralizes previously duplicate code. It is also a step towards bug#2240.
* ENH: Make EXCLUDE_FROM_ALL a target and directory properties. Also, make ↵Andy Cedilnik2007-02-231-4/+4
| | | | IsInAll use EXCLUDE_FROM_ALL. Also, enable the test that tests this
* BUG: fix accidental checkinKen Martin2007-02-191-50/+6
|
* ENH: turn on spaces in path testKen Martin2007-02-191-2/+49
|
* STYLE: fix line length issuesBill Hoffman2007-02-171-1/+2
|
* ENH: check in initial conv library stuffBill Hoffman2007-02-161-3/+63
|
* ENH: Added cmTarget::GetPDBName method to simplify computation of .pdb file ↵Brad King2007-02-011-0/+11
| | | | name for a target.
* BUG: The .pdb file generated for a library or executable should match the ↵Brad King2007-02-011-8/+22
| | | | real file name used for the target. This addresses bug#3277.
* COMP: fix some warnings and style issuesKen Martin2006-12-081-1/+2
|
* ENH: make properties a bit more formal with documentation and chainingKen Martin2006-12-071-14/+247
|
* ENH: fix bug in full path to target depends stuffBill Hoffman2006-12-071-0/+2
|
* BUG: better fix for .dll.lib problemBill Hoffman2006-11-301-1/+8
|
* COMP: fix compile issue on Sun hopefullyKen Martin2006-11-291-2/+2
|
* COMP: fix compile issue on SunKen Martin2006-11-291-4/+8
|
* ENH: updated handling of debug and optimized target link librariesKen Martin2006-11-291-92/+58
|
* ENH: fix line length problemBill Hoffman2006-11-271-6/+6
|
* ENH: fix crash in plplot buildBill Hoffman2006-11-271-1/+2
|
* BUG: fix problem when a target name is the same as the output of a custom ↵Bill Hoffman2006-11-251-4/+30
| | | | command
* ENH: fix a bug with useing debuf optimized libs from other buildsKen Martin2006-11-161-0/+4
|
* ENH: Adding image version number (major.minor) property to windows binaries. ↵Brad King2006-10-161-1/+37
| | | | Default is 0.0, but the VERSION target property may change the value. Windows now has first-class support for dll and exe versioning. This addresses bug#1219.
* ENH: Adding version number to the name of a DLL built in cygwin but not the ↵Brad King2006-10-051-0/+11
| | | | import library. This addresses bug#3571.
* ENH: Added support for getting a target's location on a per-configuration ↵Brad King2006-09-291-1/+9
| | | | basis (ex. DEBUG_LOCATION). This does not fix but helps with bug#3250.
* ENH: Added target property CLEAN_DIRECT_OUTPUT to not clean all forms of a ↵Brad King2006-08-031-0/+11
| | | | library name so that static and shared libraries of the same name can coexist in a single build directory.
* COMP: Fix and/or disable warnings for Borland 5.6 build.Brad King2006-08-011-9/+9
|
* ENH: Added target property INSTALL_RPATH_USE_LINK_PATH to append the linker ↵Brad King2006-06-151-0/+1
| | | | search path directories not inside the project to the INSTALL_RPATH automatically. The property is initialized by the variable CMAKE_INSTALL_RPATH_USE_LINK_PATH when the target is created.
* ENH: Changing shared library versioned file names on OSX to conform to that ↵Brad King2006-06-051-1/+21
| | | | platform's convention.
* ENH: fix for vtk 4.4 and other projects that may try to link to a moduleBill Hoffman2006-05-191-0/+5
|
* STYLE: fix line lengthKen Martin2006-05-121-10/+18
|
* ENH: Added information about target needing a source file when one cannot be ↵Brad King2006-05-051-1/+1
| | | | found.