Skip to content
This repository has been archived by the owner on Jun 25, 2022. It is now read-only.

guijan/curlcpp-pc-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains a test project for trying out curlcpp's curlcpp.pc pkg-config file.

Check LICENSE for licensing details.

Compiling

Dependencies:

  • Any of: a POSIX-compliant Make, CMake, or Meson
  • A C++ compiler
  • pkg-config

Follow the instructions for your build system below.

CMake

Compile:

$ cmake -B build -G Ninja && cmake --build build

Clean:

$ rm -r build

Meson

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

POSIX Make (i.e. any Linux/Unix/BSD)

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'