/ycsb

Primary LanguageC++

C++ Project Template

A C++ template to quickly start your own project.

This template includes a simplest runnable helloworld program, which breaks down into a helloworld lib (see src/ and include/helloworld/) and an executable (see bin/main.cpp).

Compile

mkdir build; cd build
cmake -DCMAKE_BUILD_TYPE=Debug ..
# or cmake -DCMAKE_BUILD_TYPE=Release ..
# for more options, see CMakeLists.txt
make -j8

Run

$ ./bin/main
hello world!

Install & Uninstall

# to install libs and headers
sudo make install
# to uninstall
cat install_manifest.txt | sudo xargs rm -rf

clang-format

clang-format is an opt-in if you would like to use.

sudo apt install clang-format

Doxygen

doxygen is supported if needed.

To generate a document and open it

doxygen Doxyfile
open html/index.html