21 :
Compiler(
_(
"Microsoft Visual C++ 2005/2008"),
_T(
"msvc8"))
76 idepath = Programs + _T(
"\\Microsoft Visual Studio 9.0\\Common7\\IDE");
79 m_MasterPath = Programs + _T(
"\\Microsoft Visual Studio 8\\VC");
80 idepath = Programs + _T(
"\\Microsoft Visual Studio 8\\Common7\\IDE");
86 bool sdkfound =
false;
95 key.
SetName(
_T(
"HKEY_CURRENT_USER\\Software\\Microsoft\\Win32SDK\\Directories"));
105 wxString msPsdkKeyName[2] = {
_T(
"HKEY_CURRENT_USER\\Software\\Microsoft\\MicrosoftSDK\\InstalledSDKs"),
106 _T(
"HKEY_CURRENT_USER\\Software\\Microsoft\\Microsoft SDKs\\Windows") };
107 wxString msPsdkKeyValue[2] = {
_T(
"Install Dir"),
_T(
"InstallationFolder") };
108 for (
int i = 0; i < 2; ++i)
122 (subkey.QueryValue(msPsdkKeyValue[i], dir), !dir.
IsEmpty()) &&
144 dir =
wxT(
"C:\\Program Files");
146 dir +=
wxT(
"\\Microsoft SDKs\\Windows\\v");
148 for (
size_t i = 0; i < vers.
GetCount(); ++i)
177 key.
SetName(
_T(
"HKEY_CURRENT_USER\\Software\\Microsoft\\DebuggingTools"));
wxString GetName(bool bShortPrefix=true) const
DLLIMPORT wxArrayString GetArrayFromString(const wxString &text, const wxString &separator=DEFAULT_ARRAY_SEP, bool trimSpaces=true)
bool wxGetEnv(const wxString &var, wxString *value)
bool wxFileExists(const wxString &filename)
bool GetFirstKey(wxString &strKeyName, long &lIndex)
bool wxDirExists(const wxString &dirname)
virtual void Reset()
Reset settings to defaults.
virtual void AddIncludeDir(const wxString &option)
virtual AutoDetectResult AutoDetectInstallationDir()
Try to auto-detect the compiler's installation directory.
bool QueryValue(const wxString &szValue, wxString &strValue, bool raw) const
CompilerPrograms m_Programs
wxString & Remove(size_t pos)
Compiler * CreateCopy()
Implement this in new compilers, to return a new copy.
virtual void AddResourceIncludeDir(const wxString &option)
bool AppendDir(const wxString &dir)
virtual void AddLibDir(const wxString &option)
static wxFileName DirName(const wxString &dir, wxPathFormat format=wxPATH_NATIVE)
static wxUniChar GetPathSeparator(wxPathFormat format=wxPATH_NATIVE)
const wxString & _(const wxString &string)
Abstract base class for compilers.
wxString GetPath(int flags=wxPATH_GET_VOLUME, wxPathFormat format=wxPATH_NATIVE) const
bool GetNextKey(wxString &strKeyName, long &lIndex) const
size_t Add(const wxString &str, size_t copies=1)
bool Open(AccessMode mode=Write)
wxUniChar GetChar(size_t n) const
void SetName(const wxString &strKey)