have CMakeLists.txt install a pkgconfig file (+ other fixes for building with MSYS) (#27)
Some checks are pending
pyrite-dev/milsko/pipeline/head Build started...

Reviewed-on: #27
This commit is contained in:
IoIxD 2026-07-17 07:48:06 +09:00 committed by IoI_xD
commit 610c63228e
2 changed files with 39 additions and 12 deletions

10
resource/milsko.pc.in Normal file
View file

@ -0,0 +1,10 @@
prefix="@CMAKE_INSTALL_PREFIX@"
includedir="@CMAKE_INSTALL_PREFIX@/include"
libdir="@CMAKE_INSTALL_PREFIX@/bin"
Name: @PROJECT_NAME@
Description: @PROJECT_DESCRIPTION@
URL: @PROJECT_HOMEPAGE_URL@
Version: @PROJECT_VERSION@
Cflags: -I"${includedir}"/
Libs: -L"${libdir}" -lMw