Files
revng-revng/lib/Support/ResourceFinder.cpp
T
2020-10-05 14:09:53 +02:00

28 lines
433 B
C++

//
// This file is distributed under the MIT License. See LICENSE.md for details.
//
// LLVM includes
#include "llvm/Support/Path.h"
// Local libraries includes
#include "revng/Support/ResourceFinder.h"
namespace revng {
PathList ResourceFinder({
#ifdef BUILD_PATH
BUILD_PATH,
#endif
llvm::sys::path::parent_path(getCurrentExecutableFullPath()).str(),
#ifdef INSTALL_PATH
INSTALL_PATH,
#endif
});
} // namespace revng