# {fmt} as deb package install This ReadME.md is only for the instruction of building the tetrion-fmtlib ## Add file ### [Tetrion.cmake](./Tetrion.cmake) * change name for the package * modify CPACK_INSTALL_PREFIX, where you want to install ### [CMakeLists.txt](./CMakeLists.txt) * Add `include(Tetrion.cmake)` at the end ## Steps 1. `hg clone http://hg2.hk.tetrioncapital.com/packages/tetrion-fmtlib` 2. `cd tetrion-fmtlib` 3. If the package not build(if you clone from the above, it should be built) * `cmake -B .build -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF` * `cmake --build .build --target package` 4. `cd .build` 5. `sudo apt install ./tetrion-fmt-7.1.3_-xenial1_amd64.deb`