Configure ETL to throw exceptions
This commit is contained in:
parent
01f4aaac41
commit
7975b84a68
@ -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")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user