Add cmake function to build initial3d projects