cut off lucore test

This commit is contained in:
Lily Tsuru 2023-07-18 02:08:00 -04:00
parent 9d7ef71d3b
commit 55eb398b1c
4 changed files with 5 additions and 26 deletions

View File

@ -3,11 +3,12 @@ project(lcpu-native
DESCRIPTION "Superproject for LCPU GMOD Native Module" DESCRIPTION "Superproject for LCPU GMOD Native Module"
) )
# Lucore (lily utilities core)
add_subdirectory(projects/lucore) add_subdirectory(projects/lucore)
add_subdirectory(projects/lucore_test)
# RISC-V emulation library # RISC-V emulator library
add_subdirectory(projects/riscv) add_subdirectory(projects/riscv)
# Garry's Mod bindings # Garry's Mod native bindings to RISC-V emulator
# Also lua device stuff
add_subdirectory(projects/lcpu) add_subdirectory(projects/lcpu)

View File

@ -43,3 +43,4 @@ target_link_libraries(lcpu_native
) )
set_gmod_suffix_prefix(lcpu_native) set_gmod_suffix_prefix(lcpu_native)

View File

@ -1,8 +0,0 @@
# this is a temporary project to test lucore functionality while it's in development
add_executable(lucore_test
main.cpp
)
target_link_libraries(lucore_test PUBLIC
lucore::lucore)

View File

@ -1,15 +0,0 @@
#include <format>
#include <lucore/Assert.hpp>
#include <lucore/Logger.hpp>
int main() {
lucore::LoggerAttachStdout();
auto& logger = lucore::Logger::The();
logger.Info("Hello World {}", 123.456);
logger.Warning("sample warning");
logger.Error("Smaple Error");
//LUCORE_ASSERT(false, "expr should assert");
LUCORE_CHECK(false, "should appear");
}