23 lines
461 B
CMake
23 lines
461 B
CMake
cmake_minimum_required(VERSION 3.16)
|
|
|
|
include(ImHexPlugin)
|
|
|
|
add_subdirectory(${THIRD_PARTY_LIBS_FOLDER}/HashLibPlus ${CMAKE_CURRENT_BINARY_DIR}/HashLibPlus)
|
|
set_target_properties(hashplus PROPERTIES POSITION_INDEPENDENT_CODE ON)
|
|
|
|
add_imhex_plugin(
|
|
NAME
|
|
hashes
|
|
SOURCES
|
|
source/plugin_hashes.cpp
|
|
|
|
source/content/hashes.cpp
|
|
|
|
source/content/views/view_hashes.cpp
|
|
INCLUDES
|
|
include
|
|
|
|
LIBRARIES
|
|
hashplus
|
|
)
|