- name
string name;
Name of this component, as registered in DManager.components AA.
- submoduleName
string submoduleName [@property getter]
Corresponding subproject repository name.
- submodule
ManagedRepository submodule [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- CommonConfig
struct CommonConfig
Configuration applicable to multiple (not all) components.
- configString
string configString [@property getter]
A string description of this component's configuration.
- commit
string commit [@property getter]
Commit in the component's repo from which to build this component.
- sourceDependencies
string[] sourceDependencies [@property getter]
The components the source code of which this component depends on.
Used for calculating the cache key.
- dependencies
string[] dependencies [@property getter]
The components the state and configuration of which this component depends on.
Used for calculating the cache key.
- Metadata
struct Metadata
This metadata is saved to a .json file,
and is also used to calculate the cache key.
- getMetadata
Metadata getMetadata()
Undocumented in source. Be warned that the author may not have intended to support it.
- saveMetaData
void saveMetaData(string target)
Undocumented in source. Be warned that the author may not have intended to support it.
- getBuildID
string getBuildID()
Calculates the cache key, which should be unique and immutable
for the same source, build parameters, and build algorithm.
- sourceDir
string sourceDir [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- stageDir
string stageDir;
Directory to which built files are copied to.
This will then be atomically added to the cache.
- needSource
void needSource(bool needClean)
Prepare the source checkout for this component.
Usually needed by other components.
- needBuild
void needBuild(bool clean)
Build the component in-place, as needed,
without moving the built files anywhere.
- needInstalled
void needInstalled()
Build and "install" the component to buildDir as necessary.
- performBuild
void performBuild()
Build the component in-place, without moving the built files anywhere.
- performStage
void performStage()
Place resulting files to stageDir
- updateEnv
void updateEnv(Environment env)
Update the environment post-install, to allow
building components that depend on this one.
- install
void install()
Copy build results from cacheDir to buildDir
- test
void test()
Prepare the dependencies then run the component's tests.
- performTest
void performTest()
Run the component's tests.
- modelSuffix
string modelSuffix(string model)
Undocumented in source. Be warned that the author may not have intended to support it.
- makeFileName
enum string makeFileName;
Undocumented in source.
- makeFileNameModel
string makeFileNameModel(string model)
Undocumented in source. Be warned that the author may not have intended to support it.
- binExt
enum string binExt;
Undocumented in source.
- makeFileName
enum string makeFileName;
Undocumented in source.
- makeFileNameModel
string makeFileNameModel(string model)
Undocumented in source. Be warned that the author may not have intended to support it.
- binExt
enum string binExt;
Undocumented in source.
- platform
enum platform;
Undocumented in source.
- platform
enum platform;
Undocumented in source.
- platform
enum platform;
Undocumented in source.
- platform
enum platform;
Undocumented in source.
- getMake
string[] getMake(Environment env)
Returns the command for the make utility.
- dmd
string dmd [@property getter]
Returns the path to the built dmd executable.
- getPlatformMakeVars
string[] getPlatformMakeVars(Environment env, string model, bool quote)
Undocumented in source. Be warned that the author may not have intended to support it.
- gnuMakeArgs
string[] gnuMakeArgs [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- dMakeArgs
string[] dMakeArgs [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
- findMakeFile
string findMakeFile(string dir, string fn)
Older versions did not use the posix.mak/win32.mak convention.
- needCC
void needCC(Environment env, string model, string dmcVer)
Undocumented in source. Be warned that the author may not have intended to support it.
- run
void run(const(string)[] args, string[string] newEnv, string dir)
Undocumented in source. Be warned that the author may not have intended to support it.
Extras not built from source (DigitalMars and third-party tools and libraries)