-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathslicer.pro
44 lines (36 loc) · 890 Bytes
/
slicer.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
QT += core
QT -= gui
CONFIG += c++11
TARGET = slicer
CONFIG += console
CONFIG -= app_bundle
TEMPLATE = app
SOURCES += src/main.cpp \
src/pdg.cpp \
src/pdgBuilder.cpp \
src/pdgBuilderAction.cpp
CXXFLAGS=$$system(llvm-config --cxxflags)
LDFLAGS=$$system(llvm-config --ldflags --libs --system-libs)
QMAKE_CXX=clang++
QMAKE_CXXFLAGS=$$CXXFLAGS -std=libc++
QMAKE_CXXFLAGS_WARN_ON += -Wno-unused-parameter
QMAKE_LIBS+= $$LDFLAGS \
-lclangFrontend \
-lclangParse \
-lclangSema \
-lclangStaticAnalyzerFrontend \
-lclangStaticAnalyzerCheckers \
-lclangStaticAnalyzerCore \
-lclangDriver \
-lclangEdit \
-lclangAnalysis \
-lclangSerialization \
-lclangAST \
-lclangLex \
-lclangBasic\
-lclangTooling \
-lclangASTMatchers
HEADERS += include/pdg.h \
include/pdgBuilder.h \
include/pdgBuilderAction.h
INCLUDEPATH += include/