2023-08-31 09:09:52 +02:00
|
|
|
# SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
|
|
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
|
2023-03-27 12:49:53 -04:00
|
|
|
cmake_minimum_required(VERSION 3.25)
|
|
|
|
project(Redai)
|
|
|
|
|
|
|
|
set(CMAKE_CXX_STANDARD 20)
|
|
|
|
set(CMAKE_AUTOMOC ON)
|
|
|
|
set(CMAKE_AUTORCC ON)
|
|
|
|
set(CMAKE_AUTOUIC ON)
|
|
|
|
|
|
|
|
find_package(Qt5 COMPONENTS
|
|
|
|
Core
|
|
|
|
Gui
|
|
|
|
Widgets
|
2023-06-15 13:54:18 -04:00
|
|
|
Concurrent
|
2023-03-27 12:49:53 -04:00
|
|
|
REQUIRED)
|
|
|
|
|
2023-08-31 09:02:17 +02:00
|
|
|
add_executable(Redai)
|
|
|
|
target_sources(Redai PRIVATE
|
|
|
|
src/ArtConfigWindow.cpp
|
|
|
|
src/ArtConfigWindow.h
|
|
|
|
src/ArtDetailWindow.cpp
|
|
|
|
src/ArtDetailWindow.h
|
|
|
|
src/ArtModel.cpp
|
|
|
|
src/ArtModel.h
|
|
|
|
src/imagelabel.cpp
|
|
|
|
src/imagelabel.h
|
|
|
|
src/main.cpp
|
|
|
|
src/MainWindow.cpp
|
|
|
|
src/MainWindow.h)
|
2023-03-27 12:49:53 -04:00
|
|
|
target_link_libraries(Redai
|
|
|
|
Qt5::Core
|
|
|
|
Qt5::Gui
|
|
|
|
Qt5::Widgets
|
2023-06-15 13:54:18 -04:00
|
|
|
Qt5::Concurrent
|
2023-03-27 12:49:53 -04:00
|
|
|
)
|
|
|
|
|