Almost perfected CMAKE fakery.