This repository contains a test project for trying out curlcpp's curlcpp.pc pkg-config file.
Check LICENSE for licensing details.
Dependencies:
- Any of: a POSIX-compliant Make, CMake, or Meson
- A C++ compiler
- pkg-config
Follow the instructions for your build system below.
Compile:
$ cmake -B build -G Ninja && cmake --build build
Clean:
$ rm -r build
The settings the user might want to set are a property of Meson and not of the project, read the Meson documentation for guidance.
Compile:
$ meson setup build && meson compile -C build
Clean:
$ rm -r build
Set CXXFLAGS
to customize the compiler flags. Set LDFLAGS
to customize the
linker flags. Set CXX
to change the compiler.
Compile:
$ make
Clean:
$ make clean
Example:
$ make CXX='g++' CXXFLAGS='-O3 -march=native'