# Basalt Presenter ## Dependencies * [spdlog](https://github.com/gabime/spdlog) * [tinyobjloader](https://github.com/tinyobjloader/tinyobjloader) * [cgltf](https://github.com/jkuhlmann/cgltf) We assume that you executing following commands in the root directory of `BasaltPresenter` project. ### spdlog ##### Build ```sh cd external git clone -b 1.17.0 https://github.com/gabime/spdlog.git cd spdlog mkdir out cd out mkdir build mkdir install cd build ``` In Windows: ```bat cmake -A x64 -DCMAKE_CXX_STANDARD=23 -DSPDLOG_WCHAR_SUPPORT=ON -DSPDLOG_WCHAR_FILENAMES=ON -DSPDLOG_WCHAR_CONSOLE=ON -DSPDLOG_BUILD_EXAMPLE=OFF ../.. cmake --build . --config Release cmake --install . --config Release --prefix=../install ``` Or in POSIX: ```sh cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=23 -DSPDLOG_BUILD_EXAMPLE=OFF ../.. cmake --build . cmake --install . --prefix=../install ``` ##### Usage Use `-Dspdlog_ROOT=` in cmake when you configure this project. #### tinyobjloader ##### Build ```sh cd external git clone -b v1.0.6 https://github.com/tinyobjloader/tinyobjloader.git cd tinyobjloader mkdir out cd out mkdir build mkdir install cd build ``` In Windows: ```bat cmake -A x64 -DCMAKE_CXX_STANDARD=23 ../.. cmake --build . --config Release cmake --install . --config Release --prefix=../install ``` Or in POSIX: ```sh cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=23 ../.. cmake --build . cmake --install . --prefix=../install ``` ##### Usage Use `-Dtinyobjloader_ROOT=` in cmake when you configure this project. ## Warning This project was not written robustly. So please confirm following conditions when running this program. - ASCII-only path. It would be better to have English-chars-only path. No space, tab or weird chars. - Not too long path. It would be better that less than 200 chars. - ASCII-only command line arguments.