https://github.com/melardev/cppboostfilesystemsnippets
Cpp Boost Filesystem snippets
https://github.com/melardev/cppboostfilesystemsnippets
boost boost-filesystem cpp cross-platform modern-cpp vcpkg
Last synced: over 1 year ago
JSON representation
Cpp Boost Filesystem snippets
- Host: GitHub
- URL: https://github.com/melardev/cppboostfilesystemsnippets
- Owner: melardev
- Created: 2019-05-15T15:42:41.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-15T15:44:44.000Z (about 7 years ago)
- Last Synced: 2025-01-25T23:37:23.204Z (over 1 year ago)
- Topics: boost, boost-filesystem, cpp, cross-platform, modern-cpp, vcpkg
- Language: C++
- Homepage: http://melardev.com
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Introduction
This repository contains Boost Cpp Filesystem snippets, even though C++17 has standarized
filesystem api and works the same as the Boost C++ one, C++ boost is compatible with
compilers not C++17 compliant. So if you wanna ensure your code compiles even with older toolchains,
then think on it, this is why you can not skip this learning road.
# Getting Started
For Cpp nowadas there are no excuses to setup your environment in a painless manner, this is why
I recommend using vcpkg, which is what I use, with `vcpkg install boost:x64-windows-static` it downloaded and built
boost libraries. Then I open the vcproject file and add the following inside the Globals section:
```xml
<-- Find this tag, then in that tag add the two VcpkgTriplet tags-->
............
x86-windows-static
x64-windows-static
..........
```
This is how I set up my environment, I strongly encourage you to do the same, take a time reading about [vcpkg](https://github.com/microsoft/vcpkg)
and enjoy modern Cpp made easy.
# Social Media
- [Youtube](https://youtube.com/Melardev)
- [Twitter](https://twitter.com/@melardev)
- [Instagram](https://instagram.com/melar_dev)
# TODO
- Port to CMake