Spdlog Lib 만들기

Yongs12 ㅣ 2025. 6. 10. 14:05

 

spdlog 소스 다운로드

https://github.com/gabime/spdlog

 

GitHub - gabime/spdlog: Fast C++ logging library.

Fast C++ logging library. Contribute to gabime/spdlog development by creating an account on GitHub.

github.com

 

CMake 없을 시 다운로드

https://cmake.org/download/

 

Download CMake

You can either download binaries or source code archives for the latest stable or previous release or access the current development (aka nightly) distribution through Git. This software may not be exported in violation of any U.S. export laws or regulatio

cmake.org

 

 

프로젝트를 생성할 폴더 생성

 

visual studio 2022 기준

build 파일에서 cmake 명령어 입력

cmake .. -G "Visual Studio 17 2022" -A x64 -DSPDLOG_BUILD_SHARED=OFF -DSPDLOG_BUILD_STATIC=ON -DSPDLOG_BUILD_BENCH=OFF -DSPDLOG_BUILD_EXAMPLES=OFF -DSPDLOG_BUILD_TESTS=OFF

 

 

 

생성된 프로젝트를 Debug / Release로 빌드 해주면 된다.