[CMake] Bindings are not built by default
This commit is contained in:
parent
806168fc2d
commit
f5b4f7c205
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue