Commit 564215a7 authored by Artur Grunau's avatar Artur Grunau
Browse files

Add Lua to external libraries

Lua has been selected to be the scripting language embedded in
CAMPVis. This commit adds its CMake-enabled version as a submodule to
the repository.

To build Lua, set the CAMPVIS_BUILD_LIB_LUA option in CMake and
initialise the Lua submodule using the following Git command:
git submodule update --init

References #1
parent 307c3da2
[submodule "ext/lua"]
path = ext/lua
url = https://github.com/LuaDist/lua
ignore = dirty
......@@ -17,6 +17,7 @@ OPTION(CAMPVIS_BUILD_APPLICATION "Build CAMPVis Application"
OPTION(CAMPVIS_BUILD_CORE "Build CAMPVis Core" ON)
OPTION(CAMPVIS_BUILD_MODULES "Build CAMPVis Modules" ON)
OPTION(CAMPVIS_BUILD_LIB_TGT "Build TGT Library" ON)
OPTION(CAMPVIS_BUILD_LIB_LUA "Build Lua Library" OFF)
OPTION(CAMPVIS_BUILD_DOXYGEN "Build Doxygen Documentation" OFF)
OPTION(CAMPVIS_DEPLOY_SHADERS "Deploy Shader files to binary directory" OFF)
......@@ -45,6 +46,10 @@ IF(CAMPVIS_BUILD_LIB_TGT)
ADD_SUBDIRECTORY(ext/tgt)
ENDIF()
IF(CAMPVIS_BUILD_LIB_LUA)
ADD_SUBDIRECTORY(ext/lua)
ENDIF()
IF(CAMPVIS_BUILD_CORE)
ADD_SUBDIRECTORY(core)
ENDIF()
......
Subproject commit aaf39ecc16c688f6a3804477f9355651534ddec1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment