1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-04-26 21:57:45 +00:00
novus/apps/armoury/CMakeLists.txt

71 lines
2.1 KiB
Text
Raw Normal View History

# SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
# SPDX-License-Identifier: CC0-1.0
add_executable(novus-armoury)
2023-12-10 06:51:33 -05:00
target_sources(novus-armoury
PRIVATE
include/boneeditor.h
include/cmpeditor.h
include/fullmodelviewer.h
include/gearlistmodel.h
include/gearlistwidget.h
include/gearview.h
include/mainwindow.h
include/metadataview.h
include/penumbraapi.h
include/settingswindow.h
include/singlegearview.h
src/boneeditor.cpp
src/cmpeditor.cpp
src/fullmodelviewer.cpp
src/gearlistmodel.cpp
src/gearlistwidget.cpp
src/gearview.cpp
src/main.cpp
src/mainwindow.cpp
src/metadataview.cpp
src/penumbraapi.cpp
src/settingswindow.cpp
src/singlegearview.cpp)
target_include_directories(novus-armoury
2022-04-11 21:59:37 -04:00
PUBLIC
2023-07-08 10:12:35 -04:00
include
PRIVATE
${CMAKE_BINARY_DIR})
2023-12-09 21:51:57 -05:00
target_link_libraries(novus-armoury
PUBLIC
Novus::Common
Novus::MdlPart
Novus::CmpPart
Novus::SklbPart
Novus::MtrlPart
2023-12-09 21:51:57 -05:00
Physis::Physis
Physis::Logger
imgui
2023-09-26 00:37:55 -04:00
Qt6::Core
Qt6::Widgets
Qt6::Concurrent
Qt6::Network)
2022-04-11 21:59:37 -04:00
install(TARGETS novus-armoury ${KF${QT_MAJOR_VERSION}_INSTALL_TARGETS_DEFAULT_ARGS})
install(FILES geareditor.rc DESTINATION ${KDE_INSTALL_KXMLGUIDIR}/novus)
2024-04-25 19:11:00 -04:00
ecm_add_app_icon(novus-armoury
ICONS
${CMAKE_SOURCE_DIR}/resources/16-armoury.png
${CMAKE_SOURCE_DIR}/resources/32-armoury.png
${CMAKE_SOURCE_DIR}/resources/48-armoury.png
${CMAKE_SOURCE_DIR}/resources/256-armoury.png
)
if (WIN32)
set_target_properties(novus-armoury PROPERTIES
WIN32_EXECUTABLE TRUE
OUTPUT_NAME "Armoury")
install(FILES $<TARGET_RUNTIME_DLLS:novus-armoury> DESTINATION ${CMAKE_INSTALL_BINDIR})
else()
install(FILES zone.xiv.armoury.desktop DESTINATION ${KDE_INSTALL_APPDIR})
install(FILES zone.xiv.armoury.svg DESTINATION ${KDE_INSTALL_FULL_ICONDIR}/hicolor/scalable/apps)
endif()