CMakeCommandLineInfo.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. /*=========================================================================
  2. Program: Insight Segmentation & Registration Toolkit
  3. Module: $RCSfile$
  4. Language: C++
  5. Date: $Date$
  6. Version: $Revision$
  7. Copyright (c) 2002 Insight Consortium. All rights reserved.
  8. See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
  9. This software is distributed WITHOUT ANY WARRANTY; without even
  10. the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  11. PURPOSE. See the above copyright notices for more information.
  12. =========================================================================*/
  13. // CMakeCommandLineInfo.h : main header file for the command line arguments
  14. //
  15. #if !defined(CMAKECOMMANDLINEINFO_H)
  16. #define CMAKECOMMANDLINEINFO_H
  17. #if _MSC_VER > 1000
  18. #pragma once
  19. #endif // _MSC_VER > 1000
  20. #ifndef __AFXWIN_H__
  21. #error include 'stdafx.h' before including this file for PCH
  22. #endif
  23. ///////////////////////////////////////////////////////////////
  24. // CMakeCommandLineInfo:
  25. // See CMakeCommandLineInfo.cpp for the implementation of this class
  26. //
  27. class CMakeCommandLineInfo : public CCommandLineInfo
  28. {
  29. // Construction
  30. public:
  31. CMakeCommandLineInfo();
  32. // Attributes
  33. public:
  34. CString m_WhereSource;
  35. CString m_WhereBuild;
  36. BOOL m_AdvancedValues;
  37. CString m_GeneratorChoiceString;
  38. // Operations
  39. public:
  40. void ParseParam(const TCHAR* pszParam, BOOL bFlag, BOOL bLast);
  41. // Implementation
  42. public:
  43. virtual ~CMakeCommandLineInfo();
  44. protected:
  45. static int GetBoolValue(const CString&);
  46. };
  47. #endif // !defined(CMAKECOMMANDLINEINFO_H)