summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
Commit message (Collapse)AuthorAgeFilesLines
* CMP0065: Restrict the use of CMAKE_SHARED_LIBRARY_LINK_<LANG>_FLAGSChuck Atkins2015-09-211-0/+1
| | | | | This new policy restricts the addition of the shared library link flags to executables only when the ENABLE_EXPORTS property is set to True.
* CMP0026: Use compatibility codepath until configure is finished (#15748)Stephen Kelly2015-09-181-2/+2
| | | | | | | | | | Use it instead of the similar cmMakefile API. It is necessary to know that the Configure step is completely done, not just that one particular cmMakefile is finished configuring. Prior to commit 611220f7 (cmTarget: Use reliable test for CMP0024 and CMP0026 OLD., 2015-07-25), this was determined by checking whether cmGeneratorTargets exist yet, which happens after the Configure step.
* cmTarget: Only append non-empty values to buildsystem properties.Stephen Kelly2015-09-111-5/+5
| | | | | | This is a change in behavior from CMake 3.3, but there is no semantic meaning to empty entries in buildsystem properties. This also restores behavior to that of CMake 2.8.10.
* cmTarget: Fix memory leak when SOURCES property is clearedBrad King2015-09-031-0/+1
|
* cmTarget: Fix buildsystem property empty value set and append operationsBrad King2015-09-031-24/+48
| | | | | | | | | | Refactoring in commit 1f54bc1c (cmTarget: Split storage of include directories from genexes, 2015-08-04), commit 772ecef4 (cmTarget: Split storage of compile options from genexes, 2015-08-04), commit 44e071ae (cmTarget: Split storage of compile features from genexes, 2015-08-04), and commit 197f4de1 (cmTarget: Split storage of compile definitions from genexes, 2015-08-04) failed to account for value==NULL in SetProperty and AppendProperty methods.
* Merge topic 'fix-ios-install'Brad King2015-09-011-3/+2
|\ | | | | | | | | | | | | ad262917 Xcode: Add unit test for iOS project install (#12506) 48fe617e Fix installation of iOS targets (#12506) d2c2319d Replace CMAKE_XCODE_EFFECTIVE_PLATFORMS with call to PlatformIsAppleIos
| * Fix installation of iOS targets (#12506)Gregor Jasny2015-08-251-1/+1
| | | | | | | | | | | | | | | | | | | | Since cmTarget::ComputeOutputDir results can be used in CMake code of script cmake_install.cmake and in Xcode internals, string ${EFFECTIVE_PLATFORM_NAME} should be used instead of $(EFFECTIVE_PLATFORM_NAME) because it works for both. Value of CMAKE_CFG_INTDIR can't be used in BUILD_TYPE argument of install command since it contains $(EFFECTIVE_PLATFORM_NAME) (e.g. equals to `Release-iphoneos`, `Debug-iphoneos`, etc.).
| * Replace CMAKE_XCODE_EFFECTIVE_PLATFORMS with call to PlatformIsAppleIosGregor Jasny2015-08-251-3/+2
| | | | | | | | | | | | | | Currently the CMAKE_XCODE_EFFECTIVE_PLATFORMS property acts only as a kind of toggle switch to enable iOS project layout features. But instead of relying on this undocumented property, better detect the presence of an iOS SDK directly.
* | Merge topic 'use-generator-target'Brad King2015-08-271-1207/+68
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c2b7336f cmGeneratorTarget: Move GetConfigCommonSourceFiles from cmTarget. 69329fff cmGeneratorTarget: Move GetLanguages from cmTarget. 0431f2c4 cmGeneratorTarget: Move ComputeLinkImplementationLanguages from cmTarget. abe9505d cmGeneratorTarget: Move HaveBuildTreeRPath from cmTarget. d4a24c0e cmGeneratorTarget: Move GetLinkImplementation from cmTarget. 83981cf5 cmTarget: Add GetLinkImplMap method. 771e79a2 cmLinkItem: Add cmOptionalLinkImplementation type. 3846ebcf cmLinkItem: Add cmLinkImplementation type. a7f5d70d cmGeneratorTarget: Move compile defintions processing from cmTarget. d051086c cmGeneratorTarget: Move compile features processing from cmTarget. db4cb92b cmGeneratorTarget: Move compile options processing from cmTarget. e6ccbf6f cmGeneratorTarget: Move include directory processing from cmTarget. 8bfb0c53 cmGeneratorTarget: Move link iface helpers from cmTarget. 2cb3e574 cmGeneratorTarget: Move GetImportLinkInterface from cmTarget. 6d3d099b cmGeneratorTarget: Move ComputeLinkInterfaceLibraries from cmTarget. 0db9d927 cmGeneratorTarget: Move GetLinkInterfaceLibraries from cmTarget. ...
| * | cmGeneratorTarget: Move GetConfigCommonSourceFiles from cmTarget.Stephen Kelly2015-08-261-56/+0
| | |
| * | cmGeneratorTarget: Move GetLanguages from cmTarget.Stephen Kelly2015-08-261-44/+0
| | |
| * | cmGeneratorTarget: Move ComputeLinkImplementationLanguages from cmTarget.Stephen Kelly2015-08-261-14/+0
| | |
| * | cmGeneratorTarget: Move HaveBuildTreeRPath from cmTarget.Stephen Kelly2015-08-261-15/+0
| | |
| * | cmGeneratorTarget: Move GetLinkImplementation from cmTarget.Stephen Kelly2015-08-261-24/+0
| | |
| * | cmTarget: Add GetLinkImplMap method.Stephen Kelly2015-08-261-4/+9
| | | | | | | | | | | | This is a temporary refactoring artifact.
| * | cmLinkItem: Add cmOptionalLinkImplementation type.Stephen Kelly2015-08-261-56/+31
| | | | | | | | | | | | Move the associated Compute* methods to the cmTarget class.
| * | cmLinkItem: Add cmLinkImplementation type.Stephen Kelly2015-08-261-2/+2
| | |
| * | cmGeneratorTarget: Move compile defintions processing from cmTarget.Stephen Kelly2015-08-261-161/+10
| | |
| * | cmGeneratorTarget: Move compile features processing from cmTarget.Stephen Kelly2015-08-261-75/+10
| | |
| * | cmGeneratorTarget: Move compile options processing from cmTarget.Stephen Kelly2015-08-261-79/+10
| | |
| * | cmGeneratorTarget: Move include directory processing from cmTarget.Stephen Kelly2015-08-261-224/+10
| | |
| * | cmGeneratorTarget: Move link iface helpers from cmTarget.Stephen Kelly2015-08-261-45/+0
| | |
| * | cmGeneratorTarget: Move GetImportLinkInterface from cmTarget.Stephen Kelly2015-08-261-65/+0
| | |
| * | cmGeneratorTarget: Move ComputeLinkInterfaceLibraries from cmTarget.Stephen Kelly2015-08-261-153/+0
| | |
| * | cmGeneratorTarget: Move GetLinkInterfaceLibraries from cmTarget.Stephen Kelly2015-08-261-44/+0
| | |
| * | cmGeneratorTarget: Move ComputeLinkInterface from cmTarget.Stephen Kelly2015-08-261-97/+0
| | |
| * | cmGeneratorTarget: Move GetLinkInterface from cmTarget.Stephen Kelly2015-08-261-47/+0
| | |
| * | cmTarget: Add GetHeadToLinkInterfaceMap methods.Stephen Kelly2015-08-261-8/+20
| | |
| * | cmTarget: Move cmHeadToLinkInterfaceMap out.Stephen Kelly2015-08-261-6/+4
| | |
| * | cmGeneratorTarget: Move ComputeLinkInterface from cmTarget.Stephen Kelly2015-08-261-61/+49
| | |
| * | cmTarget: Move link interface libraries struct out.Stephen Kelly2015-08-261-25/+11
| |/
* | cmTarget: Fix indentation.Stephen Kelly2015-08-251-6/+6
|/
* Merge topic 'OUTPUT_DIRECTORY-genex'Brad King2015-08-131-5/+36
|\ | | | | | | | | | | d25819bc Add generator expression support to OUTPUT_DIRECTORY target properties e36a05fd cmTarget: Detect and diagnose recursion in GetOutputInfo
| * Add generator expression support to OUTPUT_DIRECTORY target propertiesRobert Goulet2015-08-121-2/+15
| | | | | | | | | | | | | | If {ARCHIVE,LIBRARY,RUNTIME}_OUTPUT_DIRECTORY is set with a genex then do not add the per-config subdirectory on multi-config generators. This will allow projects to use $<CONFIG> to place the per-config part of the directory path somewhere other than the end.
| * cmTarget: Detect and diagnose recursion in GetOutputInfoRobert Goulet2015-08-121-3/+21
| |
* | Allow LINK_SEARCH_{START,END}_STATIC props to have default values.Chuck Atkins2015-08-131-0/+2
| | | | | | | | | | | | Use the CMAKE_LINK_SEARCH_START_STATIC and CMAKE_LINK_SEARCH_END_STATIC variables to initialize the LINK_SEARCH_START_STATIC and LINK_SEARCH_END_STATIC target properties respectively.
* | cmTarget: Remove unused AddSystemIncludeDirectories overloadGregor Jasny2015-08-111-7/+0
|/
* cmTarget: Use a simpler delete algorithm.Stephen Kelly2015-08-071-13/+5
| | | | | | This way, the methods can be moved without requiring a local algorithm. The containers use automatic storage.
* cmTarget: Split storage of compile definitions from genexes.Stephen Kelly2015-08-071-32/+19
|
* cmTarget: Split storage of compile features from genexes.Stephen Kelly2015-08-071-12/+17
|
* cmTarget: Split storage of compile options from genexes.Stephen Kelly2015-08-071-25/+31
|
* cmTarget: Split storage of include directories from genexes.Stephen Kelly2015-08-071-26/+51
|
* cmTarget: Request only the link libraries where needed.Stephen Kelly2015-08-071-1/+2
|
* cmLinkImplementationLibraries: Move to namespace scope.Stephen Kelly2015-08-061-6/+6
|
* cmGeneratorTarget: Move CompileInfoMap from cmTarget.Stephen Kelly2015-08-051-42/+0
|
* cmGeneratorTarget: Move GetCompilePDBDirectory from cmTarget.Stephen Kelly2015-08-051-16/+0
|
* cmGeneratorTarget: Move GetOutputName from cmTarget.Stephen Kelly2015-08-051-48/+0
|
* cmGeneratorTarget: Move IsBundleOnApple from cmTarget.Stephen Kelly2015-08-051-7/+0
|
* cmGeneratorTarget: Move GetLinkClosure from cmTarget.Stephen Kelly2015-08-051-221/+0
|
* cmGeneratorTarget: Move GetLinkerLanguage from cmTarget.Stephen Kelly2015-08-051-6/+0
|