This commit is contained in:
blueloveTH 2023-07-06 22:05:05 +08:00
parent 350f2f40e9
commit 369dfde6b0
3 changed files with 7 additions and 3 deletions

View File

@ -27,12 +27,13 @@ And `#include` it in your project.
You can also use cmake to build it from source. See CMakeLists.txt for details.
These variables can be set to control the build process:
+ `PK_BUILD_EXE` - Build the executable file
+ `PK_BUILD_STATIC_LIB` - Build the static library
+ `PK_BUILD_SHARED_LIB` - Build the shared library
If you are working with [Unity Engine](https://unity.com/), you can download our plugin [PocketPython](https://assetstore.unity.com/packages/tools/visual-scripting/pocketpy-241120) on the Asset Store.
If you use [Dear ImGui](https://github.com/ocornut/imgui), we provide official bindings for it. See [pocketpy-imgui](https://github.com/blueloveTH/pocketpy-imgui) for details.
### Compile flags
To compile it with your project, these flags must be set:

View File

@ -43,7 +43,7 @@ vm->bind(obj,
## Old style bindings
!!!
Native functions do not support keyword arguments.
Old style bindings do not support keyword arguments.
!!!
### Bind a function

View File

@ -9,10 +9,13 @@ And `#include` it in your project.
You can also use cmake to build it from source. See CMakeLists.txt for details.
These variables can be set to control the build process:
+ `PK_BUILD_EXE` - Build the executable file
+ `PK_BUILD_STATIC_LIB` - Build the static library
+ `PK_BUILD_SHARED_LIB` - Build the shared library
If you are working with [Unity Engine](https://unity.com/), you can download our plugin [PocketPython](https://assetstore.unity.com/packages/tools/visual-scripting/pocketpy-241120) on the Asset Store.
If you use [Dear ImGui](https://github.com/ocornut/imgui), we provide official bindings for it. See [pocketpy-imgui](https://github.com/blueloveTH/pocketpy-imgui) for details.
### Compile flags
To compile it with your project, these flags must be set: