diff --git a/Source/cmTarget.h b/Source/cmTarget.h index cade7ab9d..ddc8d3572 100644 --- a/Source/cmTarget.h +++ b/Source/cmTarget.h @@ -642,12 +642,6 @@ public: private: bool HandleLocationPropertyPolicy(cmMakefile* context) const; - // The set of include directories that are marked as system include - // directories. - std::set SystemIncludeDirectories; - - std::vector > TLLCommands; - #if defined(_WIN32) && !defined(__CYGWIN__) /** * A list of direct dependencies. Use in conjunction with DependencyMap. @@ -742,40 +736,48 @@ private: void GetSourceFiles(std::vector &files, const std::string& config) const; private: - std::string Name; - std::vector PreBuildCommands; - std::vector PreLinkCommands; - std::vector PostBuildCommands; - TargetType TargetTypeValue; - LinkLibraryVectorType PrevLinkedLibraries; -#if defined(_WIN32) && !defined(__CYGWIN__) - LinkLibraryVectorType LinkLibrariesForVS6; - bool LinkLibrariesForVS6Analyzed; -#endif - std::vector LinkDirectories; + mutable cmPropertyMap Properties; + std::set SystemIncludeDirectories; std::set LinkDirectoriesEmmitted; - bool HaveInstallRule; + std::set Utilities; + mutable std::set LinkImplicitNullProperties; + std::map UtilityBacktraces; + mutable std::map DebugCompatiblePropertiesDone; + mutable std::map MaxLanguageStandards; + cmPolicies::PolicyMap PolicyMap; + std::string Name; std::string InstallPath; std::string RuntimeInstallPath; mutable std::string ExportMacro; - std::set Utilities; - std::map UtilityBacktraces; - bool RecordDependencies; - mutable cmPropertyMap Properties; + std::vector LinkDirectories; + std::vector PreBuildCommands; + std::vector PreLinkCommands; + std::vector PostBuildCommands; + std::vector > TLLCommands; + LinkLibraryVectorType PrevLinkedLibraries; LinkLibraryVectorType OriginalLinkLibraries; +#if defined(_WIN32) && !defined(__CYGWIN__) + LinkLibraryVectorType LinkLibrariesForVS6; +#endif + cmMakefile* Makefile; + cmTargetInternalPointer Internal; + TargetType TargetTypeValue; + bool HaveInstallRule; + bool RecordDependencies; bool DLLPlatform; bool IsAndroid; bool IsApple; bool IsImportedTarget; + bool BuildInterfaceIncludesAppended; mutable bool DebugIncludesDone; - mutable std::map DebugCompatiblePropertiesDone; mutable bool DebugCompileOptionsDone; mutable bool DebugCompileDefinitionsDone; mutable bool DebugSourcesDone; mutable bool DebugCompileFeaturesDone; - mutable std::set LinkImplicitNullProperties; - mutable std::map MaxLanguageStandards; - bool BuildInterfaceIncludesAppended; + mutable bool LinkImplementationLanguageIsContextDependent; +#if defined(_WIN32) && !defined(__CYGWIN__) + bool LinkLibrariesForVS6Analyzed; +#endif // Cache target output paths for each configuration. struct OutputInfo; @@ -825,16 +827,10 @@ private: void ProcessSourceExpression(std::string const& expr); - // The cmMakefile instance that owns this target. This should - // always be set. - cmMakefile* Makefile; - cmPolicies::PolicyMap PolicyMap; - // Internal representation details. friend class cmTargetInternals; friend class cmGeneratorTarget; friend class cmTargetTraceDependencies; - cmTargetInternalPointer Internal; void ComputeVersionedName(std::string& vName, std::string const& prefix, @@ -842,8 +838,6 @@ private: std::string const& suffix, std::string const& name, const char* version) const; - - mutable bool LinkImplementationLanguageIsContextDependent; }; #ifdef CMAKE_BUILD_WITH_CMAKE