Code::Blocks  SVN r11506
Classes | Typedefs | Enumerations | Functions
cbproject.h File Reference
#include <wx/datetime.h>
#include <wx/dynarray.h>
#include <wx/hashmap.h>
#include <wx/treectrl.h>
#include "settings.h"
#include "misctreeitemdata.h"
#include "compiletargetbase.h"
#include "cbplugin.h"
#include "projectbuildtarget.h"
#include "projectmanager.h"
#include <map>
#include <vector>
Include dependency graph for cbproject.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  FileTreeData
 
class  cbProject
 Represents a Code::Blocks project. More...
 
struct  cbProject::Glob
 

Typedefs

typedef std::map< wxString, wxArrayStringVirtualBuildTargetsMap
 

Enumerations

enum  PCHMode { pchSourceDir = 0, pchObjectDir, pchSourceFile }
 Precompiled headers mode. More...
 

Functions

 WX_DECLARE_STRING_HASH_MAP (ProjectFile *, ProjectFiles)
 
DLLIMPORT wxString cbGetDynamicLinkerPathForTarget (cbProject *project, ProjectBuildTarget *target)
 Returns a string valid to be used as LD_LIBRARY_PATH (or equivalent). More...
 
DLLIMPORT wxString cbMergeLibPaths (const wxString &oldPath, const wxString &newPath)
 Merges to LD_LIBRARY_PATH/PATH strings together to form a new valid string. More...
 

Typedef Documentation

◆ VirtualBuildTargetsMap

Definition at line 35 of file cbproject.h.

Enumeration Type Documentation

◆ PCHMode

enum PCHMode

Precompiled headers mode.

Defines where and how are the project's precompiled headers generated. Currently implemented only for GCC (3.4 and above).

Enumerator
pchSourceDir 
pchObjectDir 

In a dir (named by the PCH) on the same level as the source header (default).

pchSourceFile 

In the objects output dir, along with other object files.

In a file alongside the source header (with .gch appended).

Definition at line 83 of file cbproject.h.

Function Documentation

◆ cbGetDynamicLinkerPathForTarget()

DLLIMPORT wxString cbGetDynamicLinkerPathForTarget ( cbProject project,
ProjectBuildTarget target 
)

◆ cbMergeLibPaths()

DLLIMPORT wxString cbMergeLibPaths ( const wxString oldPath,
const wxString newPath 
)

Merges to LD_LIBRARY_PATH/PATH strings together to form a new valid string.

Definition at line 1777 of file cbproject.cpp.

References _T, wxString::IsEmpty(), wxString::Length(), and wxString::Mid().

Referenced by CompilerGCC::DoRunQueue().

◆ WX_DECLARE_STRING_HASH_MAP()

WX_DECLARE_STRING_HASH_MAP ( ProjectFile ,
ProjectFiles   
)