diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-06-06 17:48:13 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-06-06 17:48:13 (GMT) |
commit | 38a164d254a557bb46134c049bd809a487e325b4 (patch) | |
tree | 00e6972d5d90f61cb98b20e2f218fc3ebf2d9c51 /Source/cmDSPWriter.cxx | |
parent | b31fcf1cacf720bcd02ee9ea657c2a26be54f064 (diff) | |
download | CMake-38a164d254a557bb46134c049bd809a487e325b4.zip CMake-38a164d254a557bb46134c049bd809a487e325b4.tar.gz CMake-38a164d254a557bb46134c049bd809a487e325b4.tar.bz2 |
ENH: rename DSWMakefile and DSPMakefile to DSWWriter and DSPWriter
Diffstat (limited to 'Source/cmDSPWriter.cxx')
-rw-r--r-- | Source/cmDSPWriter.cxx | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/Source/cmDSPWriter.cxx b/Source/cmDSPWriter.cxx index 505e36d..3aa408f 100644 --- a/Source/cmDSPWriter.cxx +++ b/Source/cmDSPWriter.cxx @@ -38,23 +38,23 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. =========================================================================*/ -#include "cmDSPMakefile.h" +#include "cmDSPWriter.h" #include "cmStandardIncludes.h" #include "cmSystemTools.h" #include "cmRegularExpression.h" #include "cmCacheManager.h" -cmDSPMakefile::~cmDSPMakefile() +cmDSPWriter::~cmDSPWriter() { } -cmDSPMakefile::cmDSPMakefile(cmMakefile*mf) +cmDSPWriter::cmDSPWriter(cmMakefile*mf) { m_Makefile = mf; } -void cmDSPMakefile::OutputDSPFile() +void cmDSPWriter::OutputDSPFile() { // If not an in source build, then create the output directory if(strcmp(m_Makefile->GetStartOutputDirectory(), @@ -129,7 +129,7 @@ void cmDSPMakefile::OutputDSPFile() } } -void cmDSPMakefile::CreateSingleDSP(const char *lname, cmTarget &target) +void cmDSPWriter::CreateSingleDSP(const char *lname, cmTarget &target) { std::string fname; fname = m_Makefile->GetStartOutputDirectory(); @@ -147,7 +147,7 @@ void cmDSPMakefile::CreateSingleDSP(const char *lname, cmTarget &target) } -void cmDSPMakefile::AddDSPBuildRule(cmSourceGroup& sourceGroup) +void cmDSPWriter::AddDSPBuildRule(cmSourceGroup& sourceGroup) { std::string dspname = *(m_CreatedProjectNames.end()-1); dspname += ".dsp"; @@ -177,7 +177,7 @@ void cmDSPMakefile::AddDSPBuildRule(cmSourceGroup& sourceGroup) } -void cmDSPMakefile::WriteDSPFile(std::ostream& fout, +void cmDSPWriter::WriteDSPFile(std::ostream& fout, const char *libName, cmTarget &target) { @@ -301,7 +301,7 @@ void cmDSPMakefile::WriteDSPFile(std::ostream& fout, } -void cmDSPMakefile::WriteCustomRule(std::ostream& fout, +void cmDSPWriter::WriteCustomRule(std::ostream& fout, const char* source, const char* command, const std::set<std::string>& depends, @@ -359,7 +359,7 @@ void cmDSPMakefile::WriteCustomRule(std::ostream& fout, } -void cmDSPMakefile::WriteDSPBeginGroup(std::ostream& fout, +void cmDSPWriter::WriteDSPBeginGroup(std::ostream& fout, const char* group, const char* filter) { @@ -368,7 +368,7 @@ void cmDSPMakefile::WriteDSPBeginGroup(std::ostream& fout, } -void cmDSPMakefile::WriteDSPEndGroup(std::ostream& fout) +void cmDSPWriter::WriteDSPEndGroup(std::ostream& fout) { fout << "# End Group\n"; } @@ -376,7 +376,7 @@ void cmDSPMakefile::WriteDSPEndGroup(std::ostream& fout) -void cmDSPMakefile::SetBuildType(BuildType b, const char *libName) +void cmDSPWriter::SetBuildType(BuildType b, const char *libName) { std::string root= cmCacheManager::GetInstance()->GetCacheValue("CMAKE_ROOT"); const char *def= m_Makefile->GetDefinition( "MSPROJECT_TEMPLATE_DIRECTORY"); @@ -450,7 +450,7 @@ void cmDSPMakefile::SetBuildType(BuildType b, const char *libName) } } -void cmDSPMakefile::WriteDSPHeader(std::ostream& fout, const char *libName, +void cmDSPWriter::WriteDSPHeader(std::ostream& fout, const char *libName, const cmTarget &target) { // determine the link directories @@ -638,7 +638,7 @@ void cmDSPMakefile::WriteDSPHeader(std::ostream& fout, const char *libName, } -void cmDSPMakefile::WriteDSPFooter(std::ostream& fout) +void cmDSPWriter::WriteDSPFooter(std::ostream& fout) { std::ifstream fin(m_DSPFooterTemplate.c_str()); if(!fin) |