modify cmake to build ASM - add functionality compiling ASM with cmake - to enable ASM, `cmake -DENABLE_ASM=on ..`