2023-08-06 08:48:11 -04:00
|
|
|
# SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
|
|
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
|
2023-10-12 19:04:19 -04:00
|
|
|
add_library(novus-sagasu-static STATIC)
|
2023-12-10 06:51:33 -05:00
|
|
|
target_sources(novus-sagasu-static
|
|
|
|
PRIVATE
|
2023-10-12 19:04:19 -04:00
|
|
|
include/hashdatabase.h
|
|
|
|
src/hashdatabase.cpp)
|
2023-12-09 21:51:57 -05:00
|
|
|
target_link_libraries(novus-sagasu-static
|
|
|
|
PUBLIC
|
|
|
|
Novus::Common
|
|
|
|
Physis::Physis
|
|
|
|
Qt6::Core
|
|
|
|
Qt6::Sql)
|
2023-10-12 19:04:19 -04:00
|
|
|
target_include_directories(novus-sagasu-static PRIVATE include)
|
|
|
|
|
|
|
|
add_executable(novus-sagasu-indexer)
|
2023-12-10 06:51:33 -05:00
|
|
|
target_sources(novus-sagasu-indexer PRIVATE src/indexer.cpp)
|
2023-12-09 21:51:57 -05:00
|
|
|
target_link_libraries(novus-sagasu-indexer
|
|
|
|
PRIVATE
|
|
|
|
novus-sagasu-static
|
|
|
|
Qt6::HttpServer)
|
2023-10-12 19:04:19 -04:00
|
|
|
target_include_directories(novus-sagasu-indexer PRIVATE include)
|
|
|
|
|
2023-10-10 18:31:58 -04:00
|
|
|
add_executable(novus-sagasu)
|
2023-12-10 06:51:33 -05:00
|
|
|
target_sources(novus-sagasu
|
|
|
|
PRIVATE
|
2022-04-14 08:24:06 -04:00
|
|
|
src/main.cpp
|
2023-04-09 15:32:09 -04:00
|
|
|
src/mainwindow.cpp
|
|
|
|
src/filetreewindow.cpp
|
2023-10-12 19:04:19 -04:00
|
|
|
src/filepropertieswindow.cpp
|
|
|
|
src/filetreemodel.cpp)
|
2023-10-10 18:31:58 -04:00
|
|
|
target_include_directories(novus-sagasu PRIVATE include)
|
2023-12-09 21:51:57 -05:00
|
|
|
target_link_libraries(novus-sagasu
|
|
|
|
PRIVATE
|
|
|
|
novus-sagasu-static
|
|
|
|
Novus::SklbPart
|
|
|
|
Novus::CmpPart
|
|
|
|
Novus::ShpkPart
|
|
|
|
Novus::HexPart
|
|
|
|
Novus::ExlPart
|
|
|
|
Novus::MdlPart
|
|
|
|
Novus::ExdPart
|
|
|
|
Novus::TexPart
|
|
|
|
Physis::Logger
|
|
|
|
Qt6::Concurrent)
|
2022-04-14 08:24:06 -04:00
|
|
|
|
2023-12-31 12:11:42 -05:00
|
|
|
install(FILES zone.xiv.sagasu.desktop DESTINATION ${KDE_INSTALL_APPDIR})
|
|
|
|
install(FILES zone.xiv.sagasu.svg DESTINATION ${KDE_INSTALL_FULL_ICONDIR}/hicolor/scalable/apps)
|
2023-10-10 17:55:49 -04:00
|
|
|
install(TARGETS novus-sagasu ${KF${QT_MAJOR_VERSION}_INSTALL_TARGETS_DEFAULT_ARGS})
|