2020-05-21 13:30:30 -07:00
|
|
|
cmake_minimum_required(VERSION 3.5)
|
|
|
|
project("Beef")
|
|
|
|
|
|
|
|
if(NOT CMAKE_BUILD_TYPE)
|
|
|
|
set(CMAKE_BUILD_TYPE "Debug")
|
|
|
|
message(STATUS "Build type not specified: Use Debug by default.")
|
|
|
|
endif(NOT CMAKE_BUILD_TYPE)
|
|
|
|
|
2022-11-10 06:37:55 -08:00
|
|
|
|
|
|
|
if (DEFINED BF_ONLY_RUNTIME)
|
|
|
|
|
|
|
|
add_subdirectory(BeefRT)
|
|
|
|
add_subdirectory(BeefySysLib)
|
|
|
|
|
|
|
|
else()
|
|
|
|
|
2022-11-07 09:57:27 -08:00
|
|
|
add_subdirectory(BeefRT)
|
2020-05-21 13:30:30 -07:00
|
|
|
add_subdirectory(BeefySysLib)
|
2022-11-07 09:57:27 -08:00
|
|
|
add_subdirectory(extern/hunspell)
|
2020-05-21 13:30:30 -07:00
|
|
|
add_subdirectory(IDEHelper)
|
|
|
|
add_subdirectory(BeefBoot)
|
2022-11-10 06:37:55 -08:00
|
|
|
|
|
|
|
|
|
|
|
endif()
|