RVSCC/fw/CMakeLists.txt
Mario Romero 37e0c938a3
Some checks reported errors
continuous-integration/drone/push Build was killed
Update sandbox
2023-03-02 18:16:41 -03:00

18 lines
405 B
CMake

cmake_minimum_required(VERSION 3.10)
project(firmware C ASM)
option(TEST "Enable test firmware compilation" ON)
option(SANDBOX_ASM "Enable sandbox compilation using ASM language" OFF)
option(SANDBOX_C "Enable sandbox compilation using C language" OFF)
if (SANDBOX_ASM)
add_subdirectory(sandbox/asm)
elseif (SANDBOX_C)
add_subdirectory(sandbox/c)
endif()
if (TEST)
add_subdirectory(test)
endif()