Lines Matching +full:cache +full:- +full:dependency +full:- +full:path
1 .. _module-pw_third_party_emboss:
13 ------------------
15 ------------------
19 .. code-block:: sh
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
31 .. code-block::
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
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"
80 "emboss_protocol". To use the bindings, list this target as a dependency
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"
109 "emboss_protocol". To use the bindings, list this target as a dependency
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>