🇺🇦 If you like this project, please consider donating to one of the funds helping victims of russian aggression against Ukraine: ukraine.ua
Automatic, on the fly bindings from C++ to Java
, Objective-C
, Swift
, Python
, JavaScript
(WebAssembly) and C#
.
Bridge code automatically generated directly from C++ header files, no need to manually maintain IDL definitions or bindings.
include(FetchContent)
FetchContent_Declare(
cmodule
URL "https://github.com/scapix-com/cmodule/archive/refs/tags/v2.0.0.tar.gz"
URL_HASH SHA256=58695a9d73dc95a2c214097729917c7d9c366bf511e162d566cf55dd2b9cd7be
)
FetchContent_MakeAvailable(cmodule)
find_package(Scapix REQUIRED)
scapix_bridge_headers(
chatlib
"com.example.chat"
"source/chat/contact.h"
"source/chat/session.h"
"source/chat/model.h"
)
Examples:
- tiny_bridge - minimal example
- scapix_example_objc - minimal example, ObjC/Swift, XCode integration
- example1 - extended example, all languages
Please carefully read license agreement.
In short: If you comply with license agreement, you may use Scapix Language Bridge free of charge to build commercial and/or open source applications. You may NOT modify and/or redistribute the Scapix Language Bridge product itself.