Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 1.08 KB

building.md

File metadata and controls

31 lines (26 loc) · 1.08 KB

Building task_pool

The project is built with cmake and it uses conan for dependencies.

A standard release configuration may be produced in the following way

conan install . --output-folder=build --build=missing --settings=build_type=Release
cd build
(linux/macos)
cmake .. -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release
(windows) 
cmake .. -G "Visual Studio 17 2022" -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release
cmake --build .

 

Developer mode

conan install . --output-folder=build --build=missing --settings=build_type=Debug
cd build
cmake .. -DCMAKE_BUILD_TYPE=Debug -DENABLE_DEVELOPER_MODE=ON -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake
cmake --build .

 

If desired developer mode may be disabled for a more convential Debug library build

cmake -S . -B ./build  -DENABLE_DEVELOPER_MODE:BOOL=OFF
cmake --build ./build