Logging
Got a very basic logger up and working. Can be used with the Q[LEVEL] macros. Still needs some work to add coloring to the console and to be able to write logs out to files.
This commit is contained in:
@@ -6,7 +6,8 @@ set(quantum-src "./quantum/src/")
|
||||
set(test_stuff-src "./test_stuff/src/")
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
add_library(quantum SHARED ${quantum-src}memory/zone.c)
|
||||
add_library(quantum SHARED ${quantum-src}memory/zone.c
|
||||
${quantum-src}logger/logger.c)
|
||||
add_executable(test_stuff ${test_stuff-src}main.c)
|
||||
|
||||
target_link_libraries(test_stuff quantum)
|
||||
|
||||
Reference in New Issue
Block a user