ctcompare: initial cmake script