[CMake] Bindings are not built by default

This commit is contained in:
cuke 2015-09-05 14:19:20 +02:00
parent 806168fc2d
commit f5b4f7c205
1 changed files with 11 additions and 2 deletions

View File

@ -1,4 +1,13 @@
cmake_minimum_required(VERSION 3.0) cmake_minimum_required(VERSION 3.0)
set(BUILD_DQML FALSE CACHE BOOL "Enable the building of the D bindings")
set(BUILD_NIMQML FALSE CACHE BOOL "Enable the building of the Nim bindings")
add_subdirectory(DOtherSide) add_subdirectory(DOtherSide)
add_subdirectory(Nim) if (BUILD_DQML)
add_subdirectory(D) add_subdirectory(D)
endif()
if (BUILD_NIMQML)
add_subdirectory(Nim)
endif()