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