You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no slikenet.pcFindSlikeNet.cmake or SlikeNetConfig.cmake file, leaving the users of this library to use subproject, manually copy the library binary, or other wacky tactics just to get the library into their project.
FindSlikeNet.cmake is different from SlikeNetConfig.cmake in that config is installed on the user's machine, where as Find can be installed or bundled into the dependant project.
pkg-config is different because it is a step towards having SLikeNet packaged and available in the end user's package manager (be it apt, rpm, brew, or cygwin.
There are more subtle differences between them (okay, maybe not so subtle)
Is there some way of including the library that I have missed?
p.s. If SLikeNet ends up on a package manager, it should be the shared library/DLL. Perhaps the static build/LibStatic should be a simple CMake Option?
Thanks for bringing this up. It certainly is already on our radar.
Assigned internal case number SLNET-132 to the get these added. Atm this is scheduled for 0.2.0.
Adding a metadata file for https://hunter.sh/ (A pure CMake dependency management system) would also make it substantially easier to use in CMake projects in general (while not adding a cmake requirement for this project either if not wanted).
There is no
slikenet.pc
FindSlikeNet.cmake
orSlikeNetConfig.cmake
file, leaving the users of this library to usesubproject
, manually copy the library binary, or other wacky tactics just to get the library into their project.FindSlikeNet.cmake
is different fromSlikeNetConfig.cmake
in that config is installed on the user's machine, where as Find can be installed or bundled into the dependant project.pkg-config is different because it is a step towards having SLikeNet packaged and available in the end user's package manager (be it apt, rpm, brew, or cygwin.
There are more subtle differences between them (okay, maybe not so subtle)
Is there some way of including the library that I have missed?
p.s. If SLikeNet ends up on a package manager, it should be the shared library/DLL. Perhaps the static build/LibStatic should be a simple CMake Option?
Quick Links:
pkg-config
https://www.freedesktop.org/wiki/Software/pkg-config/
https://people.freedesktop.org/~dbn/pkg-config-guide.html#writing
CMake Find Modules
https://www.vtk.org/Wiki/CMake:How_To_Find_Libraries#Writing_find_modules
CMake Package Config
https://cmake.org/cmake/help/git-master/manual/cmake-packages.7.html#creating-packages
The text was updated successfully, but these errors were encountered: