/std-filesystem-path-example

Primary LanguageCMakeCreative Commons Zero v1.0 UniversalCC0-1.0

std::filesystem::path Example

This repo just contains a very basic example of C++’s std::filesystem::path type. It was originally created in order to help me test things out and to help me write a Stack Overflow question and answer.

How to Build

  1. Make sure that you have CMake and a C++ compiler.

  2. Change directory to the root of this repository:

    cd <path-to-this-repo>
    
  3. Create a directory to store files generated by CMake:

    mkdir build
    cd build
    
  4. Run CMake:

    cmake ..
    cmake --build .
    

Once that last command finishes, there should be a file named StdFilesystemPathExample or StdFilesystemPathExample.exe somewhere inside the build/ directory.

Copying

Everything in this repo is dedicated to the public domain using 🅭🄍1.0. See COPYING.txt for details.