cmake and resources