The small3d library
Functions
BasePath.hpp File Reference

Single function to return the base path on any platform. More...

#include <string>

Go to the source code of this file.

Functions

std::string getBasePath ()
 Helper function that returns the path of the directory where the executable is located. It returns "" in all cases apart from when running on MacOS / iOS.
 

Detailed Description

Single function to return the base path on any platform.

Created on: 31 Jan 2020 Author: Dimitri Kourkoulis License: BSD 3-Clause License (see LICENSE file)