diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-05-02 15:02:02 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-05-02 15:02:02 +0200 |
commit | 4b9de5c80934772dbc5503e65e265da452ca356a (patch) | |
tree | 18678181705b6f3346038f72003f915c35b676a9 /build2/context.hxx | |
parent | a0a8eaabb234d880464f389f7dee89e430c84b32 (diff) |
Add support for different backlinking modes, use for Windows DLL assembly
Diffstat (limited to 'build2/context.hxx')
-rw-r--r-- | build2/context.hxx | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/build2/context.hxx b/build2/context.hxx index 68faa9b..6f3cc85 100644 --- a/build2/context.hxx +++ b/build2/context.hxx @@ -277,7 +277,17 @@ namespace build2 extern const variable* var_import_target; // import.target extern const variable* var_clean; // [bool] target visibility - extern const variable* var_backlink; // [bool] target visibility + + // Forwarded configuration backlink mode. Valid values are: + // + // false - no link. + // true - make a link using appropriate mechanism. + // symbolic - make a symbolic link. + // hard - make a hard link. + // copy - make a copy. + // overwrite - copy over but don't remove on clean (committed gen code). + // + extern const variable* var_backlink; // [string] target visibility extern const char var_extension[10]; // "extension" |