Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

huhd/cppan

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,147 Commits
1,147 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Build status

Resources

Quick Start

  1. Download the latest client application, unpack and put it to PATH.
  2. (!) Run once cppan from any directory without any arguments to perform initial configuration.
  3. In your CMakeLists.txt write:
find_package(CPPAN REQUIRED)
cppan_add_package(
    pvt.cppan.demo.sqlite3
    pvt.cppan.demo.fmt-4
    pvt.cppan.demo.madler.zlib-*
    pvt.cppan.demo.boost.asio-1.66
    ...
    libs you want to add
)
cppan_execute()

# near your target
add_executable(myexe ...)
target_link_libraries(myexe
  pvt.cppan.demo.sqlite3
  pvt.cppan.demo.madler.zlib
  pvt.cppan.demo.boost.asio
  ...
)
  1. Perform other usual CMake steps.

Dependencies

  • CMake >= 3.2

Download & Install

Linux

Ubuntu 16.04
sudo apt install cmake
wget https://cppan.org/client/cppan-master-Linux-client.deb 
sudo dpkg -i cppan-master-Linux-client.deb
Ubuntu 14.04
wget https://www.cmake.org/files/v3.6/cmake-3.6.1-Linux-x86_64.sh
sudo sh cmake-3.6.1-Linux-x86_64.sh --skip-license --prefix=/usr
sudo add-apt-repository ppa:ubuntu-toolchain-r/test 
sudo apt-get update && sudo apt-get install gcc-5
wget https://cppan.org/client/cppan-master-Linux-client.deb 
sudo dpkg -i cppan-master-Linux-client.deb

Windows

Download client, unzip it and put under PATH.

macOS

wget https://cppan.org/client/cppan-master-macOS-client.zip 
unzip cppan-master-macOS-client.zip 
sudo cp cppan /usr/local/bin/

Build

git clone https://github.com/cppan/cppan cppan_client
cd cppan_client
cppan
mkdir build && cd build
cmake ..
# for linux
# cmake .. -DCMAKE_C_COMPILER=gcc-5 -DCMAKE_CXX_COMPILER=g++-5
make -j4

Support CPPAN

More info about supporting C++ Archive Network can be found here.

About

Project has evolved into Software Network: https://github.com/SoftwareNetwork/sw (CPPAN Website: https://cppan.org/)

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • C++ 86.3%
  • CMake 10.7%
  • C 1.3%
  • Yacc 0.9%
  • LLVM 0.5%
  • Shell 0.2%
  • Batchfile 0.1%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.