Begin experimental guile support
This commit is contained in:
@@ -4,7 +4,6 @@ set_property(SOURCE couch.i PROPERTY CPLUSPLUS ON)
|
||||
set_property(SOURCE couch.i PROPERTY USE_TARGET_INCLUDE_DIRECTORIES ON)
|
||||
|
||||
if (LUA_ENABLED)
|
||||
## Find Lua
|
||||
swig_add_library(couchlua
|
||||
TYPE STATIC
|
||||
LANGUAGE lua
|
||||
@@ -17,3 +16,17 @@ if (LUA_ENABLED)
|
||||
couchlib
|
||||
${LUA_LIBRARIES})
|
||||
endif ()
|
||||
|
||||
if (GUILE_ENABLED)
|
||||
swig_add_library(couchguile
|
||||
TYPE STATIC
|
||||
LANGUAGE guile
|
||||
SOURCES couch.i)
|
||||
|
||||
target_include_directories(couchguile PRIVATE "${PROJECT_SOURCE_DIR}/core")
|
||||
|
||||
swig_link_libraries(couchguile
|
||||
PRIVATE
|
||||
couchlib
|
||||
${GUILE_LIBRARIES})
|
||||
endif ()
|
||||
|
||||
Reference in New Issue
Block a user