1 2 3 4
enable_language(OBJC) set(CMAKE_OBJC_COMPILER_LAUNCHER "${CMAKE_COMMAND};-E;env;USED_LAUNCHER=1") set(CMAKE_VERBOSE_MAKEFILE TRUE) add_executable(main main.m)