bug-standards
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question on standard targets for a library


From: Jeffrey Walton
Subject: Question on standard targets for a library
Date: Sat, 5 May 2018 04:12:38 -0400

Hi Everyone,

I have a question on the GNU Coding Standards and the Standard Targets
detailed at 7.2.6 Standard Targets for Users
(https://www.gnu.org/prep/standards/html_node/Standard-Targets.html).

We are a C++ class library and not a program
(https://www.cryptopp.com/). The primary artifacts are library
headers, a static archive and a shared object. We offer a test program
to exercise the library but I don't think anyone uses it.

We recently received a request for a make recipe that installs the
library only, which would be the primary artifacts of headers, a
static archive and a shared object. The request wants to avoid the
test program and the test data files. Looking at the coding standards
I don't see a standard target for the recipe.

What is the convention for installing (1) the library only and (2) the
library with a test program? How should we align the targets?

Thanks in advance,

Jeffrey Walton
Baltimore, MD US



reply via email to

[Prev in Thread] Current Thread [Next in Thread]