config.h.in 1.39 KB
Newer Older
Niklas Haas's avatar
Niklas Haas committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
/*
 * This file is part of libplacebo.
 *
 * libplacebo is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * libplacebo is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with libplacebo.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef LIBPLACEBO_CONFIG_H_
#define LIBPLACEBO_CONFIG_H_

21 22 23 24 25
// Increased any time the library changes in a fundamental/major way.
#define PL_MAJOR_VER @majorver@

// Increased any time the API changes. (Note: Does not reset when PL_MAJOR_VER
// is increased)
Niklas Haas's avatar
Niklas Haas committed
26 27
#define PL_API_VER @apiver@

28 29 30 31 32 33
// Increased any time a fix is made to a given API version.
#define PL_FIX_VER @fixver@

// Friendly name (`git describe`) for the overall version of the library
#define PL_VERSION @version@

Niklas Haas's avatar
Niklas Haas committed
34 35
// Feature tests. These aren't described in further detail, but may be useful
// for programmers wanting to programmatically check for feature support
Niklas Haas's avatar
Niklas Haas committed
36
// in their compiled libplacebo versions.
37
@extra_defs@
Niklas Haas's avatar
Niklas Haas committed
38

Niklas Haas's avatar
Niklas Haas committed
39
#endif // LIBPLACEBO_CONTEXT_H_