.cmake files to reduce "code" duplicate