diff --git a/native/CMakeLists.txt b/native/CMakeLists.txt index 69dac9a..a934e74 100644 --- a/native/CMakeLists.txt +++ b/native/CMakeLists.txt @@ -3,11 +3,12 @@ project(lcpu-native DESCRIPTION "Superproject for LCPU GMOD Native Module" ) +# Lucore (lily utilities core) add_subdirectory(projects/lucore) -add_subdirectory(projects/lucore_test) -# RISC-V emulation library +# RISC-V emulator library 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) diff --git a/native/projects/lcpu/CMakeLists.txt b/native/projects/lcpu/CMakeLists.txt index bd509ce..8cef5cb 100644 --- a/native/projects/lcpu/CMakeLists.txt +++ b/native/projects/lcpu/CMakeLists.txt @@ -43,3 +43,4 @@ target_link_libraries(lcpu_native ) set_gmod_suffix_prefix(lcpu_native) + diff --git a/native/projects/lucore_test/CMakeLists.txt b/native/projects/lucore_test/CMakeLists.txt deleted file mode 100644 index d58b036..0000000 --- a/native/projects/lucore_test/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/native/projects/lucore_test/main.cpp b/native/projects/lucore_test/main.cpp deleted file mode 100644 index 3dc97dc..0000000 --- a/native/projects/lucore_test/main.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include -#include -#include - -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"); -}