mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 05:27:41 -05:00
Reorganized source code into files named in the fashion of imhex and split large functions into smaller ones. Moved all function definitions out of the header except for one-liners. All variable types were switched to use imHex standard (u8,...) and removed duplicated functions that were needed when the text editor was isolated. Minor improvements to find/replace while making sure they still worked with utf-8 chars.
27 lines
656 B
CMake
27 lines
656 B
CMake
cmake_minimum_required(VERSION 3.16)
|
|
|
|
include(ImHexPlugin)
|
|
|
|
add_imhex_plugin(
|
|
NAME
|
|
ui
|
|
SOURCES
|
|
source/library_ui.cpp
|
|
|
|
source/ui/hex_editor.cpp
|
|
source/ui/pattern_drawer.cpp
|
|
source/ui/visualizer_drawer.cpp
|
|
source/ui/menu_items.cpp
|
|
source/ui/pattern_value_editor.cpp
|
|
source/ui/text_editor/editor.cpp
|
|
source/ui/text_editor/highlighter.cpp
|
|
source/ui/text_editor/navigate.cpp
|
|
source/ui/text_editor/render.cpp
|
|
source/ui/text_editor/support.cpp
|
|
source/ui/text_editor/utf8.cpp
|
|
INCLUDES
|
|
include
|
|
LIBRARIES
|
|
fonts
|
|
LIBRARY_PLUGIN
|
|
) |