Ver Fonte

Activate Lua and Duktape in CI build

bel há 9 anos atrás
pai
commit
ab7c42ae84
2 ficheiros alterados com 231 adições e 0 exclusões
  1. 224 0
      .travis.yml
  2. 7 0
      CMakeLists.txt

Diff do ficheiro suprimidas por serem muito extensas
+ 224 - 0
.travis.yml


+ 7 - 0
CMakeLists.txt

@@ -166,6 +166,10 @@ if (CIVETWEB_ENABLE_LUA)
   mark_as_advanced(CIVETWEB_SQLITE_MD5_HASH)
 endif()
 
+# Duktape CGI support
+option(CIVETWEB_ENABLE_DUKTAPE "Enable Duktape CGIs" OFF)
+message(STATUS "Duktape CGI support - ${CIVETWEB_ENABLE_DUKTAPE}")
+
 # SSL support
 option(CIVETWEB_ENABLE_SSL "Enables the secure socket layer" ON)
 message(STATUS "SSL support - ${CIVETWEB_ENABLE_SSL}")
@@ -354,6 +358,9 @@ endif()
 if (CIVETWEB_ENABLE_LUA)
   add_definitions(-DUSE_LUA)
 endif()
+if (CIVETWEB_ENABLE_DUKTAPE)
+  add_definitions(-DUSE_DUKTAPE)
+endif()
 if (CIVETWEB_ENABLE_MEMORY_DEBUGGING)
   add_definitions(-DMEMORY_DEBUGGING)
 endif()

Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff