You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
250 B
CMake
12 lines
250 B
CMake
![]()
5 years ago
|
project(qt_app_server)
|
||
|
|
||
|
find_package(Qt5 CONFIG REQUIRED Core Gui Widgets)
|
||
|
|
||
|
set(CMAKE_AUTOMOC ON)
|
||
|
|
||
|
file(GLOB SRCS *.cpp *.h)
|
||
|
|
||
|
add_executable(qt_app_server ${SRCS})
|
||
|
|
||
|
target_link_libraries(qt_app_server Qt5::Core Qt5::Gui Qt5::Widgets ${EXAMPLE_LIBS})
|