summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-10-28 12:48:05 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-10-28 12:48:05 (GMT)
commit1e8c920d0409770214a4ff517f6a4c31b9830f45 (patch)
tree410a1db66807d83a4f376da4ba8230dac5b94914 /Source/cmTarget.h
parent27570a6d0ea6df41a7792ce2c3ba2f0c9e1916df (diff)
parent79c3a2a8f72ea175533da9f323f88c507220486e (diff)
downloadCMake-1e8c920d0409770214a4ff517f6a4c31b9830f45.zip
CMake-1e8c920d0409770214a4ff517f6a4c31b9830f45.tar.gz
CMake-1e8c920d0409770214a4ff517f6a4c31b9830f45.tar.bz2
Merge topic 'use-generator-target'
79c3a2a8 cmGlobalGenerator: Remove map from cmTarget to cmGeneratorTarget c389f8bb cmLocalGenerator: Port Find method away from GetGeneratorTarget 02533038 VS6: Port to FindGeneratorTarget b6278e9f cmake: Port find_package mode away from GetGeneratorTarget 7a6caae1 cmMakefile: Add imported target accessor 0fb187cc CMP0026: Port away from GetGeneratorTarget 8caf1f36 cmGlobalGenerator: Add FindGeneratorTarget API 278ba2db cmGeneratorTarget: Add API for globally visible IMPORTED 79c11d23 Xcode: Port away from GetGeneratorTarget 9b244cc0 cmLocalGenerator: Store imported targets in a separate container. def6da61 cmLocalGenerator: Port FindGeneratorTarget away from GetGeneratorTarget a67231ac cmTarget: Implement ALIAS in terms of name mapping d566f39a cmGlobalGenerator: Remove unneeded GetGeneratorTarget 0c97d32f cmGlobalGenerator: Remove direct storage of targets 383bfd95 cmTargetCollectLinkLanguages: Remove cmMakefile dependency 7f6bedda cmGeneratorTarget: Port cmOptionalLinkImplementation ...
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r--Source/cmTarget.h20
1 files changed, 6 insertions, 14 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index 1cae94f..62e10f4 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -75,7 +75,7 @@ public:
*/
void SetType(cmState::TargetType f, const std::string& name);
- void MarkAsImported();
+ void MarkAsImported(bool global = false);
///! Set/Get the name of the target
const std::string& GetName() const {return this->Name;}
@@ -176,9 +176,6 @@ public:
std::set<std::string>const& GetUtilities() const { return this->Utilities; }
cmListFileBacktrace const* GetUtilityBacktrace(const std::string& u) const;
- /** Finalize the target at the end of the Configure step. */
- void FinishConfigure();
-
///! Set/Get a property of this target file
void SetProperty(const std::string& prop, const char *value);
void AppendProperty(const std::string& prop, const char* value,
@@ -189,6 +186,8 @@ public:
void CheckProperty(const std::string& prop, cmMakefile* context) const;
bool IsImported() const {return this->IsImportedTarget;}
+ bool IsImportedGloballyVisible() const
+ { return this->ImportedGloballyVisible; }
// Get the properties
cmPropertyMap &GetProperties() const { return this->Properties; }
@@ -209,10 +208,6 @@ public:
/** Return whether this target is an executable Bundle on Apple. */
bool IsAppBundleOnApple() const;
- /** Return the framework version string. Undefined if
- IsFrameworkOnApple returns false. */
- std::string GetFrameworkVersion() const;
-
/** Get a backtrace from the creation of the target. */
cmListFileBacktrace const& GetBacktrace() const;
@@ -234,9 +229,6 @@ public:
std::set<std::string> const & GetSystemIncludeDirectories() const
{ return this->SystemIncludeDirectories; }
- bool LinkLanguagePropagatesToDependents() const
- { return this->TargetTypeValue == cmState::STATIC_LIBRARY; }
-
cmStringRange GetIncludeDirectoriesEntries() const;
cmBacktraceRange GetIncludeDirectoriesBacktraces() const;
@@ -254,10 +246,11 @@ public:
cmStringRange GetLinkImplementationEntries() const;
cmBacktraceRange GetLinkImplementationBacktraces() const;
-
#if defined(_WIN32) && !defined(__CYGWIN__)
const LinkLibraryVectorType &GetLinkLibrariesForVS6() const {
return this->LinkLibrariesForVS6;}
+
+ void AnalyzeLibDependenciesForVS6( const cmMakefile& mf );
#endif
struct StrictTargetComparison {
@@ -316,8 +309,6 @@ private:
void GatherDependenciesForVS6( const cmMakefile& mf,
const LibraryID& lib,
DependencyMap& dep_map);
-
- void AnalyzeLibDependenciesForVS6( const cmMakefile& mf );
#endif
const char* GetSuffixVariableInternal(bool implib) const;
@@ -360,6 +351,7 @@ private:
bool IsAndroid;
bool IsApple;
bool IsImportedTarget;
+ bool ImportedGloballyVisible;
bool BuildInterfaceIncludesAppended;
#if defined(_WIN32) && !defined(__CYGWIN__)
bool LinkLibrariesForVS6Analyzed;