1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-04-26 05:37:46 +00:00
novus/karuku/CMakeLists.txt
Joshua Goins 2844231996
Enable Windows and Linux packaging
The Windows version isn't super working yet, but this is a good step forward
2024-04-25 02:31:40 +00:00

33 lines
No EOL
980 B
CMake

# SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
# SPDX-License-Identifier: CC0-1.0
add_executable(novus-karuku)
target_sources(novus-karuku
PRIVATE
include/mainwindow.h
include/sheetlistwidget.h
src/main.cpp
src/mainwindow.cpp
src/sheetlistwidget.cpp)
target_include_directories(novus-karuku
PUBLIC
include)
target_link_libraries(novus-karuku
PRIVATE
KF6::Archive
Novus::Common
Novus::ExdPart
Physis::Physis
Physis::Logger
Qt6::Core
Qt6::Widgets
Qt6::Network)
install(FILES zone.xiv.karaku.desktop DESTINATION ${KDE_INSTALL_APPDIR})
install(FILES zone.xiv.karaku.svg DESTINATION ${KDE_INSTALL_FULL_ICONDIR}/hicolor/scalable/apps)
install(TARGETS novus-karuku ${KF${QT_MAJOR_VERSION}_INSTALL_TARGETS_DEFAULT_ARGS})
if (WIN32)
install(FILES $<TARGET_RUNTIME_DLLS:novus-karuku> DESTINATION ${CMAKE_INSTALL_BINDIR})
endif()