build: add support for disabling native command support

This commit is contained in:
2026-07-19 13:34:09 +01:00
parent 422416e99b
commit f189643cf4
7 changed files with 52 additions and 8 deletions
+2
View File
@@ -1,3 +1,4 @@
#if BSHELL_ENABLE_NATIVE_COMMANDS == 1
#include <bshell/command/command.h>
#include <bshell/command/native-command.h>
#include <bshell/format.h>
@@ -231,3 +232,4 @@ FX_TYPE_DEFINITION_BEGIN(bshell_native_command)
FX_TYPE_INSTANCE_FINI(fini);
FX_TYPE_INSTANCE_PRIVATE(struct bshell_native_command_p);
FX_TYPE_DEFINITION_END(bshell_native_command)
#endif