diff options
author | Sebastien Barre <sebastien.barre@kitware.com> | 2001-08-21 21:41:12 (GMT) |
---|---|---|
committer | Sebastien Barre <sebastien.barre@kitware.com> | 2001-08-21 21:41:12 (GMT) |
commit | 9b259810684b1dc791b71ca45014340e48c8e343 (patch) | |
tree | dc4602455a1d64b8ef53d154151bebe7a96a499a /Source/MFCDialog/CMakeCommandLineInfo.h | |
parent | a159c2d306368bddae574a83464cff5e00230369 (diff) | |
download | CMake-9b259810684b1dc791b71ca45014340e48c8e343.zip CMake-9b259810684b1dc791b71ca45014340e48c8e343.tar.gz CMake-9b259810684b1dc791b71ca45014340e48c8e343.tar.bz2 |
CMakeSetup now handles command-line arguments (ex: /H=source_dir /B=build_dir)
Diffstat (limited to 'Source/MFCDialog/CMakeCommandLineInfo.h')
-rw-r--r-- | Source/MFCDialog/CMakeCommandLineInfo.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/Source/MFCDialog/CMakeCommandLineInfo.h b/Source/MFCDialog/CMakeCommandLineInfo.h new file mode 100644 index 0000000..997f25c --- /dev/null +++ b/Source/MFCDialog/CMakeCommandLineInfo.h @@ -0,0 +1,40 @@ +// CMakeCommandLineInfo.h : main header file for the command line arguments +// + +#if !defined(CMAKECOMMANDLINEINFO_H) +#define CMAKECOMMANDLINEINFO_H + +#if _MSC_VER > 1000 +#pragma once +#endif // _MSC_VER > 1000 + +#ifndef __AFXWIN_H__ +#error include 'stdafx.h' before including this file for PCH +#endif + +/////////////////////////////////////////////////////////////// +// CMakeCommandLineInfo: +// See CMakeCommandLineInfo.cpp for the implementation of this class +// + +class CMakeCommandLineInfo : public CCommandLineInfo +{ + // Construction +public: + CMakeCommandLineInfo(); + + // Attributes +public: + CString m_WhereSource; + CString m_WhereBuild; + + // Operations +public: + void ParseParam(const TCHAR* pszParam, BOOL bFlag, BOOL bLast); + + // Implementation +public: + virtual ~CMakeCommandLineInfo(); +}; + +#endif // !defined(CMAKECOMMANDLINEINFO_H) |