blt messages

v1
Brett 2023-11-22 19:17:15 -05:00
parent b4a7ee4035
commit f49147ca3d
1 changed files with 5 additions and 0 deletions

View File

@ -22,24 +22,29 @@ option(BLT_DISABLE_FATAL "Disable blt::logging BLT_FATAL macro" OFF)
configure_file(include/blt/config.h.in config/blt/config.h @ONLY)
if(${BUILD_STD} OR ${BUILD_PROFILING})
message("Building STD")
file(GLOB_RECURSE STD_FILES "${CMAKE_CURRENT_SOURCE_DIR}/src/blt/std/*.cpp")
else()
set(STD_FILES "")
endif()
if(${BUILD_PROFILING})
message("Building Profiling")
file(GLOB_RECURSE PROFILING_FILES "${CMAKE_CURRENT_SOURCE_DIR}/src/blt/profiling/*.cpp")
else()
message("We are not building profiling")
set(PROFILING_FILES "")
endif()
if(${BUILD_NBT})
message("Building NBT")
file(GLOB_RECURSE NBT_FILES "${CMAKE_CURRENT_SOURCE_DIR}/src/blt/nbt/*.cpp")
else()
set(NBT_FILES "")
endif()
if(${BUILD_PARSE})
message("Building Parsers")
file(GLOB_RECURSE PARSE_FILES "${CMAKE_CURRENT_SOURCE_DIR}/src/blt/parse/*.cpp")
else()
set(PARSE_FILES "")