blueloveTH 2 年 前
コミット
e0c7b33434
2 ファイル変更12 行追加0 行削除
  1. 6 0
      README.md
  2. 6 0
      docs/quick-start/installation.md

+ 6 - 0
README.md

@@ -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.
 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.
 
 ### Compile flags

+ 6 - 0
docs/quick-start/installation.md

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