Configure ETL to throw exceptions

This commit is contained in:
Maddie Busig 2025-05-06 22:53:10 -07:00
parent 722a7eb202
commit 28c606643c

View File

@ -16,10 +16,13 @@ if (EXCEPTIONS STREQUAL OFF)
message("NO RTTI")
endif()
add_compile_definitions(ETL_THROW_EXCEPTIONS)
add_link_options("-Wl,--print-memory-usage")
add_executable(${PROJECT_NAME})
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 17)
# Normal source and header files
file(GLOB proj_sources LIST_DIRECTORIES false CONFIGURE_DEPENDS src/*.cpp src/*.c src/*.s)
set(proj_include "include")