summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
Commit message (Collapse)AuthorAgeFilesLines
* cmGeneratorTarget: Move CompileInfoMap from cmTarget.Stephen Kelly2015-08-051-7/+0
|
* cmGeneratorTarget: Move GetCompilePDBDirectory from cmTarget.Stephen Kelly2015-08-051-7/+5
|
* cmGeneratorTarget: Move GetOutputName from cmTarget.Stephen Kelly2015-08-051-3/+0
|
* cmGeneratorTarget: Move IsBundleOnApple from cmTarget.Stephen Kelly2015-08-051-4/+0
|
* cmGeneratorTarget: Move GetLinkClosure from cmTarget.Stephen Kelly2015-08-051-13/+0
|
* cmGeneratorTarget: Move GetLinkerLanguage from cmTarget.Stephen Kelly2015-08-051-3/+0
|
* cmGeneratorTarget: Move GetFrameworkDirectory from cmTarget.Stephen Kelly2015-08-051-8/+0
|
* cmGeneratorTarget: Move GetFullName from cmTarget.Stephen Kelly2015-08-051-10/+0
| | | | Bring GetFullNameInternal with it.
* cmGeneratorTarget: Move GetAppBundleDirectory from cmTarget.Stephen Kelly2015-08-051-4/+0
|
* cmGeneratorTarget: Move GetInstallNameDir* from cmTarget.Stephen Kelly2015-08-051-9/+0
|
* cmGeneratorTarget: Move GetMacContentDirectory from cmTarget.Stephen Kelly2015-08-051-8/+0
|
* cmGeneratorTarget: Move GetFullNameComponents from cmTarget.Stephen Kelly2015-08-051-4/+0
|
* cmGeneratorTarget: Move IsChrPathUsed from cmTarget.Stephen Kelly2015-08-051-3/+0
|
* cmGeneratorTarget: Move NeedRelinkBeforeInstall from cmTarget.Stephen Kelly2015-08-051-5/+0
|
* cmGeneratorTarget: Move GetPDBName from cmTarget.Stephen Kelly2015-08-051-3/+0
|
* cmGeneratorTarget: Move GetCompilePDBPath from cmTarget.Stephen Kelly2015-08-051-6/+0
|
* cmGeneratorTarget: Move HasSOName from cmTarget.Stephen Kelly2015-08-051-3/+0
|
* cmGeneratorTarget: Move GetLibraryNames from cmTarget.Stephen Kelly2015-08-051-7/+0
|
* cmGeneratorTarget: Move GetExecutableNames from cmTarget.Stephen Kelly2015-08-051-8/+0
|
* cmGeneratorTarget: Move GetLinkImplementationClosureStephen Kelly2015-08-051-3/+0
|
* cmGeneratorTarget: Move ReportPropertyOrigin from cmTarget.Stephen Kelly2015-08-051-6/+0
|
* cmGeneratorTarget: Make CompatibleType enum private again.Stephen Kelly2015-08-051-8/+0
|
* cmGeneratorTarget: Move LinkInterfaceDependent methods from cmTarget.Stephen Kelly2015-08-051-9/+0
|
* cmGeneratorTarget: Move CheckPropertyCompatibility from cmTarget.Stephen Kelly2015-08-051-3/+8
|
* cmGeneratorTarget: Move GetLinkInformation from cmTargetStephen Kelly2015-08-051-13/+0
|
* cmGeneratorTarget: Move IsLinkInterfaceDependent* from cmTarget.Stephen Kelly2015-08-051-19/+0
|
* cmGeneratorTarget: Move GetAutoUicOptions from cmTarget.Stephen Kelly2015-08-051-2/+0
|
* cmGeneratorTarget: Move GetSOName from cmTarget..Stephen Kelly2015-08-051-4/+14
|
* Merge topic 'use-generator-target'Brad King2015-07-281-21/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 57f03e59 Port some of the cmExportFileGenerator API to cmGeneratorTarget. 57ab0f70 Port cmExportBuildFileGenerator to cmGeneratorTarget. 570938cb cmExportTryCompileFileGenerator: Create cmGeneratorTargets. ec38e4c8 Move GetFullPath to cmGeneratorTarget dfb025bf Move GetLocationForBuild to cmGeneratorTarget. 9f2dca80 Move GetLocation to cmGeneratorTarget. c7a8e74b Always access target location from a cmGeneratorTarget instance. 5b60eaf6 cmTarget: Restore the ImportedGetLocation method. 50b17a61 cmIncludeCommand: Populate the cmGeneratorTargets in deprecated path. ba266858 cmTarget: Create cmGeneratorTargets before reading deprecated LOCATION. 5ab3a946 cmTarget: Inline GetLocation into deprecated callers. 496f4cd0 cmGlobalGenerator: Create cmGeneratorTargets before QtAutomoc. de80993a cmGlobalGenerator: Create cmGeneratorTargets earlier. 611220f7 cmTarget: Use reliable test for CMP0024 and CMP0026 OLD. bbad6ba5 cmLocalGenerator: Remove unused AddCustomCommandToCreateObject method. e4dc83ad cmLocalGenerator: Remove unused AddBuildTargetRule method. ...
| * Move GetFullPath to cmGeneratorTargetStephen Kelly2015-07-271-13/+0
| |
| * Move GetLocationForBuild to cmGeneratorTarget.Stephen Kelly2015-07-271-5/+0
| |
| * Move GetLocation to cmGeneratorTarget.Stephen Kelly2015-07-271-3/+0
| |
| * cmTarget: Restore the ImportedGetLocation method.Stephen Kelly2015-07-271-0/+1
| | | | | | | | | | | | It was removed in commit f154475b (cmTarget: Refactor GetLocation API, 2014-03-08), but it is more readable for targets we know are imported.
* | cmMakefile: Split accessors for include directories and origins.Stephen Kelly2015-07-221-1/+2
| |
* | cmMakefile: Split accessors for compile options and origins.Stephen Kelly2015-07-221-2/+3
| |
* | cmMakefile: Split accessors for compile definitions and origins.Stephen Kelly2015-07-221-1/+2
|/
* Merge topic 'fix-target_link_libraries-wrong-dir'Brad King2015-06-261-1/+2
|\ | | | | | | | | 30c2e1dd cmTarget: Fix diagnostic of target_link_libraries in wrong directory (#15626)
| * cmTarget: Fix diagnostic of target_link_libraries in wrong directory (#15626)Brad King2015-06-251-1/+2
| | | | | | | | | | | | | | | | | | | | Since commit v3.3.0-rc1~62^2~5 (cmTarget: Store only cmListFileContext for CMP0023 handling, 2015-05-18) a call to target_link_libraries on a target that was defined in another (non-ancestor) directory crashes because no execution context is left active. Fix this by getting the execution context from the actual cmMakefile where the current target_link_libraries call takes place. Test this by verifying that such calls correctly produce an error diagnostic instead of crashing.
* | Merge topic 'data-layout'Brad King2015-06-081-37/+24
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8174e5cd cmCustomCommand: Remove special member functions. 34e1d6db cmCustomCommand: Re-arrange data layout. 54cb76f2 cmComputeLinkDepends: Re-arrange data layout. b661d6c6 cmQtAutoGenerators: Re-arrange data layout. 40844a14 cmProcessTools: Re-arrange data layout. b1ff32af cmOrderDirectories: Re-arrange data layout. dd0417c7 cmInstallTargetGenerator: Re-arrange data layout. 125c4866 cmInstallFilesGenerator: Re-arrange data layout. 92b8b1fc cmGraphVizWriter: Re-arrange data layout. 7f3e1623 cmGlobalGenerator: Re-arrange data layout. d9df7fa7 cmComputeComponentGraph: Re-arrange data layout. db24e41b cmCommandArgumentParserHelper: Re-arrange data. 4cd13e80 cmComputeLinkInformation: Re-arrange data layout. 3e087a40 cmLocalUnixMakefileGenerator: Re-arrange data layout. e0421701 cmMakefile: Re-arrange data layout. c26696eb cmSourceFile: Re-arrange data. ...
| * | cmTarget: Re-arrange data layout.Stephen Kelly2015-06-071-29/+23
| | | | | | | | | | | | Size with GNU libstdc++-5.1 goes from 840 bytes to 808 bytes.
| * | cmTarget: Replace PolicyStatus members with PolicyMap.Stephen Kelly2015-06-071-9/+2
| | | | | | | | | | | | sizeof(cmTarget) goes from 856 to 840 with GNU libstdc++ 5.1.
* | | cmGeneratorTarget: Move Feature API from cmTarget.Stephen Kelly2015-06-061-5/+0
|/ /
* | cmMakefile: Make cmListFileBacktrace default constructible.Stephen Kelly2015-06-021-1/+1
|/
* Honor visibility properties for all target types (#15556)Brad King2015-05-261-1/+2
| | | | | | | | | | | | | | | | The <LANG>_VISIBILITY_PRESET and VISIBILITY_INLINES_HIDDEN were first merged in commit v2.8.12~322 (Merge topic 'VISIBILITY_PRESET-property', 2013-06-05) but worked only for shared libraries and executables with exports. Prior to commit v3.0.0-rc1~581^2 (GenerateExportHeader: Deprecate add_compiler_export_flags function., 2013-09-02) the add_compiler_export_flags function was used to add visibility flags to all targets. The visibility flags are useful for sources in all target types because they may be later linked into shared libraries or executables with exports. Introduce policy CMP0063 to enable them for all target types while preserving compatibility with existing projects that do not expect this.
* Merge topic 'use-std-unordered_map'Brad King2015-05-191-2/+10
|\ | | | | | | | | | | | | d7923b82 Use std::unordered_map instead of hash_map where available. 820777af Tests: Don't rely on ordering of targets in maps. 921d74d8 AutoGen: Don't iterate over a container while populating it.
| * Use std::unordered_map instead of hash_map where available.Stephen Kelly2015-05-181-2/+10
| |
* | cmTarget: Store only cmListFileContext for CMP0023 handling.Stephen Kelly2015-05-181-1/+1
|/ | | | | Only the top level execution context is shown, as appropriate, so store only that.
* Move property definition to cmState.Stephen Kelly2015-04-131-3/+0
|
* Link libraries by full path even in implicit directoriesBrad King2015-04-091-1/+2
| | | | | | | | | | | | | | | | | | | | | | When CMP0003 was first introduced we wanted to link all libraries by full path. However, some projects had problems on platforms where find_library would find /usr/lib/libfoo.so when the project really wanted to link to /usr/lib/<arch>/libfoo.so and had been working by accident because pre-CMP0003 behavior used -lfoo to link. We first tried to address that in commit v2.6.0~440 (Teach find_library to avoid returning library paths in system directories, 2008-01-23) by returning just "foo" for libraries in implicit link directories. This caused problems for projects expecting find_library to always return a full path. We ended up using the solution in commit v2.6.0~366 (... switch library paths found in implicit link directories to use -l, 2008-01-31). However, the special case for libraries in implicit link directories has also proven problematic and confusing. Introduce policy CMP0060 to switch to linking all libraries by full path even if they are in implicit link directories. Explain in the policy documentation the factors that led to the original approach and now to this approach.
* OS X: Add handling for XCTest bundlesGregor Jasny2015-03-231-0/+3
| | | | | | | | | | An XCTest bundle is a CFBundle with a special product-type and bundle extension. For more information about XCTest visit the Mac Developer library at: http://developer.apple.com/library/mac/documentation/DeveloperTools/Conceptual/testing_with_xcode/ Signed-off-by: Gregor Jasny <gjasny@googlemail.com>