summaryrefslogtreecommitdiffstats
path: root/Source/cmDSPWriter.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-04-11 18:59:02 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-04-11 18:59:02 (GMT)
commit865ec96644ae08e66b9a4a15bd7cddde46d2e2b0 (patch)
tree3f1a58bd35606684aa8501c2e629f24855e37421 /Source/cmDSPWriter.h
parent7b47a5d2ef1bb303b25a051d588a54616e44cbe9 (diff)
downloadCMake-865ec96644ae08e66b9a4a15bd7cddde46d2e2b0.zip
CMake-865ec96644ae08e66b9a4a15bd7cddde46d2e2b0.tar.gz
CMake-865ec96644ae08e66b9a4a15bd7cddde46d2e2b0.tar.bz2
major changes to support multiple libraries and source lists
Diffstat (limited to 'Source/cmDSPWriter.h')
-rw-r--r--Source/cmDSPWriter.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/Source/cmDSPWriter.h b/Source/cmDSPWriter.h
index 9d82696..83a5707 100644
--- a/Source/cmDSPWriter.h
+++ b/Source/cmDSPWriter.h
@@ -37,11 +37,11 @@ public:
/**
* Specify the type of the build: static, dll, or executable.
*/
- void SetBuildType(BuildType);
+ void SetBuildType(BuildType,const char *name);
- BuildType GetBuildType()
+ BuildType GetLibraryBuildType()
{
- return m_BuildType;
+ return m_LibraryBuildType;
}
@@ -61,20 +61,20 @@ public:
{
return m_Makefile;
}
- bool NeedsDependencies(const char* dspname);
+
private:
std::string m_DSPHeaderTemplate;
std::string m_DSPFooterTemplate;
std::vector<std::string> m_CreatedProjectNames;
- void CreateExecutableDSPFiles();
- void CreateSingleDSP();
- void WriteDSPFile(std::ostream& fout);
+ void CreateSingleDSP(const char *lname, const cmTarget &tgt);
+ void WriteDSPFile(std::ostream& fout,
+ const char *libName, const cmTarget &tgt);
void WriteDSPBeginGroup(std::ostream& fout,
const char* group,
const char* filter);
void WriteDSPEndGroup(std::ostream& fout);
- void WriteDSPHeader(std::ostream& fout);
+ void WriteDSPHeader(std::ostream& fout, const char *libName);
void WriteDSPBuildRule(std::ostream& fout, const char*);
void WriteDSPBuildRule(std::ostream& fout);
void WriteDSPFooter(std::ostream& fout);
@@ -86,9 +86,8 @@ private:
std::string m_IncludeOptions;
std::string m_LibraryOptions;
- std::string m_OutputLibName;
cmMakefile* m_Makefile;
- BuildType m_BuildType;
+ BuildType m_LibraryBuildType;
std::vector<std::string> m_Configurations;
};