cmWindowsConfigure.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. /**
  24. * Set the path to the top level of the source directory
  25. */
  26. void SetWhereSource(const char* dir)
  27. {
  28. m_WhereSource = dir;
  29. }
  30. /**
  31. * Set the path to the top level of the build directory
  32. */
  33. void SetWhereBuild(const char* dir)
  34. {
  35. m_WhereBuild = dir;
  36. }
  37. virtual void Configure() = 0;
  38. protected:
  39. std::string m_WhereSource;
  40. std::string m_WhereBuild;
  41. };
  42. #endif