summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9820f00)
raw | patch | inline | side by side (parent: 9820f00)
author | Tomi Valkeinen <tomi.valkeinen@iki.fi> | |
Wed, 30 Sep 2015 19:38:28 +0000 (22:38 +0300) | ||
committer | Tomi Valkeinen <tomi.valkeinen@iki.fi> | |
Thu, 1 Oct 2015 16:40:22 +0000 (19:40 +0300) |
CMakeLists.txt | patch | blob | history |
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 433418e1414b6a1d34aa4c043c8cae06a5497090..8a20996a77a9e2c5603ab11893715a5b5bd6b01c 100644 (file)
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
FORCE)
ENDIF(NOT CMAKE_BUILD_TYPE)
+set(LIBKMS_ENABLE_PYTHON ON CACHE BOOL "Enable Python wrappers")
+set(LIBKMS_ENABLE_LUA ON CACHE BOOL "Enable Lua wrappers")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall")
add_subdirectory(libkms++)
add_subdirectory(tests)
-add_subdirectory(py)
-add_subdirectory(lua)
+if(LIBKMS_ENABLE_PYTHON)
+ add_subdirectory(py)
+endif()
+
+if(LIBKMS_ENABLE_LUA)
+ add_subdirectory(lua)
+endif()