cmakedefine01 makes this possible, with the benefit of warning if the config-*.h file isn't included.