mirror of
https://github.com/unittest-cpp/unittest-cpp
synced 2026-09-26 16:19:30 +03:00
Add pkg config file (with help from Vicente Adolfo Bolea Sánchez)
This commit is contained in:
parent
dab64862c4
commit
5e52ae70dc
4 changed files with 16 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -41,3 +41,4 @@ Makefile.in
|
||||||
.libs
|
.libs
|
||||||
*.log
|
*.log
|
||||||
*.trs
|
*.trs
|
||||||
|
*.pc
|
||||||
|
|
|
||||||
|
|
@ -3,3 +3,6 @@ EXTRA_DIST = docs
|
||||||
|
|
||||||
include UnitTest++/Makefile.am
|
include UnitTest++/Makefile.am
|
||||||
include tests/Makefile.am
|
include tests/Makefile.am
|
||||||
|
|
||||||
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
|
pkgconfig_DATA = UnitTest++.pc
|
||||||
|
|
|
||||||
11
UnitTest++.pc.in
Normal file
11
UnitTest++.pc.in
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
prefix=@prefix@
|
||||||
|
exec_prefix=@exec_prefix@
|
||||||
|
libdir=@libdir@
|
||||||
|
includedir=@includedir@
|
||||||
|
|
||||||
|
Name: UnitTest++
|
||||||
|
Description: UnitTest++ is a simple C++ Unit Test Framework
|
||||||
|
URL: https://github.com/unittest-cpp/unittest-cpp
|
||||||
|
Version: @PACKAGE_VERSION@
|
||||||
|
Libs: -L${libdir} -lUnitTest++
|
||||||
|
Cflags: -I${includedir}/
|
||||||
|
|
@ -6,6 +6,7 @@ AC_INIT([UnitTest++], [1.4.1], [pjohnmeyer@gmail.com])
|
||||||
AC_CONFIG_SRCDIR([UnitTest++/TestDetails.cpp])
|
AC_CONFIG_SRCDIR([UnitTest++/TestDetails.cpp])
|
||||||
AC_CONFIG_MACRO_DIR([m4])
|
AC_CONFIG_MACRO_DIR([m4])
|
||||||
AC_CONFIG_HEADERS([config.h])
|
AC_CONFIG_HEADERS([config.h])
|
||||||
|
AC_CONFIG_FILES([UnitTest++.pc])
|
||||||
|
|
||||||
AM_INIT_AUTOMAKE([foreign subdir-objects])
|
AM_INIT_AUTOMAKE([foreign subdir-objects])
|
||||||
AM_CONDITIONAL([WINDOWS],
|
AM_CONDITIONAL([WINDOWS],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue