Configures cmake with custom test build targets and ignores them