Split old cmake lib & new nomdev build scripts