mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-21 20:10:17 +00:00
...
This commit is contained in:
parent
1f7a7c8606
commit
c1a9d5c77a
@ -23,7 +23,7 @@ else()
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-rtti -fexceptions -O2")
|
||||
endif()
|
||||
|
||||
option(PK_EXPORT_C_API "Export C API" OFF)
|
||||
option(PK_EXPORT_C_API "Export C API" ON)
|
||||
|
||||
include_directories(${CMAKE_CURRENT_LIST_DIR}/include)
|
||||
|
||||
|
@ -4,7 +4,6 @@ project(test_c_bindings)
|
||||
|
||||
set(CMAKE_C_STANDARD 11)
|
||||
|
||||
option(PK_EXPORT_C_API "Export C API" ON)
|
||||
option(PK_BUILD_STATIC_LIB "Build static library" ON)
|
||||
|
||||
add_subdirectory(
|
||||
|
@ -12,8 +12,6 @@ true if it succeeded false if it did not.
|
||||
Special thanks for [@koltenpearson](https://github.com/koltenpearson) for bringing us the Lua Style API implementation.
|
||||
!!!
|
||||
|
||||
Set option `PK_EXPORT_C_API` to `ON` to enable the C API in cmake build process.
|
||||
|
||||
## Basic Functions
|
||||
|
||||
#### `pkpy_vm* pkpy_vm_create(bool use_stdio, bool enable_os)`
|
||||
|
Loading…
x
Reference in New Issue
Block a user