cmDSWMakefile.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /*=========================================================================
  2. Program: Insight Segmentation & Registration Toolkit
  3. Module: $RCSfile$
  4. Language: C++
  5. Date: $Date$
  6. Version: $Revision$
  7. Copyright (c) 2000 National Library of Medicine
  8. All rights reserved.
  9. See COPYRIGHT.txt for copyright details.
  10. =========================================================================*/
  11. /**
  12. * cmDSWMakefile - class to write a microsoft DSW file.
  13. */
  14. #ifndef cmDSWMakefile_h
  15. #define cmDSWMakefile_h
  16. #include "cmStandardIncludes.h"
  17. #include "cmMakefile.h"
  18. class cmDSPMakefile;
  19. class cmMSProjectGenerator;
  20. class cmDSWMakefile
  21. {
  22. public:
  23. cmDSWMakefile(cmMakefile*);
  24. virtual void OutputDSWFile();
  25. private:
  26. void FindAllCMakeListsFiles(const char* subdir,
  27. std::vector<cmMSProjectGenerator*>&);
  28. void WriteDSWFile(std::ostream& fout);
  29. void WriteDSWHeader(std::ostream& fout);
  30. void WriteProject(std::ostream& fout,
  31. const char* name, const char* path,
  32. cmDSPMakefile* project);
  33. void WriteDSWFooter(std::ostream& fout);
  34. cmMakefile* m_Makefile;
  35. };
  36. #endif