mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-15 03:02:22 -06:00
13 lines
270 B
CMake
13 lines
270 B
CMake
set(CMAKE_UNITY_BUILD ON)
|
|
add_executable(main main.cpp some_source_file_1.cpp some_source_file_2.cpp)
|
|
|
|
set_source_files_properties(
|
|
some_source_file_1.cpp
|
|
some_source_file_2.cpp
|
|
|
|
TARGET_DIRECTORY
|
|
main
|
|
PROPERTIES
|
|
UNITY_GROUP "TestGroup"
|
|
)
|