diff options
| author | Mark Rowe <mark@vector35.com> | 2025-07-31 13:28:58 -0700 |
|---|---|---|
| committer | Mark Rowe <mark@vector35.com> | 2025-12-15 20:25:23 -0800 |
| commit | 2f1150703636b2b06d84bb66853fce7382bf6f29 (patch) | |
| tree | 0dbf0209a2cc9025079e664b623d3da4df1e44ab /CMakeLists.txt | |
| parent | 8789b8690d74b7ecba68b65b061ab64befeaf539 (diff) | |
Introduce bn::base::function_ref, a non-owning function wrapper inspired by C++26's std::function_ref
This is to `std::function` as `std::string_view` is to `std::string`.
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 1c1f5263..d0aff4fc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,11 +29,17 @@ if(NOT DEMO) endif() endif() +if(NOT BN_INTERNAL_BUILD) + add_subdirectory(base) +endif() + add_library(binaryninjaapi STATIC ${BN_API_SOURCES}) target_include_directories(binaryninjaapi PUBLIC ${PROJECT_SOURCE_DIR}) +target_link_libraries(binaryninjaapi PUBLIC binaryninjabase) + # Store path to user plugin dir if(WIN32) set(BN_USER_PLUGINS_DIR "$ENV{APPDATA}\\Binary Ninja\\plugins") |
