Lines Matching refs:FEATURE
23 string(TOUPPER "HAVE_${VAR}" FEATURE)
30 if (NOT DEFINED COMPILE_${FEATURE})
31 message("-- Performing Test ${FEATURE}")
33 try_compile(COMPILE_${FEATURE}
37 if(COMPILE_${FEATURE})
40 set(RUN_${FEATURE} 0)
42 set(RUN_${FEATURE} 1)
45 message("-- Performing Test ${FEATURE}")
46 try_run(RUN_${FEATURE} COMPILE_${FEATURE}
53 if(RUN_${FEATURE} EQUAL 0)
54 message("-- Performing Test ${FEATURE} -- success")
58 if(NOT COMPILE_${FEATURE})
59 message("-- Performing Test ${FEATURE} -- failed to compile")
61 message("-- Performing Test ${FEATURE} -- compiled but failed to run")