Files
revng-revng/lib/DecompilerResourceFinder/ResourceFinder.cpp
T
2020-11-09 10:03:33 +01:00

31 lines
446 B
C++

//
// Copyright rev.ng Srls. See LICENSE.md for details.
//
// LLVM includes
#include <llvm/Support/Path.h>
#include "revng-c/DecompilerResourceFinder/ResourceFinder.h"
namespace revng {
namespace c {
class PathList ResourceFinder({
#ifdef BUILD_PATH
BUILD_PATH,
#endif
llvm::sys::path::parent_path(getCurrentExecutableFullPath()).str(),
#ifdef INSTALL_PATH
INSTALL_PATH,
#endif
});
} // end namespace c
} // end namespace revng