1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-04-25 13:17:46 +00:00
novus/apps/gamelauncher/CMakeLists.txt
Joshua Goins 2720e5fd7a Add a new game launcher program
This is simplistic for now, but I want to expand it for quick offline
testing.
2024-05-18 15:14:22 -04:00

31 lines
No EOL
864 B
CMake

# SPDX-FileCopyrightText: 2024 Joshua Goins <josh@redstrate.com>
# SPDX-License-Identifier: CC0-1.0
add_executable(novus-gamelauncher)
target_sources(novus-gamelauncher
PRIVATE
include/mainwindow.h
src/main.cpp
src/mainwindow.cpp)
target_include_directories(novus-gamelauncher
PUBLIC
include)
target_link_libraries(novus-gamelauncher
PRIVATE
Novus::Common
Physis::Physis
Physis::Logger
KF6::I18n
Qt6::Core
Qt6::Widgets)
install(TARGETS novus-gamelauncher ${KF${QT_MAJOR_VERSION}_INSTALL_TARGETS_DEFAULT_ARGS})
if (WIN32)
set_target_properties(novus-gamelauncher PROPERTIES
WIN32_EXECUTABLE TRUE
OUTPUT_NAME "GameLauncher")
install(FILES $<TARGET_RUNTIME_DLLS:novus-gamelauncher> DESTINATION ${CMAKE_INSTALL_BINDIR})
endif()