This commit is contained in:
blueloveTH 2023-07-02 23:01:03 +08:00
parent 1db70911ce
commit e0c7b33434
2 changed files with 12 additions and 0 deletions

View File

@ -25,6 +25,12 @@ Please see https://pocketpy.dev for details or try [Live Demo](https://pocketpy.
Download the `pocketpy.h` on our [GitHub Release](https://github.com/blueloveTH/pocketpy/releases) page. Download the `pocketpy.h` on our [GitHub Release](https://github.com/blueloveTH/pocketpy/releases) page.
And `#include` it in your project. 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 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.
### Compile flags ### Compile flags

View File

@ -7,6 +7,12 @@ order: 100
Download the `pocketpy.h` on our [GitHub Release](https://github.com/blueloveTH/pocketpy/releases) page. Download the `pocketpy.h` on our [GitHub Release](https://github.com/blueloveTH/pocketpy/releases) page.
And `#include` it in your project. 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
### Compile flags ### Compile flags
To compile it with your project, these flags must be set: To compile it with your project, these flags must be set: