Skip to content

khai-learn-cpp/boost-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ Template for Quick Testing Boost library

Setup Environment

Files

  • /external/boost: The Boost library, which contains another directory named boost

  • /personal/main.cpp: Write anything you want here

  • /personal/environment.sh: Set up environment variables as following

  • CXX: C++ Compiler, usually g++
  • EXEC_ARGV: Arguments will be passed to the executable output, can be blank
  • /personal/stdin.sh: Write data to your program's stdin (you can leave it empty)

Tools

  • Bash
  • Linux: There always be a bash
  • Windows: MSYS2, Git-Bash, Cygwin ...
  • GCC ≥ 5.3.0
  • Linux: g++-5
  • Windows: mingw-w64
  • Node.js and npm (optional)

Usage

Writing

Write your code into /personal/main.cpp

Building

bash -c './sh/build.sh'
npm run build

Running

bash -c './sh/run.sh'
npm start

Build & Run

npm test

Cleaning

bash -c './sh/clean.sh'
npm run clean

License

GPL-3.0

About

C++ Template for Quick Testing Boost library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages