Logo Search packages:      
Sourcecode: codeblocks version File versions  Download package

Public Member Functions | Protected Attributes | Private Attributes | Friends

ProjectBuildTarget Class Reference

#include <projectbuildtarget.h>

Inheritance diagram for ProjectBuildTarget:
Inheritance graph
[legend]
Collaboration diagram for ProjectBuildTarget:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void AddBuildScript (const wxString &script)
virtual void AddCommandsAfterBuild (const wxString &command)
virtual void AddCommandsBeforeBuild (const wxString &command)
virtual void AddCompilerOption (const wxString &option)
virtual void AddIncludeDir (const wxString &option)
virtual void AddLibDir (const wxString &option)
virtual void AddLinkerOption (const wxString &option)
virtual void AddLinkLib (const wxString &lib)
virtual void AddPlatform (int platform)
virtual void AddResourceIncludeDir (const wxString &option)
virtual void AddTargetDep (ProjectBuildTarget *target)
virtual const wxString & GetAdditionalOutputFiles () const
virtual const StringHash & GetAllVars () const
virtual bool GetAlwaysRunPostBuildSteps () const
virtual wxString GetBasePath () const
 Read the target's base path, e.g. if GetFilename() returns "/usr/local/bin/xxx", base path will return "/usr/local/bin".
virtual const wxArrayString & GetBuildScripts () const
virtual const wxArrayString & GetCommandsAfterBuild () const
virtual const wxArrayString & GetCommandsBeforeBuild () const
virtual const wxString & GetCompilerID () const
 Read the target's compiler.
virtual const wxArrayString & GetCompilerOptions () const
virtual bool GetCreateDefFile () const
virtual bool GetCreateStaticLib ()
virtual wxString GetDepsOutput () const
 Read the target's dependencies output dir.
virtual wxString GetDynamicLibDefFilename ()
 Read the target's dynamic library definition file filename (produced if target type is ttDynamicLib)
virtual wxString GetDynamicLibFilename ()
 Read the target's dynamic library filename (produced if target type is ttDynamicLib)
virtual wxString GetExecutableFilename () const
 Read the target's executable filename (produced if target type is ttExecutable)
virtual const wxString & GetExecutionParameters () const
 Read the target's execution parameters.
virtual const wxString & GetExternalDeps () const
virtual const wxString & GetFilename () const
virtual FilesList & GetFilesList ()
virtual wxString GetFullTitle () const
virtual const wxString & GetHostApplication () const
 Read the target's host application.
virtual const wxArrayString & GetIncludeDirs () const
virtual bool GetIncludeInTargetAll () const
virtual const wxArrayString & GetLibDirs () const
virtual const wxArrayString & GetLinkerOptions () const
virtual const wxArrayString & GetLinkLibs () const
virtual wxString GetMakeCommandFor (MakeCommand cmd) const
 Get the "make" command used for cmd.
virtual bool GetModified () const
virtual wxString GetNativeFilename ()
 Read the target's native filename (produced if target type is ttNative)
virtual wxString GetObjectOutput () const
 Read the target's objects output dir.
virtual OptionsRelation GetOptionRelation (OptionsRelationType type) const
 Read the target's options relation for type.
virtual wxString GetOutputFilename ()
 Read the target's output filename.
virtual cbProjectGetParentProject ()
virtual int GetPlatforms () const
virtual const wxArrayString & GetResourceIncludeDirs () const
virtual wxString GetStaticLibFilename ()
 Read the target's static library filename (produced if target type is ttStaticLib)
virtual BuildTargets & GetTargetDeps ()
virtual void GetTargetFilenameGenerationPolicy (TargetFilenameGenerationPolicy &prefixOut, TargetFilenameGenerationPolicy &extensionOut) const
virtual TargetType GetTargetType () const
 Read the target's type.
virtual const wxString & GetTitle () const
 Read the target's title.
virtual bool GetUseConsoleRunner () const
virtual const wxString & GetVar (const wxString &key) const
virtual wxString GetWorkingDir ()
 Read the target's working dir for execution (valid only for executable targets)
virtual bool MakeCommandsModified () const
 True if any of the "make" commands is modified.
void operator delete (void *ptr)
void * operator new (size_t size)
 ProjectBuildTarget (cbProject *parentProject)
 Constructor.
