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)
|
|
|
|
target_sources(novus-sagasu-static PRIVATE
|
|
|
|
include/hashdatabase.h
|
|
|
|
src/hashdatabase.cpp)
|
|
|
|
target_link_libraries(novus-sagasu-static PUBLIC physis z Qt6::Core Qt6::Sql novus-common)
|
|
|
|
target_include_directories(novus-sagasu-static PRIVATE include)
|
|
|
|
|
|
|
|
add_executable(novus-sagasu-indexer)
|
|
|
|
target_sources(novus-sagasu-indexer PRIVATE
|
|
|
|
src/indexer.cpp)
|
2023-10-14 20:23:27 -04:00
|
|
|
target_link_libraries(novus-sagasu-indexer PRIVATE Qt6::HttpServer novus-sagasu-static)
|
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)
|
|
|
|
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-10-13 15:36:36 -04:00
|
|
|
target_link_libraries(novus-sagasu PRIVATE Qt6::Concurrent sklbpart cmppart shpkpart hexpart exlpart mdlpart exdpart texpart novus-sagasu-static)
|
2022-04-14 08:24:06 -04:00
|
|
|
|
2023-10-10 17:55:49 -04:00
|
|
|
install(TARGETS novus-sagasu ${KF${QT_MAJOR_VERSION}_INSTALL_TARGETS_DEFAULT_ARGS})
|