Add a debug output utility.

This commit is contained in:
Drew Galbraith 2023-05-17 20:42:59 -07:00
parent c2af2eee97
commit 872e6f3392
4 changed files with 24 additions and 4 deletions

View file

@ -1,6 +1,12 @@
add_executable(zion
debug/debug.cpp
zion.cpp)
target_include_directories(zion
PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}
)
# -c -- Don't run the linker.
# -nostdlib -- Don't include the standard library.
# -mabi=sysv -- Explicitly specify the ABI since we will rely on it.