addin CmakeLists for Loop