virtual void RemoveBuildScript (const wxString &script)
virtual void RemoveCommandsAfterBuild (const wxString &command)
virtual void RemoveCommandsBeforeBuild (const wxString &command)
virtual void RemoveCompilerOption (const wxString &option)
virtual void RemoveIncludeDir (const wxString &option)
virtual void RemoveLibDir (const wxString &option)
virtual void RemoveLinkerOption (const wxString &option)
virtual void RemoveLinkLib (const wxString &lib)
virtual void RemovePlatform (int platform)
virtual void RemoveResourceIncludeDir (const wxString &option)
virtual void SetAdditionalOutputFiles (const wxString &files)
virtual void SetAlwaysRunPostBuildSteps (bool always)
virtual void SetBuildScripts (const wxArrayString &scripts)
virtual void SetCommandsAfterBuild (const wxArrayString &commands)
virtual void SetCommandsBeforeBuild (const wxArrayString &commands)
virtual void SetCompilerID (const wxString &id)
 Set the target's compiler.
virtual void SetCompilerOptions (const wxArrayString &compilerOpts)
virtual void SetCreateDefFile (bool createIt)
virtual void SetCreateStaticLib (bool createIt)
virtual void SetDepsOutput (const wxString &dirname)
 Set the target's dependencies output dir.
virtual void SetExecutionParameters (const wxString &params)
 Set the target's execution parameters to params.
virtual void SetExternalDeps (const wxString &deps)
virtual void SetHostApplication (const wxString &app)
 Set the target's host application to app.
virtual void SetIncludeDirs (const wxArrayString &includeDirs)
virtual void SetIncludeInTargetAll (bool buildIt)
virtual void SetLibDirs (const wxArrayString &libDirs)
virtual void SetLinkerOptions (const wxArrayString &linkerOpts)
virtual void SetLinkLibs (const wxArrayString &linkLibs)
virtual void SetMakeCommandFor (MakeCommand cmd, const wxString &make)
 Set the "make" command used for cmd.
virtual void SetModified (bool modified)
virtual void SetObjectOutput (const wxString &dirname)
 Set the target's objects output dir.
virtual void SetOptionRelation (OptionsRelationType type, OptionsRelation rel)
 Set the target's options relation for type to rel.
virtual void SetOutputFilename (const wxString &filename)
 Set the target's output filename.
virtual void SetPlatforms (int platforms)
virtual void SetResourceIncludeDirs (const wxArrayString &resIncludeDirs)
virtual void SetTargetFilenameGenerationPolicy (TargetFilenameGenerationPolicy prefix, TargetFilenameGenerationPolicy extension)
virtual void SetTargetType (const TargetType &pt)
virtual void SetTargetType (TargetType pt)
 Set the target's type to pt.
virtual void SetTitle (const wxString &title)
 Set the target's title.
virtual void SetUseConsoleRunner (bool useIt)
virtual bool SetVar (const wxString &key, const wxString &value, bool onlyIfExists=false)
virtual void SetWorkingDir (const wxString &dirname)
 Set the target's working dir on execution (valid only for executable targets)
virtual wxString SuggestOutputFilename ()
 Suggest a filename based on the target's type.
virtual bool SupportsCurrentPlatform () const
virtual void UnsetAllVars ()
virtual bool UnsetVar (const wxString &key)
 ~ProjectBuildTarget ()
 Destructor.

Protected Attributes

bool m_AlwaysRunPostCmds
wxArrayString m_CmdsAfter
wxArrayString m_CmdsBefore
wxString m_CompilerId
wxArrayString m_CompilerOptions
wxString m_DepsOutput
wxString m_ExecutionParameters
TargetFilenameGenerationPolicy m_ExtensionGenerationPolicy
wxString m_Filename
wxString m_HostApplication
wxArrayString m_IncludeDirs
wxArrayString m_LibDirs
wxArrayString m_LinkerOptions
wxArrayString m_LinkLibs
wxString m_MakeCommands [mcLast]
bool m_MakeCommandsModified
bool m_Modified
wxString m_ObjectOutput
OptionsRelation m_OptionsRelation [ortLast]
wxString m_OutputFilename
int m_Platform
TargetFilenameGenerationPolicy m_PrefixGenerationPolicy
wxArrayString m_ResIncludeDirs
wxArrayString m_Scripts
TargetType m_TargetType
wxString m_Title
StringHash m_Vars
wxString m_WorkingDir

Private Attributes

wxString m_AdditionalOutputFiles
bool m_BuildWithAll
bool m_CreateDefFile
bool m_CreateStaticLib
wxString m_ExternalDeps
FilesList m_Files
cbProjectm_Project
BuildTargets m_TargetDeps
bool m_UseConsoleRunner

Friends

class cbProject
class ProjectFile

Detailed Description

Represents a Code::Blocks project build target.

Definition at line 26 of file projectbuildtarget.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index