CMake로 Boost 라이브러리 링킹하기
main.cpp와 CMakeLists.txt를 만들고 아래 코드를 복붙합니다. // main.cpp #include #include using namespace std; namespace fs = boost::filesystem; int main() { string str = "/Users/kwon/Documents/blog/"; const char* path = str.c_str(); if(fs::exists(path)) cout
major
2020. 3. 8.