This commit is contained in:
blueloveTH 2024-01-14 14:45:02 +08:00
parent 6f04a519d6
commit 4929b9d247
2 changed files with 6 additions and 2 deletions

View File

@ -45,11 +45,13 @@ These platforms are officially tested.
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. You can also use cmake to build it from source. See [CMakeLists.txt](https://github.com/blueloveTH/pocketpy/blob/main/CMakeLists.txt) for details.
These variables can be set to control the build process: These variables can be set to control the build process:
+ `PK_BUILD_STATIC_LIB` - Build the static library + `PK_BUILD_STATIC_LIB` - Build the static library (default, recommended)
+ `PK_BUILD_SHARED_LIB` - Build the shared library + `PK_BUILD_SHARED_LIB` - Build the shared library
It is safe to use `main` branch in production.
### 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:

View File

@ -36,6 +36,8 @@ These variables can be set to control the build process:
See [CMakeLists.txt](https://github.com/blueloveTH/pocketpy/blob/main/CMakeLists.txt) for details. See [CMakeLists.txt](https://github.com/blueloveTH/pocketpy/blob/main/CMakeLists.txt) for details.
It is safe to use `main` branch in production.
### 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: