Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danieloneill/pkg-config
pkg-config using C++/QtCore
https://github.com/danieloneill/pkg-config
Last synced: 15 days ago
JSON representation
pkg-config using C++/QtCore
- Host: GitHub
- URL: https://github.com/danieloneill/pkg-config
- Owner: danieloneill
- Created: 2015-03-31T21:15:54.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-03-31T21:57:51.000Z (over 9 years ago)
- Last Synced: 2023-02-27T18:33:11.605Z (over 1 year ago)
- Language: C++
- Size: 133 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pkg-config
pkg-config using C++/QtCore##Build##
```
mkdir build
cd build
qmake ..
```Or build it in-tree if you want, I'm not your mom.
##Requirements##
A C++ compiler and at least QtCore with development headers and qmake.
##Usage##
```
pkg-config [-A ]
[-D ]
[-L]
[--atleast-pkgconfig-version ]
[--version]
[--exists ]
[--short-errors]
[--print-warnings]
[--print-errors]
[--cflags ]
[--libs ]
```* **-A** - Add a .pc file search path for the current user.
* **-D** - Delete a .pc file search path for the current user.
* **-L** - List .pc file search paths for the current user.
* **-h** - Usage information.
* **--atleast-pkgconfig-version** - Returns 0 if we meet the version requirement, -1 otherwise.
* **--version** - The version of this pkg-config.
* **--exists** - Returns 0 if the specified package exists, -1 otherwise.
* **--short-errors** - Print errors in short form.
* **--print-warnings** - Print warnings encountered.
* **--print-errors** - Print errors encountered.
* **--cflags** - Output the cflags specified by the package.
* **--libs** - Output the ldflags (libs) as specified by the package.##Other Stuff##
* **Is this XDG/Freedesktop compliant?**
* Almost certainly not.* **Does it work?**
* Almost every time.* **Why is it here?**
* Because I wrote it, and I wanted to share it.* **What is it for?**
* A defunct project where Qt was the ubiquitous framework. Glib wasn't installed, and building it specifically for a single tool was silly.* **Does pkg-config REALLY need to link against Qt?**
* No, in fact a saner solution would be pkg-config written in Python, Perl, LUA, or similar. A compiled tool for this task is overkill.