migrated from xcode to clion that uses cmake