Seminar Computergrafik mit GameEngines: EventQueue (inspiriert von https://gameprogrammingpatterns.com/event-queue.html)
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.
16 lines
384 B
16 lines
384 B
cmake_minimum_required(VERSION 3.24)
|
|
project(EventQueue)
|
|
|
|
set(CMAKE_CXX_STANDARD 23)
|
|
|
|
set(CMAKE_AUTOMOC ON)
|
|
set(CMAKE_AUTOUIC ON)
|
|
set(CMAKE_AUTORCC ON)
|
|
|
|
find_package(Qt6 REQUIRED COMPONENTS Widgets)
|
|
|
|
file(GLOB_RECURSE SRC_FILES src/**.cpp)
|
|
file(GLOB_RECURSE HEADER_FILES src/**.h)
|
|
add_executable(EventQueue ${SRC_FILES} ${HEADER_FILES})
|
|
|
|
target_link_libraries(EventQueue Qt::Widgets)
|
|
|