1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-05-09 02:47:46 +00:00
novus/parts/hex/CMakeLists.txt

32 lines
No EOL
1 KiB
CMake

# 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)
target_link_libraries(hexpart
PUBLIC
Physis::Physis
Qt6::Core
Qt6::Widgets)
target_include_directories(hexpart PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
target_compile_definitions(hexpart PRIVATE TRANSLATION_DOMAIN="novus")
add_library(Novus::HexPart ALIAS hexpart)