mirror of
https://git.gfz-potsdam.de/naaice/tug.git
synced 2025-12-13 09:28:23 +01:00
Define new build type 'GenericOpt'
This commit is contained in:
parent
1c86a7e5b3
commit
8ed121cfe6
@ -10,5 +10,13 @@ find_package(OpenMP)
|
||||
|
||||
option(USE_OPENMP "Compile with OpenMP support" ON)
|
||||
|
||||
set(CMAKE_CXX_FLAGS_GENERICOPT "-O3 -march=native" CACHE STRING
|
||||
"Flags used by the C++ compiler during opt builds."
|
||||
FORCE)
|
||||
|
||||
set(CMAKE_BUILD_TYPE "${CMAKE_BUILD_TYPE}" CACHE STRING
|
||||
"Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel GenericOpt."
|
||||
FORCE)
|
||||
|
||||
add_subdirectory(app)
|
||||
add_subdirectory(src)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user