gmod-lcpu/native/CMakeLists.txt

20 lines
454 B
CMake
Raw Normal View History

2023-07-16 01:58:32 -04:00
cmake_minimum_required(VERSION 3.15)
project(lcpu-native
DESCRIPTION "Superproject for LCPU GMOD Native Module"
)
option(LCPU_BUILD_UTILITIES "Build LCPU utiltiies" ON)
option(LCPU_BUILD_MODULE "Build GMod module" ON)
2023-07-18 02:08:00 -04:00
# Lucore (lily utilities core)
add_subdirectory(projects/lucore)
if(LCPU_BUILD_MODULE)
add_subdirectory(projects/riscv)
add_subdirectory(projects/lcpu)
endif()
2023-07-16 01:58:32 -04:00
if(LCPU_BUILD_UTILITIES)
add_subdirectory(projects/projgen)
endif()