1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmMakefileLibraryTargetGenerator.h,v $
6 Date: $Date: 2007/08/14 18:12:08 $
7 Version: $Revision: 1.5 $
9 Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
10 See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notices for more information.
16 =========================================================================*/
17 #ifndef cmMakefileLibraryTargetGenerator_h
18 #define cmMakefileLibraryTargetGenerator_h
20 #include "cmMakefileTargetGenerator.h"
22 class cmMakefileLibraryTargetGenerator
:
23 public cmMakefileTargetGenerator
26 cmMakefileLibraryTargetGenerator();
28 /* the main entry point for this class. Writes the Makefiles associated
30 virtual void WriteRuleFiles();
33 void WriteStaticLibraryRules();
34 void WriteSharedLibraryRules(bool relink
);
35 void WriteModuleLibraryRules(bool relink
);
36 void WriteLibraryRules(const char *linkRule
, const char *extraFlags
,
38 // MacOSX Framework support methods
39 void WriteFrameworkRules(bool relink
);
40 void CreateFramework(std::string
& targetName
,
41 std::string
& outpath
);
42 void CreateFrameworkLinksAndDirs(std::string
& targetName
,
45 void CopyFrameworkSources(std::string
& targetName
,
48 const char* propertyName
,