2023-10-12 20:18:11 -04:00
|
|
|
# SPDX-FileCopyrightText: 2023 Joshua Goins <josh@redstrate.com>
|
|
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
|
|
|
|
add_library(hexpart STATIC)
|
|
|
|
target_sources(hexpart PRIVATE
|
|
|
|
document/buffer/qhexbuffer.cpp
|
|
|
|
document/buffer/qhexbuffer.h
|
|
|
|
document/buffer/qmemorybuffer.cpp
|
|
|
|
document/buffer/qmemorybuffer.h
|
|
|
|
document/buffer/qmemoryrefbuffer.cpp
|
|
|
|
document/buffer/qmemoryrefbuffer.h
|
|
|
|
document/qhexcursor.cpp
|
|
|
|
document/qhexcursor.h
|
|
|
|
document/qhexdocument.cpp
|
|
|
|
document/qhexdocument.h
|
|
|
|
document/qhexmetadata.cpp
|
|
|
|
document/qhexmetadata.h
|
|
|
|
document/qhexrenderer.cpp
|
|
|
|
document/qhexrenderer.h
|
|
|
|
hexpart.cpp
|
|
|
|
hexpart.h
|
|
|
|
qhexview.cpp
|
|
|
|
qhexview.h)
|
2023-12-09 21:51:57 -05:00
|
|
|
target_link_libraries(hexpart
|
|
|
|
PUBLIC
|
|
|
|
Physis::Physis
|
|
|
|
Qt6::Core
|
|
|
|
Qt6::Widgets)
|
|
|
|
target_include_directories(hexpart PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
2024-02-04 15:36:08 -05:00
|
|
|
target_compile_definitions(hexpart PRIVATE TRANSLATION_DOMAIN="novus")
|
2023-12-09 21:51:57 -05:00
|
|
|
|
|
|
|
add_library(Novus::HexPart ALIAS hexpart)
|