setup: Added clang and llvm

Adds clang and llvm include directories and libraries to the build. The
environment variable CLANG_DIR is used to define the location of llvm
and clang. A simple clang tool implementation was added to assure proper
operation of the libraries.
This commit is contained in:
Eberhard Graether
2014-04-09 16:25:32 +02:00
parent 9902288cab
commit 4b4c9f56d8
7 changed files with 150 additions and 21 deletions
+4
View File
@@ -7,8 +7,12 @@
#include "includes.h"
#include "qt/QtElementFactory.h"
#include "data/parser/clang.h"
int main(int argv, char **args)
{
clang_main(argv, args);
QApplication qtApp(argv, args);
std::shared_ptr<GuiElementFactory> elementFactory = std::make_shared<QtElementFactory>();