Code::Blocks  SVN r11506
Classes | Namespaces | Functions | Variables
compilergcc.cpp File Reference
#include <sdk.h>
#include <wx/frame.h>
#include <wx/gauge.h>
#include <wx/listctrl.h>
#include <wx/xrc/xmlres.h>
#include <wx/sizer.h>
#include <wx/button.h>
#include <wx/stattext.h>
#include <wx/statline.h>
#include <wx/ffile.h>
#include <wx/utils.h>
#include <wx/uri.h>
#include <wx/xml/xml.h>
#include <prep.h>
#include <manager.h>
#include <sdk_events.h>
#include <pipedprocess.h>
#include <configmanager.h>
#include <compilercommandgenerator.h>
#include <debuggermanager.h>
#include <incremental_select_helper.h>
#include <logmanager.h>
#include <macrosmanager.h>
#include <projectmanager.h>
#include <editormanager.h>
#include <scriptingmanager.h>
#include <configurationpanel.h>
#include <pluginmanager.h>
#include <cbeditor.h>
#include <annoyingdialog.h>
#include <filefilters.h>
#include <infowindow.h>
#include "compilergcc.h"
#include "compileroptionsdlg.h"
#include "directcommands.h"
#include "globals.h"
#include "cbworkspace.h"
#include "cbstyledtextctrl.h"
#include "compilerMINGW.h"
#include "compilerGNUARM.h"
#include "compilerMSVC.h"
#include "compilerMSVC8.h"
#include "compilerMSVC10.h"
#include "compilerOW.h"
#include "compilerCYGWIN.h"
#include "compilerLCC.h"
#include "compilerKeilC51.h"
#include "compilerIAR.h"
#include "compilerICC.h"
#include "compilerGDC.h"
#include "compilerGNUFortran.h"
#include "compilerG95.h"
#include "compilerXML.h"
#include <scripting/bindings/sc_base_types.h>

Go to the source code of this file.

Classes

class  BuildLogger
 

Namespaces

 ScriptBindings
 

Functions

void ScriptBindings::gBuildLog (const wxString &msg)
 
static wxString getBuildTargetName (const ProjectBuildTarget *bt)
 
wxString StateToString (BuildState bs)
 

Variables

static int ScriptBindings::gBuildLogId = -1
 
const int idBuildLog = wxNewId()
 
int idTimerPollCompiler = XRCID("idTimerPollCompiler")
 
int idMenuCompile = XRCID("idCompilerMenuCompile")
 
int idMenuCompileTarget = wxNewId()
 
int idMenuCompileFromProjectManager = wxNewId()
 
int idMenuProjectCompilerOptions = wxNewId()
 
int idMenuProjectCompilerOptionsFromProjectManager = wxNewId()
 
int idMenuTargetCompilerOptions = wxNewId()
 
int idMenuTargetCompilerOptionsSub = wxNewId()
 
int idMenuCompileFile = XRCID("idCompilerMenuCompileFile")
 
int idMenuCompileFileFromProjectManager = wxNewId()
 
int idMenuCleanFileFromProjectManager = wxNewId()
 
int idMenuRebuild = XRCID("idCompilerMenuRebuild")
 
int idMenuRebuildTarget = wxNewId()
 
int idMenuRebuildFromProjectManager = wxNewId()
 
int idMenuClean = XRCID("idCompilerMenuClean")
 
int idMenuBuildWorkspace = XRCID("idCompilerMenuBuildWorkspace")
 
int idMenuRebuildWorkspace = XRCID("idCompilerMenuRebuildWorkspace")
 
int idMenuCleanWorkspace = XRCID("idCompilerMenuCleanWorkspace")
 
int idMenuCleanTarget = wxNewId()
 
int idMenuCleanFromProjectManager = wxNewId()
 
int idMenuCompileAndRun = XRCID("idCompilerMenuCompileAndRun")
 
int idMenuRun = XRCID("idCompilerMenuRun")
 
int idMenuKillProcess = XRCID("idCompilerMenuKillProcess")
 
int idMenuSelectTarget = XRCID("idCompilerMenuSelectTarget")
 
const int maxTargetInMenus = 40
 
int idMenuSelectTargetOther [maxTargetInMenus]
 
int idMenuSelectTargetDialog = XRCID("idMenuSelectTargetDialog")
 
int idMenuSelectTargetHasMore = wxNewId()
 
int idMenuNextError = XRCID("idCompilerMenuNextError")
 
int idMenuPreviousError = XRCID("idCompilerMenuPreviousError")
 
int idMenuClearErrors = XRCID("idCompilerMenuClearErrors")
 
int idMenuSettings = XRCID("idCompilerMenuSettings")
 
int idToolTarget = XRCID("idToolTarget")
 
int idGCCProcess = wxNewId()
 

Function Documentation

◆ getBuildTargetName()

static wxString getBuildTargetName ( const ProjectBuildTarget bt)
inlinestatic

◆ StateToString()

wxString StateToString ( BuildState  bs)
inline

Variable Documentation

◆ idBuildLog

const int idBuildLog = wxNewId()

Definition at line 88 of file compilergcc.cpp.

Referenced by BuildLogger::CreateControl(), and CompilerGCC::TextURL().

◆ idGCCProcess

int idGCCProcess = wxNewId()

Definition at line 211 of file compilergcc.cpp.

Referenced by CompilerGCC::DoRunQueue().

◆ idMenuBuildWorkspace

int idMenuBuildWorkspace = XRCID("idCompilerMenuBuildWorkspace")

◆ idMenuClean

int idMenuClean = XRCID("idCompilerMenuClean")

Definition at line 186 of file compilergcc.cpp.

Referenced by CompilerGCC::Dispatcher(), and CompilerGCC::OnUpdateUI().

