cut off lucore test
This commit is contained in:
parent
9d7ef71d3b
commit
55eb398b1c
|
@ -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)
|
||||||
|
|
|
@ -43,3 +43,4 @@ target_link_libraries(lcpu_native
|
||||||
)
|
)
|
||||||
|
|
||||||
set_gmod_suffix_prefix(lcpu_native)
|
set_gmod_suffix_prefix(lcpu_native)
|
||||||
|
|
||||||
|
|
|
@ -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)
|
|
|
@ -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");
|
|
||||||
}
|
|
Loading…
Reference in New Issue