CMakeCommandLineInfo.h 961 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. // CMakeCommandLineInfo.h : main header file for the command line arguments
  2. //
  3. #if !defined(CMAKECOMMANDLINEINFO_H)
  4. #define CMAKECOMMANDLINEINFO_H
  5. #if _MSC_VER > 1000
  6. #pragma once
  7. #endif // _MSC_VER > 1000
  8. #ifndef __AFXWIN_H__
  9. #error include 'stdafx.h' before including this file for PCH
  10. #endif
  11. ///////////////////////////////////////////////////////////////
  12. // CMakeCommandLineInfo:
  13. // See CMakeCommandLineInfo.cpp for the implementation of this class
  14. //
  15. class CMakeCommandLineInfo : public CCommandLineInfo
  16. {
  17. // Construction
  18. public:
  19. CMakeCommandLineInfo();
  20. // Attributes
  21. public:
  22. CString m_WhereSource;
  23. CString m_WhereBuild;
  24. BOOL m_AdvancedValues;
  25. CString m_GeneratorChoiceString;
  26. // Operations
  27. public:
  28. void ParseParam(const TCHAR* pszParam, BOOL bFlag, BOOL bLast);
  29. // Implementation
  30. public:
  31. virtual ~CMakeCommandLineInfo();
  32. protected:
  33. static int GetBoolValue(const CString&);
  34. };
  35. #endif // !defined(CMAKECOMMANDLINEINFO_H)