-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
20 lines (17 loc) · 977 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
cmake_minimum_required(VERSION 3.16)
project(Chemivec LANGUAGES NONE)
# Override Indigo options to install indigo-core only
set(BUILD_INDIGO_WRAPPERS OFF CACHE STRING "Build all existing Indigo API wrappers" FORCE)
set(BUILD_INDIGO_UTILS OFF CACHE STRING "Build indigo-cano, indigo-deco and indigo-depict utilities" FORCE)
set(BUILD_BINGO OFF CACHE STRING "Build all existing Bingo cartridges" FORCE)
set(BUILD_BINGO_ELASTIC OFF CACHE STRING "Build Bingo Elastic cartridges for Java and Python" FORCE)
set(WITH_STATIC ON CACHE STRING "Build Indigo static library as well as shared" FORCE)
set(ENABLE_TESTS OFF CACHE STRING "Enable Indigo CTest tests" FORCE)
# Tests
set(TEST_CHEMIVEC ON CACHE STRING "Enable Chemivec CTest tests")
set(CIBUILDWHEEL OFF CACHE STRING "Build during cibuildwheel session")
if ($ENV{CIBUILDWHEEL} MATCHES 1)
set(CIBUILDWHEEL ON)
endif()
#set(CIBUILDWHEELS $ENV{CIBUILDWHEELS} CACHE STRING "Cibuildwheel presence" FORCE)
add_subdirectory(src)