You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A query for the "canonical" ecbuild. We (in GEOS) have a fork of ecbuild that we use in our project. Recently I had to patch our fork because I wanted to add a new CMAKE_BUILD_TYPE and it wasn't one of the allowed types by ecbuild:
# fail if build type is not one of the defined ones
if( NOT CMAKE_BUILD_TYPE MATCHES"None"AND
NOT CMAKE_BUILD_TYPE MATCHES"Debug"AND
NOT CMAKE_BUILD_TYPE MATCHES"Bit"AND
NOT CMAKE_BUILD_TYPE MATCHES"Production"AND
NOT CMAKE_BUILD_TYPE MATCHES"Release"AND
NOT CMAKE_BUILD_TYPE MATCHES"RelWithDebInfo" )
ecbuild_critical( "CMAKE_BUILD_TYPE is not recognized. ${_BUILD_TYPE_MSG}" )
endif()
My question is: is there a better way to do this? I added Aggressive as I was adding "aggressive" flags, but say someone wanted to use the more "official" MinSizeRel (which is in the CMake source). As far as I can tell, they couldn't with ecbuild.
The text was updated successfully, but these errors were encountered:
@tlmquintino Just a ping. Do you have a good method of a way to "add" additional CMAKE_BUILD_TYPES to an ecbuild system (extra functions, toolchains, etc.)?
A query for the "canonical" ecbuild. We (in GEOS) have a fork of ecbuild that we use in our project. Recently I had to patch our fork because I wanted to add a new
CMAKE_BUILD_TYPE
and it wasn't one of the allowed types by ecbuild:ecbuild/cmake/ecbuild_define_build_types.cmake
Lines 51 to 59 in d4347cf
My question is: is there a better way to do this? I added
Aggressive
as I was adding "aggressive" flags, but say someone wanted to use the more "official"MinSizeRel
(which is in the CMake source). As far as I can tell, they couldn't with ecbuild.The text was updated successfully, but these errors were encountered: