25 :
Compiler(
_(
"IAR ") + arch +
_(
" Compiler"),
_T(
"iar") + arch)
44 if (platform::windows)
47 #ifdef __WXMSW__ // for wxRegKey 49 key.
SetName(
wxT(
"HKEY_LOCAL_MACHINE\\Software\\IAR Systems\\Installed Products"));
76 wxDir dir(env_path +
wxT(
"\\IAR Systems"));
117 wxT(
"devices") + wxFILE_SEP_PATH +
wxT(
"_generic") + wxFILE_SEP_PATH +
118 wxT(
"lnk51ew_plain.xcl\""));
wxString GetName(bool bShortPrefix=true) const
bool GetFirst(wxString *filename, const wxString &filespec=wxEmptyString, int flags=wxDIR_DEFAULT) const
bool wxFileExists(const wxString &filename)
bool GetFirstKey(wxString &strKeyName, long &lIndex)
virtual AutoDetectResult AutoDetectInstallationDir()
Try to auto-detect the compiler's installation directory.
bool wxDirExists(const wxString &dirname)
virtual void Reset()
Reset settings to defaults.
virtual void AddIncludeDir(const wxString &option)
bool QueryValue(const wxString &szValue, wxString &strValue, bool raw) const
CompilerPrograms m_Programs
bool IsFileExecutable() const
virtual void AddCompilerOption(const wxString &option)
virtual void AddLibDir(const wxString &option)
CompilerIAR(wxString arch)
const wxString & _(const wxString &string)
Abstract base class for compilers.
bool GetNext(wxString *filename) const
bool GetNextKey(wxString &strKeyName, long &lIndex) const
size_t Add(const wxString &str, size_t copies=1)
bool StartsWith(const wxString &prefix, wxString *rest=NULL) const
bool Open(AccessMode mode=Write)
char * wxGetenv(const char *name)
virtual void AddLinkerOption(const wxString &option)
void SetName(const wxString &strKey)
virtual Compiler * CreateCopy()
Implement this in new compilers, to return a new copy.