I have implemented myself package, and I want to distribute the dll/lib.
Currently, I can generate dll/lib with install. How can I generate the variable Self_LIBRARIES just like ITK_LIBRARIES?
With Self_LIBRARIES, user can include all modules by target_link_libraries(pro ${Self_LIBRARIES}). Without it, user can only use the dll by target_link_libraries(pro xx1module xx2module). It is hard for user to learn which module includes the needed function.
So, I wonder how to implement the Self_LIBRARIES? Any suggestion is appreciated~~~