set(CMAKE_UNITY_BUILD ON) add_executable(main main.cpp some_source_file_1.cpp)