Skip to content

Latest commit

 

History

History
36 lines (31 loc) · 922 Bytes

README.md

File metadata and controls

36 lines (31 loc) · 922 Bytes

C++ Toolkit

Here put some cross-platform tools for convenience of C++ development. And also as a good sample for building C++ project.

Dependency

  1. Install conan 2.x package manager eg, pip install conan

  2. Install cmake eg, pip install cmake

  3. Install python numpy for boost eg, pip install numpy

  4. Prepare c++ toolchain
    Windows: msvc
    Linux: gcc or clang
    Macos: apple-clang

  5. Adjust installation location of conan packages

    conan cache clean
    

    Windows: C:\Users<your_username>.conan2\global.conf
    Linux/MacOS: ~/.conan2/global.conf

    core.cache:storage_path = xxxx
    core.download:download_cache = xxxx

Build

mkdir build
cd build
# You can specify your compiler and generator in blow command
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build . --parallel --config Release