# Sample Plugin compilation add_library(SamplePlugin SHARED SamplePlugin.cpp ) target_link_libraries(SamplePlugin nlohmann_json::nlohmann_json) target_include_directories(SamplePlugin PUBLIC ${CMAKE_SOURCE_DIR}/external/cista/include) # Set the output directory for the plugins set_target_properties(SamplePlugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/plugins )