mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-08 09:37:53 +00:00
ad1e9e7078
* introduces the use of the Boost.System and Boost.Filesystem libraries, which must be built and linked to rather than just compiled into OpenMW. May be a pain in the neck to get working on other platforms, but once it works, we have all of Boost to work with.
9 lines
188 B
C++
9 lines
188 B
C++
#include "fileops.hpp"
|
|
#include <boost/filesystem.hpp>
|
|
|
|
bool isFile(const char *name)
|
|
{
|
|
boost::filesystem::path cfg_file_path(name);
|
|
return boost::filesystem::exists(cfg_file_path);
|
|
}
|