cling/lib/Interpreter/ClingPragmas.h
Axel Naumann 1ffc20a6b2 Add a cling pragma handler. For now implement #pragma cling load(file)
Extremely handy for sources that require certain libraries to be loaded;
it's similar to MSVC's #pragma comment(lib"libToLink").
2015-02-18 14:51:21 +01:00

20 lines
624 B
C++

//--------------------------------------------------------------------*- C++ -*-
// CLING - the C++ LLVM-based InterpreterG :)
// author: Axel Naumann <axel@cern.ch>
//
// This file is dual-licensed: you can choose to license it under the University
// of Illinois Open Source License or the GNU Lesser General Public License. See
// LICENSE.TXT for details.
//------------------------------------------------------------------------------
#ifndef CLING_PRAGMAS_H
#define CLING_PRAGMAS_H
namespace cling {
class Interpreter;
void addClingPragmas(Interpreter& interp);
} // namespace cling
#endif // CLING_PRAGMAS_H