Lines Matching +full:project +full:- +full:src +full:- +full:path
1 .. _module-pw_third_party_emboss:
13 ------------------
15 ------------------
19 .. code-block:: sh
21 git submodule add https://github.com/google/emboss.git third_party/emboss/src
23 .. tab-set::
25 .. tab-item:: GN
27 Next, set the GN variable ``dir_pw_third_party_emboss`` to the path of
28 your Emboss installation. If using the submodule path from above, add the
29 following to the ``default_args`` of your project's ``.gn`` file:
31 .. code-block::
33 dir_pw_third_party_emboss = "//third_party/emboss/src"
36 inclusive-language: disable
46 inclusive-language: enable
48 .. tab-item:: CMake
50 Next, set the CMake variable ``dir_pw_third_party_emboss`` to the path of
51 your Emboss installation. If using the submodule path from above, add the
52 following to your project's ``CMakeLists.txt`` file:
54 .. code-block::
56 set(dir_pw_third_party_emboss "$ENV{PW_ROOT}/third_party/emboss/src" CACHE PATH "" FORCE)
59 ------------
61 ------------
62 .. tab-set::
64 .. tab-item:: GN
67 ``//my-project/public/my-project/my-protocol.emb``.
69 ``//my-project/BUILD.gn``:
71 .. code-block::
76 source = "public/my-project/my-protocol.emb"
83 .. code-block::
92 .. tab-item:: CMake
95 ``my-project/public/my-project/my-protocol.emb``.
97 ``my-project/CMakeLists.txt``:
99 .. code-block::
105 source = "public/my-project/my-protocol.emb"
112 .. code-block::
121 Now just include the generated header by adding ``.h`` to the path of your
124 .. code-block:: c++
126 #include <my-project/my-protocol.emb.h>