diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-07-14 22:33:56 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-07-16 15:48:08 +0300 |
commit | e33d6115ee4ea76941d092b72ae06d22415f8e90 (patch) | |
tree | cf2545e29ab840570219500477023644426eb952 /bdep | |
parent | 3aa122ed0fd598c4854b3d55f775e06a59112151 (diff) |
Documentation tweaks
Diffstat (limited to 'bdep')
-rw-r--r-- | bdep/new.cli | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/bdep/new.cli b/bdep/new.cli index 3508465..2ae24de 100644 --- a/bdep/new.cli +++ b/bdep/new.cli @@ -278,7 +278,7 @@ namespace bdep The project type can be specified with the \c{\b{--type}|\b{-t}} option. The \cb{empty} project type is language-agnostic with the semantics and - valid sub-options for the rest being language-dependant, as described + valid sub-options for the rest being language-dependent, as described next. If unspecified, an executable project is created by default. \dl| @@ -795,10 +795,12 @@ namespace bdep Note that while the same physical layout can be achieved with various combinations of source prefix and subdirectory, there will be differences in semantics since the headers in the project are included with the source - subdirectory (if any) as a prefix. + subdirectory (if any) as a prefix. See \l{intro#proj-struct Canonical + Project Structure} for details. As we have already seen, the source subdirectory can be customized with the - \cb{subdir} project type sub-option. For example: + \cb{subdir} project type sub-option. For example (pass \cb{-l\ c++,cpp} for + the \cb{.hpp}/\cb{.cpp} naming scheme): \ # libhello/hello/ @@ -941,11 +943,11 @@ namespace bdep $ tree libhello/ libhello/ └── src/ - ├── hello/ - │ └── hello.cxx - └── include/ - └── hello/ - └── hello.hxx + ├── include/ + │ └── hello/ + │ └── hello.hxx + └── hello/ + └── hello.cxx \ A similar layout but without the source subdirectory in \c{src/}: |