cmWindowsConfigure.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. #ifndef cmWindowsConfigure_h
  12. #define cmWindowsConfigure_h
  13. #include "cmStandardIncludes.h"
  14. /** \class cmWindowsConfigure
  15. * \brief Configure the build process on Windows systems.
  16. *
  17. * cmWindowsConfigure configures the build process
  18. * on windows where the Unix autoconf configure can not be used.
  19. * The system specific .h files normally generated by autoconf
  20. * should be generated by sub-classes of this class.
  21. */
  22. class cmWindowsConfigure
  23. {
  24. public:
  25. /**
  26. * Set the path to the top level of the source directory.
  27. */
  28. void SetWhereSource(const char* dir)
  29. {
  30. m_WhereSource = dir;
  31. }
  32. /**
  33. * Set the path to the top level of the build directory.
  34. */
  35. void SetWhereBuild(const char* dir)
  36. {
  37. m_WhereBuild = dir;
  38. }
  39. /**
  40. * Perform the configure process.
  41. */
  42. virtual bool Configure(const char* input);
  43. protected:
  44. std::string m_WhereSource;
  45. std::string m_WhereBuild;
  46. };
  47. #endif