Cppm
  • Cppm
  • Quick Start
  • Structure
    • cppm.toml
    • Cppkg
    • config.toml
Powered by GitBook
On this page
  • Installation
  • Usage
  • Generate New Cppm Project

Was this helpful?

Quick Start

Installation

AppleClang is not supported. AppleClang does not support the C++ standard perfectly. Set GCC or Clang as the default compiler to compile on OSX. Ex) #include<optional> is not available.

# need gcc or clang
sudo apt-get install build-essential cmake
git clone https://github.com/INJAE/cppm.git
cd cppm
cmake -Bbuild
cd build
cmake --build .
./cppm build install
export PATH="$HOME/.cppm/local/bin:$PATH"
# need visual studio 2017 ~ *
git clone https://github.com/INJAE/cppm.git
cd cppm
cmake -Bbuild
cd build
cmake --build .
./cppm build install
setx /M path=%path%;%homepath%\.cppm\local\bin

Usage

  • cppm run {options} {sub commands}

  • cppm init {options} {sub commands}

  • cppm cppkg {options} {sub commands}

  • cppm build {options} {sub commands}

  • cppm config {options} {sub commands}

  • cppm update {options} {sub commands}

Generate New Cppm Project

# new test_bin binary package
cppm init -b test_bin
cd test_bin
cppm build
# new test_lib library package
cppm init -l test_lib
cd test_lib
cppm build
PreviousCppmNextStructure

Last updated 5 years ago

Was this helpful?