Skip to content
Snippets Groups Projects
Commit 240d2d6a authored by Patrick MADELA's avatar Patrick MADELA
Browse files

Rename plugins and add link

parent beb42091
No related branches found
No related tags found
No related merge requests found
file(GLOB_RECURSE sources src/*.cpp)
set(includedirs src)
add_library(StandardMotorPlugin MODULE ${sources})
add_library(StandardMotorPlugin SHARED ${sources})
target_include_directories(StandardMotorPlugin PRIVATE ${includedirs})
target_link_libraries(StandardMotorPlugin PRIVATE PluginInterfaces)
target_link_libraries(StandardMotorPlugin PRIVATE yat4tango::yat4tango)
if(PROJECT_VERSION)
set_target_properties(StandardMotorPlugin PROPERTIES OUTPUT_NAME "StandardMotorPlugin-${PROJECT_VERSION}")
set_target_properties(StandardMotorPlugin PROPERTIES VERSION ${PROJECT_VERSION})
endif()
install (TARGETS StandardMotorPlugin LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment