forked from luau-lang/luau
-
Notifications
You must be signed in to change notification settings - Fork 1
/
luau.pro
67 lines (55 loc) · 2.03 KB
/
luau.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#-------------------------------------------------
#
# Project created by QtCreator 2011-12-13T12:06:49
#
#-------------------------------------------------
QT -= core gui
TARGET = lua
TEMPLATE = lib
CONFIG += silent c++17
win32 {
DEFINES += LUA_BUILD_AS_DLL LUA_CORE
}
//QMAKE_CXXFLAGS_DEBUG += -O2
QMAKE_CXXFLAGS_DEBUG += -DLUAU_ENABLE_ASSERT
DEFINES+= LUAU_ENABLE_CODEGEN
defineReplace(expand) {
names = $$1
prefix=$$2
suffix=$$3
expanded =
for(name, names) {
expanded+= $${prefix}$${name}$${suffix}
}
return ($$expanded)
}
INCLUDEPATH += \
VM/src \
VM/include \
Common/include \
Compiler/include \
CodeGen/include \
Ast/include \
../libgvfs
SOURCES += \
$$expand(lapi laux lbaselib lbitlib lbuffer lbuflib lbuiltins lcorolib ldblib ldebug ldo lfunc lgc lgcdebug linit lint64lib liolib lmathlib lmem lnumprint lobject loslib lperf lstate lstring lstrlib \
ltable ltablib ltm ludata lutf8lib lvmexecute lvmload lvmutils,VM/src/,.cpp) \
$$expand(Builtins BuiltinFolding BytecodeBuilder ConstantFolding Compiler CostModel lcode PseudoCode TableShape Types ValueTracking,Compiler/src/,.cpp) \
$$expand(BytecodeAnalysis BytecodeSummary CodeAllocator CodeBlockUnwind CodeGen CodeGenAssembly CodeGenContext CodeGenUtils \
IrAnalysis IrBuilder IrCallWrapperX64 IrDump IrTranslateBuiltins IrTranslation IrUtils IrValueLocationTracking \
lcodegen NativeProtoExecData NativeState OptimizeConstProp OptimizeDeadStore SharedCodeAllocator \
AssemblyBuilderX64 OptimizeFinalX64 EmitBuiltinsX64 EmitCommonX64 EmitInstructionX64 CodeGenX64 IrLoweringX64 IrRegAllocX64 UnwindBuilderWin \
AssemblyBuilderA64 CodeGenA64 IrLoweringA64 IrRegAllocA64 UnwindBuilderDwarf2 \
,CodeGen/src/,.cpp) \
$$expand(Ast Confusables Lexer Location Parser StringUtils TimeTrace,Ast/src/,.cpp)
win32 {
LIBS += -L"../libgvfs/release" -lgvfs
}
macx {
LIBS += -L"../libgvfs" -lgvfs
}
else {
unix:!macx {
LIBS += ../libgvfs/libgvfs.so
}
}