1
0
mirror of synced 2024-12-18 10:35:53 +01:00
ImHex/tests/plugins/CMakeLists.txt
iTrooz 47362559ef
tests: Add infrastructure for testing plugins (#1538)
This PR adds a test architecture to be able to test plugins

Main infrastructure done by @WerWolv

---------

Co-authored-by: WerWolv <werwolv98@gmail.com>
2024-02-26 20:51:08 +01:00

17 lines
506 B
CMake

cmake_minimum_required(VERSION 3.16)
project(plugins_test)
add_executable(${PROJECT_NAME}
source/plugins.cpp
)
# ---- No need to change anything from here downwards unless you know what you're doing ---- #
target_include_directories(${PROJECT_NAME} PRIVATE include)
target_link_libraries(${PROJECT_NAME} PRIVATE libimhex tests_common ${FMT_LIBRARIES})
set_target_properties(${PROJECT_NAME} PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
add_dependencies(unit_tests ${PROJECT_NAME})