Super useful library for C++ (shitcoding)
| src | ||
| .clang-format | ||
| .gitignore | ||
| CMakeLists.txt | ||
| create_include.sh | ||
| install | ||
| install_extract | ||
| LICENSE | ||
| main.cpp | ||
| README.md | ||
| uninstall | ||
foresteamnd
Prepare build
mkdir build
cd build
Build (Linux)
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build . --config Release -j{NUMBER_OF_THREADS}
Build (Windows)
cmake -G "Visual Studio 17 2022" .. -DCMAKE_BUILD_TYPE=Release
NUMBER_OF_THREADS=24 cmake --build . --config Release -j ${NUMBER_OF_THREADS}
Install. System-wide, Linux only
chmod +x install
sudo ./install
Install-extract (use bash shell). Organizes files for future import
chmod +x install_extract
./install_extract
(rm -rf build; mkdir build; cd build; cmake -G "Visual Studio 17 2022" .. -DCMAKE_BUILD_TYPE=Release; NUMBER_OF_THREADS=24 cmake --build . --config Release -j ${NUMBER_OF_THREADS})