Note that using pkg-config is NOT recommended because of: 1. It doesn't know which language you are using, so language-specific options such as -std=c++11 or -std=c99 cannot be passed along. Yet, the build will corrupt if you don't get these correct. 2. It has no means of communicating which defines that should be set in config.h, effectively disabling them all, possibly leading to inconsistencies between the library and the executable.
7 lines
189 B
PkgConfig
7 lines
189 B
PkgConfig
Name: OPM Core
|
|
Description: Open Porous Media Initiative Core Library @major@.@minor@
|
|
Version: @major@.@minor@
|
|
URL: http://opm-project.org
|
|
Libs: -l@target@ @libs@
|
|
Cflags: @includes@ @defs@
|