summaryrefslogtreecommitdiffstats
path: root/Source/cmTargetDepend.h
blob: c5059ee2b9f7c9d99102926ee4f58d11d664de8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*============================================================================
  CMake - Cross Platform Makefile Generator
  Copyright 2000-2010 Kitware, Inc., Insight Software Consortium

  Distributed under the OSI-approved BSD License (the "License");
  see accompanying file Copyright.txt for details.

  This software is distributed WITHOUT ANY WARRANTY; without even the
  implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  See the License for more information.
============================================================================*/
#ifndef cmTargetDepend_h
#define cmTargetDepend_h

#include "cmStandardIncludes.h"

class cmGeneratorTarget;

/** One edge in the global target dependency graph.
    It may be marked as a 'link' or 'util' edge or both.  */
class cmTargetDepend
{
  cmGeneratorTarget const* Target;

  // The set order depends only on the Target, so we use
  // mutable members to acheive a map with set syntax.
  mutable bool Link;
  mutable bool Util;
public:
  cmTargetDepend(cmGeneratorTarget const* t)
    : Target(t), Link(false), Util(false) {}
  operator cmGeneratorTarget const*() const { return this->Target; }
  cmGeneratorTarget const* operator->() const { return this->Target; }
  cmGeneratorTarget const& operator*() const { return *this->Target; }
  friend bool operator < (cmTargetDepend const& l, cmTargetDepend const& r)
    { return l.Target < r.Target; }
  void SetType(bool strong) const
    {
    if(strong) { this->Util = true; }
    else { this->Link = true; }
    }
  bool IsLink() const { return this->Link; }
  bool IsUtil() const { return this->Util; }
};

/** Unordered set of (direct) dependencies of a target. */
class cmTargetDependSet: public std::set<cmTargetDepend> {};

#endif
7fa6997e40ed43b3450834b265e'>plain -rw-r--r--CMakeASM_NASMInformation.cmake1039logstatsplain -rw-r--r--CMakeAddFortranSubdirectory.cmake7540logstatsplain d---------CMakeAddFortranSubdirectory97logstatsplain -rw-r--r--CMakeAddNewLanguage.txt1530logstatsplain -rw-r--r--CMakeBackwardCompatibilityC.cmake2859logstatsplain -rw-r--r--CMakeBackwardCompatibilityCXX.cmake1792logstatsplain -rw-r--r--CMakeBorlandFindMake.cmake271logstatsplain -rw-r--r--CMakeBuildSettings.cmake.in681logstatsplain -rw-r--r--CMakeCCompiler.cmake.in2536logstatsplain -rw-r--r--CMakeCCompilerABI.c410logstatsplain -rw-r--r--CMakeCCompilerId.c.in2078logstatsplain -rw-r--r--CMakeCInformation.cmake7386logstatsplain -rw-r--r--CMakeCUDACompiler.cmake.in1115logstatsplain -rw-r--r--CMakeCUDACompilerABI.cu296logstatsplain -rw-r--r--CMakeCUDACompilerId.cu.in1062logstatsplain -rw-r--r--CMakeCUDAInformation.cmake7884logstatsplain -rw-r--r--CMakeCXXCompiler.cmake.in2743logstatsplain -rw-r--r--CMakeCXXCompilerABI.cpp289logstatsplain -rw-r--r--CMakeCXXCompilerId.cpp.in1717logstatsplain -rw-r--r--CMakeCXXInformation.cmake10290logstatsplain -rw-r--r--CMakeCheckCompilerFlagCommonPatterns.cmake1877logstatsplain -rw-r--r--CMakeCommonLanguageInclude.cmake5119logstatsplain -rw-r--r--CMakeCompilerABI.h1109logstatsplain -rw-r--r--CMakeCompilerIdDetection.cmake4722logstatsplain -rw-r--r--CMakeConfigurableFile.in34logstatsplain -rw-r--r--CMakeDependentOption.cmake1682logstatsplain -rw-r--r--CMakeDetermineASM-ATTCompiler.cmake394logstatsplain -rw-r--r--CMakeDetermineASMCompiler.cmake6282logstatsplain -rw-r--r--CMakeDetermineASM_MASMCompiler.cmake590logstatsplain -rw-r--r--CMakeDetermineASM_NASMCompiler.cmake551logstatsplain -rw-r--r--CMakeDetermineCCompiler.cmake6658logstatsplain -rw-r--r--CMakeDetermineCUDACompiler.cmake4866logstatsplain -rw-r--r--CMakeDetermineCXXCompiler.cmake6647logstatsplain -rw-r--r--CMakeDetermineCompileFeatures.cmake3015logstatsplain -rw-r--r--CMakeDetermineCompiler.cmake4999logstatsplain -rw-r--r--CMakeDetermineCompilerABI.cmake5552logstatsplain -rw-r--r--CMakeDetermineCompilerId.cmake27847logstatsplain -rw-r--r--CMakeDetermineFortranCompiler.cmake11238logstatsplain -rw-r--r--CMakeDetermineJavaCompiler.cmake3767logstatsplain -rw-r--r--CMakeDetermineRCCompiler.cmake2107logstatsplain -rw-r--r--CMakeDetermineSwiftCompiler.cmake1630logstatsplain -rw-r--r--CMakeDetermineSystem.cmake7478logstatsplain -rw-r--r--CMakeDetermineVSServicePack.cmake5976logstatsplain -rw-r--r--CMakeExpandImportedTargets.cmake6090logstatsplain -rw-r--r--CMakeExportBuildSettings.cmake1234logstatsplain -rw-r--r--CMakeExtraGeneratorDetermineCompilerMacrosAndIncludeDirs.cmake5162logstatsplain -rw-r--r--CMakeFindBinUtils.cmake2871logstatsplain -rw-r--r--CMakeFindCodeBlocks.cmake1493logstatsplain -rw-r--r--CMakeFindDependencyMacro.cmake2499logstatsplain -rw-r--r--CMakeFindEclipseCDT4.cmake4952logstatsplain -rw-r--r--CMakeFindFrameworks.cmake999logstatsplain -rw-r--r--CMakeFindJavaCommon.cmake1028logstatsplain -rw-r--r--CMakeFindKDevelop3.cmake474logstatsplain -rw-r--r--CMakeFindKate.cmake1046logstatsplain -rw-r--r--CMakeFindPackageMode.cmake6094logstatsplain -rw-r--r--CMakeFindWMake.cmake272logstatsplain -rw-r--r--CMakeFindXCode.cmake250logstatsplain -rw-r--r--CMakeForceCompiler.cmake3918logstatsplain -rw-r--r--CMakeFortranCompiler.cmake.in2530logstatsplain -rw-r--r--CMakeFortranCompilerABI.F1347logstatsplain -rw-r--r--CMakeFortranCompilerId.F.in7844logstatsplain -rw-r--r--CMakeFortranInformation.cmake9502logstatsplain -rw-r--r--CMakeGenericSystem.cmake6468logstatsplain -rw-r--r--CMakeGraphVizOptions.cmake3277logstatsplain -rw-r--r--CMakeIOSInstallCombined.cmake9542logstatsplain -rw-r--r--CMakeImportBuildSettings.cmake535logstatsplain -rw-r--r--CMakeJOMFindMake.cmake270logstatsplain -rw-r--r--CMakeJavaCompiler.cmake.in538logstatsplain -rw-r--r--CMakeJavaInformation.cmake1782logstatsplain -rw-r--r--CMakeLanguageInformation.cmake1243logstatsplain -rw-r--r--CMakeMSYSFindMake.cmake489logstatsplain -rw-r--r--CMakeMinGWFindMake.cmake800logstatsplain -rw-r--r--CMakeNMakeFindMake.cmake272logstatsplain -rw-r--r--CMakeNinjaFindMake.cmake294logstatsplain -rw-r--r--CMakePackageConfigHelpers.cmake13069logstatsplain -rw-r--r--CMakeParseArguments.cmake446logstatsplain -rw-r--r--CMakeParseImplicitLinkInfo.cmake6647logstatsplain -rw-r--r--CMakePlatformId.h.in5632logstatsplain -rw-r--r--CMakePrintHelpers.cmake4048logstatsplain -rw-r--r--CMakePrintSystemInformation.cmake2034logstatsplain -rw-r--r--CMakePushCheckState.cmake3496logstatsplain -rw-r--r--CMakeRCCompiler.cmake.in270logstatsplain -rw-r--r--CMakeRCInformation.cmake1545logstatsplain -rw-r--r--CMakeSwiftCompiler.cmake.in190logstatsplain -rw-r--r--CMakeSwiftInformation.cmake1181logstatsplain -rw-r--r--CMakeSystem.cmake.in563logstatsplain -rw-r--r--CMakeSystemSpecificInformation.cmake2390logstatsplain -rw-r--r--CMakeSystemSpecificInitialize.cmake372logstatsplain -rw-r--r--CMakeTestASM-ATTCompiler.cmake527logstatsplain -rw-r--r--CMakeTestASMCompiler.cmake865logstatsplain -rw-r--r--CMakeTestASM_MASMCompiler.cmake556logstatsplain -rw-r--r--CMakeTestASM_NASMCompiler.cmake529logstatsplain -rw-r--r--CMakeTestCCompiler.cmake3219logstatsplain -rw-r--r--CMakeTestCUDACompiler.cmake2834logstatsplain -rw-r--r--CMakeTestCXXCompiler.cmake3114logstatsplain -rw-r--r--CMakeTestCompilerCommon.cmake289logstatsplain -rw-r--r--CMakeTestFortranCompiler.cmake4341logstatsplain -rw-r--r--CMakeTestGNU.c175logstatsplain -rw-r--r--CMakeTestJavaCompiler.cmake485logstatsplain -rw-r--r--CMakeTestRCCompiler.cmake574logstatsplain -rw-r--r--CMakeTestSwiftCompiler.cmake2287logstatsplain -rw-r--r--CMakeUnixFindMake.cmake575logstatsplain -rw-r--r--CMakeVS7BackwardCompatibility.cmake965logstatsplain -rw-r--r--CMakeVerifyManifest.cmake3855logstatsplain -rw-r--r--CPack.DS_Store.in12292logstatsplain -rw-r--r--CPack.Description.plist.in438logstatsplain -rw-r--r--CPack.Info.plist.in1131logstatsplain -rwxr-xr-xCPack.OSXScriptLauncher.in29592logstatsplain -rw-r--r--CPack.OSXScriptLauncher.rsrc.in362logstatsplain -rw-r--r--CPack.OSXX11.Info.plist.in1565logstatsplain -rw-r--r--CPack.OSXX11.main.scpt.in1870logstatsplain -rwxr-xr-xCPack.RuntimeScript.in1896logstatsplain -rwxr-xr-xCPack.STGZ_Header.sh.in3855logstatsplain -rw-r--r--CPack.VolumeIcon.icns.in45739logstatsplain -rw-r--r--CPack.background.png.in47076logstatsplain -rw-r--r--CPack.cmake26037logstatsplain -rw-r--r--CPack.distribution.dist.in448logstatsplain -rw-r--r--CPackBundle.cmake2623logstatsplain -rw-r--r--CPackComponent.cmake21520logstatsplain -rw-r--r--CPackCygwin.cmake740logstatsplain -rw-r--r--CPackDMG.cmake4366logstatsplain -rw-r--r--CPackDeb.cmake39732logstatsplain -rw-r--r--CPackIFW.cmake26358logstatsplain -rw-r--r--CPackNSIS.cmake4577logstatsplain -rw-r--r--CPackPackageMaker.cmake1197logstatsplain -rw-r--r--CPackProductBuild.cmake1025logstatsplain -rw-r--r--CPackRPM.cmake105078logstatsplain -rw-r--r--CPackWIX.cmake9337logstatsplain -rw-r--r--CPackZIP.cmake987logstatsplain -rw-r--r--CTest.cmake9069logstatsplain -rw-r--r--CTestCoverageCollectGCOV.cmake10084logstatsplain -rw-r--r--CTestScriptMode.cmake523logstatsplain -rw-r--r--CTestTargets.cmake3105logstatsplain -rw-r--r--CTestUseLaunchers.cmake2862logstatsplain -rw-r--r--CheckCCompilerFlag.cmake1986logstatsplain -rw-r--r--CheckCSourceCompiles.cmake3416logstatsplain -rw-r--r--CheckCSourceRuns.cmake3392logstatsplain -rw-r--r--CheckCXXCompilerFlag.cmake1971logstatsplain -rw-r--r--CheckCXXSourceCompiles.cmake3447logstatsplain -rw-r--r--CheckCXXSourceRuns.cmake3422logstatsplain -rw-r--r--CheckCXXSymbolExists.cmake1644logstatsplain -rw-r--r--CheckForPthreads.c706logstatsplain -rw-r--r--CheckFortranCompilerFlag.cmake2111logstatsplain -rw-r--r--CheckFortranFunctionExists.cmake2190logstatsplain -rw-r--r--CheckFortranSourceCompiles.cmake3762logstatsplain -rw-r--r--CheckFunctionExists.c421logstatsplain -rw-r--r--CheckFunctionExists.cmake3391logstatsplain -rw-r--r--CheckIncludeFile.c.in130logstatsplain -rw-r--r--CheckIncludeFile.cmake3219logstatsplain -rw-r--r--CheckIncludeFile.cxx.in65logstatsplain -rw-r--r--CheckIncludeFileCXX.cmake3276logstatsplain -rw-r--r--CheckIncludeFiles.cmake3756logstatsplain -rw-r--r--CheckLanguage.cmake2320logstatsplain -rw-r--r--CheckLibraryExists.cmake3177logstatsplain -rw-r--r--CheckLibraryExists.lists.in298logstatsplain -rw-r--r--CheckPrototypeDefinition.c.in514logstatsplain -rw-r--r--CheckPrototypeDefinition.cmake3904logstatsplain -rw-r--r--CheckSizeOf.cmake348logstatsplain -rw-r--r--CheckStructHasMember.cmake2202logstatsplain -rw-r--r--CheckSymbolExists.cmake4407logstatsplain -rw-r--r--CheckTypeSize.c.in801logstatsplain -rw-r--r--CheckTypeSize.cmake9307logstatsplain -rw-r--r--CheckTypeSizeMap.cmake.in31logstatsplain -rw-r--r--CheckVariableExists.c374logstatsplain -rw-r--r--CheckVariableExists.cmake2408logstatsplain d---------Compiler6979logstatsplain d---------CompilerId364logstatsplain -rw-r--r--Dart.cmake3720logstatsplain -rw-r--r--DartConfiguration.tcl.in3398logstatsplain -rw-r--r--DeployQt4.cmake14513logstatsplain -rw-r--r--Documentation.cmake1063logstatsplain -rw-r--r--DummyCXXFile.cxx27logstatsplain -rw-r--r--ExternalData.cmake43309logstatsplain -rw-r--r--ExternalData_config.cmake.in355logstatsplain -rw-r--r--ExternalProject-download.cmake.in3694logstatsplain -rw-r--r--ExternalProject-verify.cmake.in904logstatsplain -rw-r--r--ExternalProject.cmake88165logstatsplain -rw-r--r--FLTKCompatibility.cmake170logstatsplain -rw-r--r--FeatureSummary.cmake22377logstatsplain -rw-r--r--FindALSA.cmake1619logstatsplain -rw-r--r--FindASPELL.cmake924logstatsplain -rw-r--r--FindAVIFile.cmake1256logstatsplain -rw-r--r--FindArmadillo.cmake3398logstatsplain -rw-r--r--FindBISON.cmake9146logstatsplain -rw-r--r--FindBLAS.cmake19492logstatsplain -rw-r--r--FindBZip2.cmake3174logstatsplain -rw-r--r--FindBacktrace.cmake3343logstatsplain -rw-r--r--FindBoost.cmake83623logstatsplain -rw-r--r--FindBullet.cmake2725logstatsplain -rw-r--r--FindCABLE.cmake2491logstatsplain -rw-r--r--FindCUDA.cmake82134logstatsplain d---------FindCUDA184logstatsplain -rw-r--r--FindCURL.cmake1767logstatsplain -rw-r--r--FindCVS.cmake1831logstatsplain -rw-r--r--FindCoin3D.cmake2180logstatsplain -rw-r--r--FindCups.cmake2532logstatsplain -rw-r--r--FindCurses.cmake6735logstatsplain -rw-r--r--FindCxxTest.cmake7865logstatsplain -rw-r--r--FindCygwin.cmake490logstatsplain -rw-r--r--FindDCMTK.cmake10697logstatsplain -rw-r--r--FindDart.cmake813logstatsplain -rw-r--r--FindDevIL.cmake2434logstatsplain -rw-r--r--FindDoxygen.cmake5346logstatsplain -rw-r--r--FindEXPAT.cmake1936logstatsplain -rw-r--r--FindFLEX.cmake7240logstatsplain -rw-r--r--FindFLTK.cmake9747logstatsplain -rw-r--r--FindFLTK2.cmake7697logstatsplain -rw-r--r--FindFreetype.cmake4301logstatsplain -rw-r--r--FindGCCXML.cmake542logstatsplain -rw-r--r--FindGDAL.cmake2919logstatsplain -rw-r--r--FindGIF.cmake3093logstatsplain -rw-r--r--FindGLEW.cmake2158logstatsplain -rw-r--r--FindGLU.cmake555logstatsplain -rw-r--r--FindGLUT.cmake4567logstatsplain -rw-r--r--FindGSL.cmake8831logstatsplain -rw-r--r--FindGTK.cmake3787logstatsplain -rw-r--r--FindGTK2.cmake36709logstatsplain -rw-r--r--FindGTest.cmake9156logstatsplain -rw-r--r--FindGettext.cmake7934logstatsplain -rw-r--r--FindGit.cmake1968logstatsplain -rw-r--r--FindGnuTLS.cmake1758logstatsplain -rw-r--r--FindGnuplot.cmake1488logstatsplain -rw-r--r--FindHDF5.cmake33180logstatsplain -rw-r--r--FindHSPELL.cmake1516logstatsplain -rw-r--r--FindHTMLHelp.cmake1427logstatsplain -rw-r--r--FindHg.cmake2966logstatsplain -rw-r--r--FindICU.cmake12893logstatsplain -rw-r--r--FindIce.cmake21940logstatsplain -rw-r--r--FindIcotool.cmake1154logstatsplain -rw-r--r--FindImageMagick.cmake10705logstatsplain -rw-r--r--FindIntl.cmake1884logstatsplain -rw-r--r--FindJNI.cmake11588logstatsplain -rw-r--r--FindJPEG.cmake1093logstatsplain -rw-r--r--FindJasper.cmake1581logstatsplain -rw-r--r--FindJava.cmake9187logstatsplain -rw-r--r--FindKDE3.cmake10191logstatsplain -rw-r--r--FindKDE4.cmake3114logstatsplain -rw-r--r--FindLAPACK.cmake9968logstatsplain -rw-r--r--FindLATEX.cmake6273logstatsplain -rw-r--r--FindLTTngUST.cmake3543logstatsplain -rw-r--r--FindLibArchive.cmake2193logstatsplain -rw-r--r--FindLibLZMA.cmake3185logstatsplain -rw-r--r--FindLibXml2.cmake2157logstatsplain -rw-r--r--FindLibXslt.cmake2474logstatsplain -rw-r--r--FindLua.cmake6978logstatsplain -rw-r--r--FindLua50.cmake2425logstatsplain -rw-r--r--FindLua51.cmake2271logstatsplain -rw-r--r--FindMFC.cmake1855logstatsplain -rw-r--r--FindMPEG.cmake1142logstatsplain -rw-r--r--FindMPEG2.cmake1407logstatsplain -rw-r--r--FindMPI.cmake30112logstatsplain -rw-r--r--FindMatlab.cmake49866logstatsplain -rw-r--r--FindMotif.cmake789logstatsplain -rw-r--r--FindOpenAL.cmake3550logstatsplain -rw-r--r--FindOpenCL.cmake4171logstatsplain -rw-r--r--FindOpenGL.cmake4903logstatsplain -rw-r--r--FindOpenMP.cmake10584logstatsplain -rw-r--r--FindOpenSSL.cmake14377logstatsplain -rw-r--r--FindOpenSceneGraph.cmake7253logstatsplain -rw-r--r--FindOpenThreads.cmake3786logstatsplain -rw-r--r--FindPHP4.cmake2030logstatsplain -rw-r--r--FindPNG.cmake5242logstatsplain -rw-r--r--FindPackageHandleStandardArgs.cmake14768logstatsplain -rw-r--r--FindPackageMessage.cmake1564logstatsplain -rw-r--r--FindPerl.cmake2407logstatsplain -rw-r--r--FindPerlLibs.cmake7716logstatsplain -rw-r--r--FindPhysFS.cmake1109logstatsplain -rw-r--r--FindPike.cmake790logstatsplain -rw-r--r--FindPkgConfig.cmake24816logstatsplain -rw-r--r--FindPostgreSQL.cmake7659logstatsplain -rw-r--r--FindProducer.cmake2343logstatsplain -rw-r--r--FindProtobuf.cmake13829logstatsplain -rw-r--r--FindPythonInterp.cmake6222logstatsplain -rw-r--r--FindPythonLibs.cmake12991logstatsplain -rw-r--r--FindQt.cmake6285logstatsplain -rw-r--r--FindQt3.cmake9302logstatsplain -rw-r--r--FindQt4.cmake53920logstatsplain -rw-r--r--FindQuickTime.cmake884logstatsplain -rw-r--r--FindRTI.cmake3196logstatsplain -rw-r--r--FindRuby.cmake10675logstatsplain -rw-r--r--FindSDL.cmake7299logstatsplain -rw-r--r--FindSDL_image.cmake3806logstatsplain -rw-r--r--FindSDL_mixer.cmake3806logstatsplain -rw-r--r--FindSDL_net.cmake3619logstatsplain -rw-r--r--FindSDL_sound.cmake13351logstatsplain -rw-r--r--FindSDL_ttf.cmake3619logstatsplain -rw-r--r--FindSWIG.cmake2437logstatsplain -rw-r--r--FindSelfPackers.cmake1475logstatsplain -rw-r--r--FindSquish.cmake10018logstatsplain -rw-r--r--FindSubversion.cmake5487logstatsplain -rw-r--r--FindTCL.cmake7510logstatsplain -rw-r--r--FindTIFF.cmake3345logstatsplain -rw-r--r--FindTclStub.cmake4448logstatsplain -rw-r--r--FindTclsh.cmake3308logstatsplain -rw-r--r--FindThreads.cmake7262logstatsplain -rw-r--r--FindUnixCommands.cmake1369logstatsplain -rw-r--r--FindVulkan.cmake1930logstatsplain -rw-r--r--FindWget.cmake757logstatsplain -rw-r--r--FindWish.cmake2666logstatsplain -rw-r--r--FindX11.cmake19809logstatsplain -rw-r--r--FindXCTest.cmake5938logstatsplain -rw-r--r--FindXMLRPC.cmake4530logstatsplain -rw-r--r--FindXalanC.cmake5818logstatsplain -rw-r--r--FindXercesC.cmake4865logstatsplain -rw-r--r--FindZLIB.cmake4734logstatsplain -rw-r--r--Findosg.cmake1833logstatsplain -rw-r--r--FindosgAnimation.cmake1812logstatsplain -rw-r--r--FindosgDB.cmake1707logstatsplain -rw-r--r--FindosgFX.cmake1703logstatsplain -rw-r--r--FindosgGA.cmake1715logstatsplain -rw-r--r--FindosgIntrospection.cmake1911logstatsplain -rw-r--r--FindosgManipulator.cmake1883logstatsplain -rw-r--r--FindosgParticle.cmake1809logstatsplain -rw-r--r--FindosgPresentation.cmake1979logstatsplain -rw-r--r--FindosgProducer.cmake1819logstatsplain -rw-r--r--FindosgQt.cmake1763logstatsplain -rw-r--r--FindosgShadow.cmake1775logstatsplain -rw-r--r--FindosgSim.cmake1717logstatsplain -rw-r--r--FindosgTerrain.cmake1783logstatsplain -rw-r--r--FindosgText.cmake1717logstatsplain -rw-r--r--FindosgUtil.cmake1727logstatsplain -rw-r--r--FindosgViewer.cmake1761logstatsplain -rw-r--r--FindosgVolume.cmake1761logstatsplain -rw-r--r--FindosgWidget.cmake1814logstatsplain -rw-r--r--Findosg_functions.cmake2660logstatsplain -rw-r--r--FindwxWidgets.cmake39495logstatsplain -rw-r--r--FindwxWindows.cmake24355logstatsplain