if     (${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang" OR
        ${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU")
set(          CMAKE_CXX_FLAGS_NORMAL_INIT "-O3")
set(   CMAKE_EXE_LINKER_FLAGS_NORMAL_INIT "-s")
set(CMAKE_SHARED_LINKER_FLAGS_NORMAL_INIT "-s")
set(CMAKE_STATIC_LINKER_FLAGS_NORMAL_INIT "")
set(CMAKE_MODULE_LINKER_FLAGS_NORMAL_INIT "-s")
set(          CMAKE_CXX_FLAGS_PROFILE_INIT "-O3 -p")
set(   CMAKE_EXE_LINKER_FLAGS_PROFILE_INIT "")
set(CMAKE_SHARED_LINKER_FLAGS_PROFILE_INIT "")
set(CMAKE_STATIC_LINKER_FLAGS_PROFILE_INIT "")
set(CMAKE_MODULE_LINKER_FLAGS_PROFILE_INIT "")
set(          CMAKE_CXX_FLAGS_DEBUG_INIT "-Og -g3")
set(   CMAKE_EXE_LINKER_FLAGS_DEBUG_INIT "")
set(CMAKE_SHARED_LINKER_FLAGS_DEBUG_INIT "")
set(CMAKE_STATIC_LINKER_FLAGS_DEBUG_INIT "")
set(CMAKE_MODULE_LINKER_FLAGS_DEBUG_INIT "")
endif()
