From 4b9de5c80934772dbc5503e65e265da452ca356a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 2 May 2018 15:02:02 +0200 Subject: Add support for different backlinking modes, use for Windows DLL assembly --- build2/context.hxx | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'build2/context.hxx') 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" -- cgit v1.1