Export a config file for pkg-config
authorPierre Moreau <dev@pmoreau.org>
Sat, 25 Nov 2017 17:58:50 +0000 (18:58 +0100)
committerDavid Neto <dneto@google.com>
Mon, 18 Dec 2017 14:55:45 +0000 (09:55 -0500)
commit8c05012593e6c5808576c0c4e4467a1586d2bd8e
treec8cfb802082c74a8b495d91cbfe204c0a4e85af3
parent0dbe184d320af56610ba1759a0ec1ce6df8db806
Export a config file for pkg-config

Fixes #1031

Extracts the current version from the file CHANGES

The -dev suffix maps to a minor version number of .0
No -dev suffix maps to a minor version number of .1

Uses a first class target spirv-tools-pkg-config
CMakeLists.txt
cmake/SPIRV-Tools.pc.in [new file with mode: 0644]
cmake/write_pkg_config.cmake [new file with mode: 0644]