diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-03-07 09:06:37 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-03-07 09:06:37 +0200 |
commit | 1845141809aa91b03718066a6f46863885a6a887 (patch) | |
tree | a3f542ec7c1781e65aa16a9b0d5c31eae4c4d757 /build2/cc/utility.hxx | |
parent | e0002617846755fb5f199f40a677e16d6f69e5ec (diff) |
Add support for alternative build file/directory naming scheme
Now the build/*.build, buildfile, and .buildignore filesystem entries in
a project can alternatively (but consistently) be called build2/*.build2,
build2file, and .build2ignore. See a note at the beginning of the Project
Structure section in the manual for details (motivation, restrictions,
etc).
Diffstat (limited to 'build2/cc/utility.hxx')
-rw-r--r-- | build2/cc/utility.hxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/build2/cc/utility.hxx b/build2/cc/utility.hxx index bf96949..6b629de 100644 --- a/build2/cc/utility.hxx +++ b/build2/cc/utility.hxx @@ -19,8 +19,12 @@ namespace build2 namespace cc { - extern const dir_path module_dir; // build/cc/ - extern const dir_path modules_sidebuild_dir; // build/cc/modules/ + // To form the complete path do: + // + // root.out_path () / root.root_extra->build_dir / module_dir + // + extern const dir_path module_dir; // cc/ + extern const dir_path modules_sidebuild_dir; // cc/modules/ // Compile output type. // |