We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 033706a commit 15249bbCopy full SHA for 15249bb
build_as_lib.py
@@ -52,6 +52,11 @@
52
variant_name = item[1]
53
menv.Append(BUILD_FLAGS=[f"-I variants/{variant_name}"])
54
src_filter.append(f"+<../variants/{variant_name}>")
55
+
56
+ # INCLUDE EXAMPLE CODE IN BUILD (to provide your own support files without touching the tree)
57
+ elif isinstance(item, tuple) and item[0] == "BUILD_EXAMPLE":
58
+ example_name = item[1]
59
+ src_filter.append(f"+<../examples/{example_name}>")
60
61
menv.Replace(SRC_FILTER=src_filter)
62
0 commit comments