add engine cmakefile