2023-12-23 22:01:47 +01:00
|
|
|
cmake_minimum_required(VERSION 3.16)
|
|
|
|
|
|
|
|
include(ImHexPlugin)
|
|
|
|
|
|
|
|
add_subdirectory(${THIRD_PARTY_LIBS_FOLDER}/HashLibPlus ${CMAKE_CURRENT_BINARY_DIR}/HashLibPlus)
|
2023-12-24 12:20:51 +01:00
|
|
|
set_target_properties(hashplus PROPERTIES POSITION_INDEPENDENT_CODE ON)
|
2023-12-23 22:01:47 +01:00
|
|
|
|
|
|
|
add_imhex_plugin(
|
|
|
|
NAME
|
|
|
|
hashes
|
|
|
|
SOURCES
|
|
|
|
source/plugin_hashes.cpp
|
|
|
|
|
|
|
|
source/content/hashes.cpp
|
|
|
|
|
|
|
|
source/content/views/view_hashes.cpp
|
|
|
|
INCLUDES
|
|
|
|
include
|
|
|
|
|
|
|
|
LIBRARIES
|
|
|
|
hashplus
|
|
|
|
)
|