Code::Blocks  SVN r11506
Classes | Enumerations
compiletargetbase.h File Reference
#include "compileoptionsbase.h"
Include dependency graph for compiletargetbase.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CompileTargetBase
 Base class for build target classes Each Code::Blocks project consists of at least one target. More...
 

Enumerations

enum  OptionsRelationType {
  ortCompilerOptions = 0, ortLinkerOptions, ortIncludeDirs, ortLibDirs,
  ortResDirs, ortLast
}
 Enum that defines the option's relation types. More...
 
enum  OptionsRelation { orUseParentOptionsOnly = 0, orUseTargetOptionsOnly, orPrependToParentOptions, orAppendToParentOptions }
 Option's relation. More...
 
enum  TargetType {
  ttExecutable = 0, ttConsoleOnly = 1, ttStaticLib = 2, ttDynamicLib = 3,
  ttCommandsOnly = 4, ttNative = 5
}
 Enum to define the type of output the target produces. More...
 
enum  MakeCommand {
  mcClean = 0, mcDistClean, mcBuild, mcCompileFile,
  mcAskRebuildNeeded, mcSilentBuild, mcLast
}
 
enum  TargetFilenameGenerationPolicy { tgfpPlatformDefault = 0, tgfpNone }
 A target's filename can either be auto-generated based on the running platform, or completely specified by the user. More...
 

Enumeration Type Documentation

◆ MakeCommand

Enumerator
mcClean 
mcDistClean 
mcBuild 
mcCompileFile 
mcAskRebuildNeeded 
mcSilentBuild 
mcLast 

Don't use this. It's only used internally for enumerations...

Definition at line 43 of file compiletargetbase.h.

◆ OptionsRelation

Option's relation.

Enumerator
orUseParentOptionsOnly 

The option uses parent options only.

orUseTargetOptionsOnly 

The option uses target options only.

orPrependToParentOptions 

The option uses parent options appended to target options.

orAppendToParentOptions 

The option uses target options appended to parent options.

Definition at line 24 of file compiletargetbase.h.

◆ OptionsRelationType

Enum that defines the option's relation types.

Enumerator
ortCompilerOptions 

Compiler option.

ortLinkerOptions 

Linker option.

ortIncludeDirs 

Compiler include dir option.

ortLibDirs 

Linker include dir option.

ortResDirs 

Resource compiler include dir option.

ortLast 

Definition at line 12 of file compiletargetbase.h.

◆ TargetFilenameGenerationPolicy

A target's filename can either be auto-generated based on the running platform, or completely specified by the user.

For more info, see CompileTargetBase::SetTargetFilenameGenerationPolicy.

Enumerator
tgfpPlatformDefault 

Generate filename based on running platform defaults.

tgfpNone 

No automatic generation; let the user specify the full filename.

Definition at line 60 of file compiletargetbase.h.

◆ TargetType

enum TargetType

Enum to define the type of output the target produces.

Enumerator
ttExecutable 

Target produces an executable.

ttConsoleOnly 

Target produces a console executable (without GUI) (distinction between ttExecutable and ttConsoleOnly happens only under Win32)

ttStaticLib 

Target produces a static library.

ttDynamicLib 

Target produces a dynamic library.

ttCommandsOnly 

Target only runs commands in pre-build and/or post-build steps.

ttNative 

Target produces a native binary.

Definition at line 33 of file compiletargetbase.h.