mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
some doc fix
This commit is contained in:
parent
4997783488
commit
e11e888acd
@ -49,12 +49,12 @@ And `#include` it in your project. It is recommended to use the latest dev versi
|
|||||||
|
|
||||||
#### Use CMake
|
#### Use CMake
|
||||||
|
|
||||||
Clone the whole repository as a submodule in your project,
|
Clone the whole repository as a submodule into your project,
|
||||||
In your CMakelists.txt, add the following lines:
|
In your CMakelists.txt, add the following lines:
|
||||||
|
|
||||||
```cmake
|
```cmake
|
||||||
add_subdirectory(pocketpy)
|
add_subdirectory(pocketpy)
|
||||||
target_link_libraries(your_target pocketpy)
|
target_link_libraries(<your_target> pocketpy)
|
||||||
|
|
||||||
if(EMSCRIPTEN)
|
if(EMSCRIPTEN)
|
||||||
# exceptions must be enabled for emscripten
|
# exceptions must be enabled for emscripten
|
||||||
|
@ -13,12 +13,12 @@ And `#include` it in your project. It is recommended to use the latest dev versi
|
|||||||
|
|
||||||
#### Use CMake
|
#### Use CMake
|
||||||
|
|
||||||
Clone the whole repository as a submodule in your project,
|
Clone the whole repository as a submodule into your project,
|
||||||
In your CMakelists.txt, add the following lines:
|
In your CMakelists.txt, add the following lines:
|
||||||
|
|
||||||
```cmake
|
```cmake
|
||||||
add_subdirectory(pocketpy)
|
add_subdirectory(pocketpy)
|
||||||
target_link_libraries(your_target pocketpy)
|
target_link_libraries(<your_target> pocketpy)
|
||||||
|
|
||||||
if(EMSCRIPTEN)
|
if(EMSCRIPTEN)
|
||||||
# exceptions must be enabled for emscripten
|
# exceptions must be enabled for emscripten
|
||||||
|
Loading…
x
Reference in New Issue
Block a user