wip build_with_cmake macro