applied cmake into Command Remote
added CMakeLists.txts