blueloveTH 2 år sedan
förälder
incheckning
c1a9d5c77a
3 ändrade filer med 1 tillägg och 4 borttagningar
  1. 1 1
      CMakeLists.txt
  2. 0 1
      c_bindings/CMakeLists.txt
  3. 0 2
      docs/LuaC-API/introduction.md

+ 1 - 1
CMakeLists.txt

@@ -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)
 

+ 0 - 1
c_bindings/CMakeLists.txt

@@ -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(

+ 0 - 2
docs/LuaC-API/introduction.md

@@ -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)`