first try of configure-like cmake variables detection