@ -88,7 +88,11 @@ set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS ${carotene_defs})
# m a t c h T e m p l a t e a b o u t 5 - 1 0 %
# g o o d F e a t u r e s T o T r a c k 1 0 - 2 0 %
# c o r n e r H a r r i s 3 0 % f o r s o m e c a s e s
set_source_files_properties ( impl.cpp $< TARGET_OBJECTS:carotene_objs > COMPILE_FLAGS "--param ipcp-unit-growth=100000 --param inline-unit-growth=100000 --param large-stack-frame-growth=5000" )
if ( CMAKE_CXX_COMPILER_VERSION VERSION_LESS "10.0.0" )
set_source_files_properties ( impl.cpp $< TARGET_OBJECTS:carotene_objs > COMPILE_FLAGS "--param ipcp-unit-growth=100000 --param inline-unit-growth=100000 --param large-stack-frame-growth=5000" )
else ( )
set_source_files_properties ( impl.cpp $< TARGET_OBJECTS:carotene_objs > COMPILE_FLAGS "--param ipa-cp-unit-growth=100000 --param inline-unit-growth=100000 --param large-stack-frame-growth=5000" )
endif ( )
# set_source_files_properties ( impl.cpp $< TARGET_OBJECTS:carotene_objs > COMPILE_FLAGS "--param ipcp-unit-growth=100000 --param inline-unit-growth=100000 --param large-stack-frame-growth=5000" )
endif ( )