You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
321 B
13 lines
321 B
cmake_minimum_required(VERSION 3.16)
|
|
project(UnityMocSource)
|
|
include("../AutogenGuiTest.cmake")
|
|
|
|
set(CMAKE_AUTOMOC ON)
|
|
set(CMAKE_UNITY_BUILD ON)
|
|
|
|
add_library(library library.cpp)
|
|
target_link_libraries(library ${QT_LIBRARIES})
|
|
|
|
add_executable(unityMocSource main.cpp)
|
|
target_link_libraries(unityMocSource PRIVATE library)
|