common helpers for cmake projects