2023-07-16 01:58:32 -04:00
|
|
|
cmake_minimum_required(VERSION 3.15)
|
|
|
|
project(lcpu-native
|
|
|
|
DESCRIPTION "Superproject for LCPU GMOD Native Module"
|
|
|
|
)
|
|
|
|
|
2023-07-30 06:57:31 -04:00
|
|
|
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)
|
2023-07-16 05:46:49 -04:00
|
|
|
add_subdirectory(projects/lucore)
|
2023-07-16 02:15:55 -04:00
|
|
|
|
2023-07-30 06:57:31 -04:00
|
|
|
if(LCPU_BUILD_MODULE)
|
|
|
|
add_subdirectory(projects/riscv)
|
|
|
|
add_subdirectory(projects/lcpu)
|
|
|
|
endif()
|
2023-07-16 01:58:32 -04:00
|
|
|
|
2023-07-30 06:57:31 -04:00
|
|
|
if(LCPU_BUILD_UTILITIES)
|
|
|
|
add_subdirectory(projects/projgen)
|
|
|
|
endif()
|