25 : m_Project(parentProject),
161 for (FilesList::iterator it =
m_Files.begin(); it !=
m_Files.end(); ++it)
169 if (index < 0 || static_cast<size_t>(index) >=
m_FileArray.GetCount())
virtual bool GetCreateDefFile() const
Valid only for targets generating dynamic libraries (DLLs or SOs).
virtual bool GetUseConsoleRunner() const
Valid only for targets generating a console executable.
virtual const wxString & GetAdditionalOutputFiles() const
virtual void AddTargetDep(ProjectBuildTarget *target)
Targets to be compiled (if necessary) before this one.
wxString m_AdditionalOutputFiles
bool RemoveFile(ProjectFile *pf)
Remove a file from the target.
virtual void SetCreateDefFile(bool createIt)
Set if the target creates a DEF imports file.
virtual const wxString & GetExternalDeps() const
virtual void SetIncludeInTargetAll(bool buildIt)
Deprecated, do not use at all! Set if this target should be built when the virtual target "All" is se...
virtual void SetUseConsoleRunner(bool useIt)
Set if ConsoleRunner should be used.
Represents a file in a Code::Blocks project.
virtual bool GetCreateStaticLib()
Valid only for targets generating dynamic libraries (DLLs or SOs).
ProjectFileArray m_FileArray
virtual cbProject * GetParentProject()
virtual wxString GetFullTitle() const
virtual bool GetRunHostApplicationInTerminal() const
Get the flag if the host app should be run in terminal.
virtual TargetType GetTargetType() const
Read the target's type.
ProjectFile * GetFile(int index)
Access a file of the target.
BuildTargets m_TargetDeps
Represents a Code::Blocks project.
virtual const wxString & GetTitle() const
Read the target's title.
virtual void SetModified(bool modified)
virtual void SetExternalDeps(const wxString &deps)
Set a list of all the external files this targets depends on.
virtual void SetCreateStaticLib(bool createIt)
Set if an import library should be created.
Target produces a console executable (without GUI) (distinction between ttExecutable and ttConsoleOnl...
ProjectBuildTarget(cbProject *parentProject)
Constructor.
void SetTargetType(TargetType pt) override
Set the target's type to pt.
Represents a Code::Blocks project build target.
virtual void SetTargetType(TargetType pt)
Set the target's type to pt.
virtual BuildTargets & GetTargetDeps()
TargetType
Enum to define the type of output the target produces.
~ProjectBuildTarget() override
Destructor.
virtual bool GetIncludeInTargetAll() const
Deprecated, do not use at all!
virtual void SetAdditionalOutputFiles(const wxString &files)
Set a list of all additional output files this targets creates, besides its main output.