Browse Source

Activate Lua and Duktape in CI build

bel 9 years ago
parent
commit
ab7c42ae84
2 changed files with 231 additions and 0 deletions
  1. 224 0
      .travis.yml
  2. 7 0
      CMakeLists.txt

File diff suppressed because it is too large
+ 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()

Some files were not shown because too many files changed in this diff