cmWindowsConfigure.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. * cmWindowsConfigure : a class that configures the build
  13. * on windows where autoconf configure can not be used.
  14. * The system specific .h files normal generated by autoconf
  15. * should be generated by sub-classes of this class.
  16. */
  17. #ifndef cmWindowsConfigure_h
  18. #define cmWindowsConfigure_h
  19. #include <string>
  20. class cmWindowsConfigure
  21. {
  22. public:
  23. void SetWhereSource(const char* dir)
  24. {
  25. m_WhereSource = dir;
  26. }
  27. void SetWhereBuild(const char* dir)
  28. {
  29. m_WhereBuild = dir;
  30. }
  31. virtual void Configure() = 0;
  32. protected:
  33. std::string m_WhereSource;
  34. std::string m_WhereBuild;
  35. };
  36. #endif