diff options
| author | Glenn Smith <glenn@vector35.com> | 2025-05-12 17:20:59 -0400 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2025-05-13 12:56:17 -0400 |
| commit | 3143838805933561451137395813163942218606 (patch) | |
| tree | 2f7800e1a2e454cf94ea541161cb912277799b2e /examples | |
| parent | be227ef23b3c9155648891eb6cd90cf07a90c6ee (diff) | |
Fix BN_API_BUILD_EXAMPLES for personal builds
Now it will skip building the headless-required examples for Personal editions
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/CMakeLists.txt | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 790815c3..69f8064e 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -1,18 +1,25 @@ +# Personal+ edition (free edition doesn't get plugins due to no API access) add_subdirectory(background_task) -add_subdirectory(bin-info) add_subdirectory(breakpoint) -add_subdirectory(cmdline_disasm) -add_subdirectory(llil_parser) -add_subdirectory(mlil_parser) -add_subdirectory(print_syscalls) +add_subdirectory(x86_extension) +add_subdirectory(workflows/inliner) +add_subdirectory(workflows/tailcall) + +# Personal+ UI plugins (headless UI binaries is a weird concept but I guess technically possible) if(NOT HEADLESS) add_subdirectory(uinotification) endif() -if(NOT DEMO) - add_subdirectory(workflows/inliner) - add_subdirectory(workflows/tailcall) + +# Commercial+ edition (needs headless support which personal does not include) +if(NOT PERSONAL) + add_subdirectory(bin-info) + add_subdirectory(cmdline_disasm) + add_subdirectory(llil_parser) + add_subdirectory(mlil_parser) + add_subdirectory(print_syscalls) endif() -if(ENTERPRISE) + +# Ultimate+ edition (eg, enterprise and collaboration) +if(ULTIMATE) add_subdirectory(enterprise_test) endif() -add_subdirectory(x86_extension) |