◆ idMenuCleanFileFromProjectManager

int idMenuCleanFileFromProjectManager = wxNewId()

◆ idMenuCleanFromProjectManager

int idMenuCleanFromProjectManager = wxNewId()

◆ idMenuCleanTarget

int idMenuCleanTarget = wxNewId()

Definition at line 190 of file compilergcc.cpp.

◆ idMenuCleanWorkspace

int idMenuCleanWorkspace = XRCID("idCompilerMenuCleanWorkspace")

◆ idMenuClearErrors

int idMenuClearErrors = XRCID("idCompilerMenuClearErrors")

Definition at line 206 of file compilergcc.cpp.

Referenced by CompilerGCC::Dispatcher(), and CompilerGCC::OnUpdateUI().

◆ idMenuCompile

int idMenuCompile = XRCID("idCompilerMenuCompile")

Definition at line 173 of file compilergcc.cpp.

Referenced by CompilerGCC::Dispatcher(), and CompilerGCC::OnUpdateUI().

◆ idMenuCompileAndRun

int idMenuCompileAndRun = XRCID("idCompilerMenuCompileAndRun")

Definition at line 192 of file compilergcc.cpp.

Referenced by CompilerGCC::Dispatcher(), and CompilerGCC::OnUpdateUI().

◆ idMenuCompileFile

int idMenuCompileFile = XRCID("idCompilerMenuCompileFile")

Definition at line 180 of file compilergcc.cpp.

Referenced by CompilerGCC::Dispatcher(), and CompilerGCC::OnUpdateUI().

◆ idMenuCompileFileFromProjectManager

int idMenuCompileFileFromProjectManager = wxNewId()

◆ idMenuCompileFromProjectManager

int idMenuCompileFromProjectManager = wxNewId()

◆ idMenuCompileTarget

int idMenuCompileTarget = wxNewId()

Definition at line 174 of file compilergcc.cpp.

◆ idMenuKillProcess

int idMenuKillProcess = XRCID("idCompilerMenuKillProcess")

Definition at line 194 of file compilergcc.cpp.

Referenced by CompilerGCC::Dispatcher(), and CompilerGCC::OnUpdateUI().

◆ idMenuNextError

int idMenuNextError = XRCID("idCompilerMenuNextError")

Definition at line 204 of file compilergcc.cpp.

Referenced by CompilerGCC::Dispatcher(), and CompilerGCC::OnUpdateUI().

◆ idMenuPreviousError

int idMenuPreviousError = XRCID("idCompilerMenuPreviousError")

Definition at line 205 of file compilergcc.cpp.

Referenced by CompilerGCC::Dispatcher(), and CompilerGCC::OnUpdateUI().

◆ idMenuProjectCompilerOptions

int idMenuProjectCompilerOptions = wxNewId()

◆ idMenuProjectCompilerOptionsFromProjectManager

int idMenuProjectCompilerOptionsFromProjectManager = wxNewId()

Definition at line 177 of file compilergcc.cpp.

Referenced by CompilerGCC::BuildModuleMenu(), and CompilerGCC::Dispatcher().

◆ idMenuRebuild

int idMenuRebuild = XRCID("idCompilerMenuRebuild")

Definition at line 183 of file compilergcc.cpp.

Referenced by CompilerGCC::Dispatcher(), and CompilerGCC::OnUpdateUI().

◆ idMenuRebuildFromProjectManager

int idMenuRebuildFromProjectManager = wxNewId()

◆ idMenuRebuildTarget

int idMenuRebuildTarget = wxNewId()

Definition at line 184 of file compilergcc.cpp.

◆ idMenuRebuildWorkspace

int idMenuRebuildWorkspace = XRCID("idCompilerMenuRebuildWorkspace")

◆ idMenuRun

int idMenuRun = XRCID("idCompilerMenuRun")

Definition at line 193 of file compilergcc.cpp.

Referenced by CompilerGCC::Dispatcher(), and CompilerGCC::OnUpdateUI().

◆ idMenuSelectTarget

int idMenuSelectTarget = XRCID("idCompilerMenuSelectTarget")

Definition at line 195 of file compilergcc.cpp.

Referenced by CompilerGCC::BuildMenu(), and CompilerGCC::OnUpdateUI().

◆ idMenuSelectTargetDialog

int idMenuSelectTargetDialog = XRCID("idMenuSelectTargetDialog")

◆ idMenuSelectTargetHasMore

int idMenuSelectTargetHasMore = wxNewId()

Definition at line 202 of file compilergcc.cpp.

Referenced by CompilerGCC::DoRecreateTargetMenu().

◆ idMenuSelectTargetOther

int idMenuSelectTargetOther[maxTargetInMenus]

◆ idMenuSettings

int idMenuSettings = XRCID("idCompilerMenuSettings")

Definition at line 207 of file compilergcc.cpp.

Referenced by CompilerGCC::Dispatcher().

◆ idMenuTargetCompilerOptions

int idMenuTargetCompilerOptions = wxNewId()

Definition at line 178 of file compilergcc.cpp.

Referenced by CompilerGCC::Dispatcher().

◆ idMenuTargetCompilerOptionsSub

int idMenuTargetCompilerOptionsSub = wxNewId()

Definition at line 179 of file compilergcc.cpp.

◆ idTimerPollCompiler

int idTimerPollCompiler = XRCID("idTimerPollCompiler")

Definition at line 172 of file compilergcc.cpp.

Referenced by CompilerGCC::OnAttach().

◆ idToolTarget

int idToolTarget = XRCID("idToolTarget")

Definition at line 209 of file compilergcc.cpp.

Referenced by CompilerGCC::OnSelectTarget().

◆ maxTargetInMenus

const int maxTargetInMenus = 40