[petsc-users] petsc cmake config - BUILD_SHARED_LIBS
Jed Brown
jed at jedbrown.org
Tue Oct 13 11:15:21 CDT 2015
Satish Balay <balay at mcs.anl.gov> writes:
> As mentioned - PETScConfig.cmake is primarily for building PETSc - and
> not equivalent to .pc file
def dumpCMakeConfig(self):
'''
Writes configuration-specific values to ${PETSC_ARCH}/lib/petsc/conf/PETScConfig.cmake.
This file is private to PETSc and should not be included by third parties
(a suitable file can be produced later by CMake, but this is not it).
'''
Arne, is this the file you are talking about? It is part of the legacy
cmake build and is used to hold the various ARCH-specific variables when
building PETSc. (Note that this build does not use CMake for configure
since CMake is disgusting for that purpose and also because we needed to
ensure that it makes all the same decisions as our configure.) It's not
for users and should not be installed.
If you want a pkgconfig file, just use PETSc.pc. Or use FindPETSc.cmake.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20151013/e20e9ae1/attachment.pgp>
More information about the petsc-users
mailing list