diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-02-19 22:56:14 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-02-19 22:56:14 (GMT) |
commit | f5e672fed1487253b7debd6e06a536c5c3a0ed8c (patch) | |
tree | 2339237d39979d8b76496e20a1b6f5a9c2d03a1a /Source/cmMSDotNETGenerator.h | |
parent | b730794058d6f9c9ec7f7625867a813221320c03 (diff) | |
download | CMake-f5e672fed1487253b7debd6e06a536c5c3a0ed8c.zip CMake-f5e672fed1487253b7debd6e06a536c5c3a0ed8c.tar.gz CMake-f5e672fed1487253b7debd6e06a536c5c3a0ed8c.tar.bz2 |
ENH: getting closer
Diffstat (limited to 'Source/cmMSDotNETGenerator.h')
-rw-r--r-- | Source/cmMSDotNETGenerator.h | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/Source/cmMSDotNETGenerator.h b/Source/cmMSDotNETGenerator.h index 7a9be42..ad8286c 100644 --- a/Source/cmMSDotNETGenerator.h +++ b/Source/cmMSDotNETGenerator.h @@ -30,8 +30,6 @@ class cmMSDotNETGenerator : public cmMakefileGenerator { public: - enum BuildType {STATIC_LIBRARY, DLL, EXECUTABLE, WIN32_EXECUTABLE, UTILITY}; - ///! Constructor sets the generation of SLN files on. cmMSDotNETGenerator(); @@ -69,11 +67,6 @@ public: virtual void ComputeSystemInfo(); protected: - /** - * Specify the type of the build: static, dll, or executable. - */ - void SetBuildType(BuildType,const char *name); - /** * Return array of created VCProj names in a STL vector. * Each executable must have its own dsp. @@ -142,11 +135,22 @@ private: const char* name, const char* path, const std::vector<std::string>& dependencies); void WriteSLNFooter(std::ostream& fout); - void OutputBuildTool(std::ostream& fout, const char* libname, const cmTarget& t); + void OutputBuildTool(std::ostream& fout, const char* configName, + const char* libname, const cmTarget& t); + void OutputLibraryDirectories(std::ostream& fout, + const char* configName, + const char* libName, + const cmTarget &target); + void OutputLibraries(std::ostream& fout, + const char* configName, + const char* libName, + const cmTarget &target); + private: std::map<cmStdString, cmStdString> m_GUIDMap; - BuildType m_BuildType; bool m_BuildSLN; + std::string m_LibraryOutputPath; + std::string m_ExecutableOutputPath; std::string m_IncludeOptions; std::vector<std::string> m_Configurations; std::string m_VCProjHeaderTemplate; |