2023-12-23 21:09:41 +01:00
|
|
|
cmake_minimum_required(VERSION 3.16)
|
|
|
|
|
|
|
|
include(ImHexPlugin)
|
|
|
|
|
|
|
|
if (NOT USE_SYSTEM_MINIAUDIO)
|
|
|
|
add_subdirectory(${THIRD_PARTY_LIBS_FOLDER}/miniaudio ${CMAKE_CURRENT_BINARY_DIR}/miniaudio EXCLUDE_FROM_ALL)
|
|
|
|
set(MINIAUDIO_LIBRARIES miniaudio)
|
|
|
|
else()
|
2024-01-26 12:13:22 +01:00
|
|
|
find_package(miniaudio REQUIRED)
|
2023-12-23 21:09:41 +01:00
|
|
|
endif()
|
|
|
|
|
|
|
|
add_imhex_plugin(
|
|
|
|
NAME
|
|
|
|
visualizers
|
|
|
|
SOURCES
|
|
|
|
source/plugin_visualizers.cpp
|
|
|
|
|
|
|
|
source/content/pl_visualizers.cpp
|
|
|
|
source/content/pl_inline_visualizers.cpp
|
|
|
|
|
|
|
|
source/content/pl_visualizers/line_plot.cpp
|
|
|
|
source/content/pl_visualizers/scatter_plot.cpp
|
|
|
|
source/content/pl_visualizers/image.cpp
|
|
|
|
source/content/pl_visualizers/3d_model.cpp
|
|
|
|
source/content/pl_visualizers/sound.cpp
|
|
|
|
source/content/pl_visualizers/coordinates.cpp
|
|
|
|
source/content/pl_visualizers/timestamp.cpp
|
|
|
|
INCLUDES
|
|
|
|
include
|
|
|
|
${MINIAUDIO_INCLUDE_DIRS}
|
|
|
|
|
|
|
|
LIBRARIES
|
|
|
|
${JTHREAD_LIBRARIES}
|
|
|
|
${MINIAUDIO_LIBRARIES}
|
2024-01-28 22:14:59 +01:00
|
|
|
LIBRARIES
|
|
|
|
fonts
|
2023-12-23 21:09:41 +01:00
|
|
|
)
|