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
cmake: use a library target to avoid recompilation
Instead of listing the sources separately for the git2 target and the
libgit2_clar target, create an "object library" target (for more
information, see at https://cmake.org/Wiki/CMake/Tutorials/Object_Library).
The object library will then be used to link both the git2 library
target and the libgit2_clar target instead of having to compile all the
source twice.
0 commit comments