#DevStudy/C++ Boost1 MacOS에서 boost 라이브러리 환경 구성하기 Boost Install brew install boost CMake Install brew install cmake Example cpp_boost라는 프로젝트 폴더를 만들어주고 아래 두 파일을 생성한다. CMakeLists.txt CMake를 이용해서 자동으로 프로젝트가 세팅되도록 할 것이다. cmake_minimum_required(VERSION 3.16) project(cpp_boost) set(CMAKE_CXX_STANDARD 14) #Boost 라이브러리 설치 확인 find_package(Boost) if(Boost_FOUND) # include 패스 설정 include_directories(${Boost_INCLUDE_DIRS}) endif() add_executable(cpp_boost m.. 2022. 8. 5. 이전 1 다음