move compilation part of symphony into a specific cmakefile