Configure ETL to throw exceptions
This commit is contained in:
parent
722a7eb202
commit
28c606643c
@ -16,10 +16,13 @@ if (EXCEPTIONS STREQUAL OFF)
|
|||||||
message("NO RTTI")
|
message("NO RTTI")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
add_compile_definitions(ETL_THROW_EXCEPTIONS)
|
||||||
add_link_options("-Wl,--print-memory-usage")
|
add_link_options("-Wl,--print-memory-usage")
|
||||||
|
|
||||||
add_executable(${PROJECT_NAME})
|
add_executable(${PROJECT_NAME})
|
||||||
|
|
||||||
|
set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 17)
|
||||||
|
|
||||||
# Normal source and header files
|
# Normal source and header files
|
||||||
file(GLOB proj_sources LIST_DIRECTORIES false CONFIGURE_DEPENDS src/*.cpp src/*.c src/*.s)
|
file(GLOB proj_sources LIST_DIRECTORIES false CONFIGURE_DEPENDS src/*.cpp src/*.c src/*.s)
|
||||||
set(proj_include "include")
|
set(proj_include "include")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user