2021-10-29 21:25:12 +01:00
|
|
|
# Luau.Ast Sources
|
|
|
|
target_sources(Luau.Ast PRIVATE
|
|
|
|
Ast/include/Luau/Ast.h
|
|
|
|
Ast/include/Luau/Common.h
|
|
|
|
Ast/include/Luau/Confusables.h
|
|
|
|
Ast/include/Luau/DenseHash.h
|
|
|
|
Ast/include/Luau/Lexer.h
|
|
|
|
Ast/include/Luau/Location.h
|
|
|
|
Ast/include/Luau/ParseOptions.h
|
|
|
|
Ast/include/Luau/Parser.h
|
2022-02-18 01:18:01 +00:00
|
|
|
Ast/include/Luau/ParseResult.h
|
2021-10-29 21:25:12 +01:00
|
|
|
Ast/include/Luau/StringUtils.h
|
2021-11-05 02:34:35 +00:00
|
|
|
Ast/include/Luau/TimeTrace.h
|
2021-10-29 21:25:12 +01:00
|
|
|
|
|
|
|
Ast/src/Ast.cpp
|
|
|
|
Ast/src/Confusables.cpp
|
|
|
|
Ast/src/Lexer.cpp
|
|
|
|
Ast/src/Location.cpp
|
|
|
|
Ast/src/Parser.cpp
|
|
|
|
Ast/src/StringUtils.cpp
|
2021-11-05 02:34:35 +00:00
|
|
|
Ast/src/TimeTrace.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
# Luau.Compiler Sources
|
|
|
|
target_sources(Luau.Compiler PRIVATE
|
|
|
|
Compiler/include/Luau/Bytecode.h
|
|
|
|
Compiler/include/Luau/BytecodeBuilder.h
|
|
|
|
Compiler/include/Luau/Compiler.h
|
2021-11-19 16:10:07 +00:00
|
|
|
Compiler/include/luacode.h
|
2021-10-29 21:25:12 +01:00
|
|
|
|
|
|
|
Compiler/src/BytecodeBuilder.cpp
|
|
|
|
Compiler/src/Compiler.cpp
|
2022-01-14 16:20:09 +00:00
|
|
|
Compiler/src/Builtins.cpp
|
|
|
|
Compiler/src/ConstantFolding.cpp
|
|
|
|
Compiler/src/TableShape.cpp
|
|
|
|
Compiler/src/ValueTracking.cpp
|
2021-11-19 16:10:07 +00:00
|
|
|
Compiler/src/lcode.cpp
|
2022-01-14 16:20:09 +00:00
|
|
|
Compiler/src/Builtins.h
|
|
|
|
Compiler/src/ConstantFolding.h
|
|
|
|
Compiler/src/TableShape.h
|
|
|
|
Compiler/src/ValueTracking.h
|
2021-10-29 21:25:12 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
# Luau.Analysis Sources
|
|
|
|
target_sources(Luau.Analysis PRIVATE
|
|
|
|
Analysis/include/Luau/AstQuery.h
|
|
|
|
Analysis/include/Luau/Autocomplete.h
|
|
|
|
Analysis/include/Luau/BuiltinDefinitions.h
|
|
|
|
Analysis/include/Luau/Config.h
|
|
|
|
Analysis/include/Luau/Documentation.h
|
|
|
|
Analysis/include/Luau/Error.h
|
|
|
|
Analysis/include/Luau/FileResolver.h
|
|
|
|
Analysis/include/Luau/Frontend.h
|
|
|
|
Analysis/include/Luau/IostreamHelpers.h
|
|
|
|
Analysis/include/Luau/JsonEncoder.h
|
|
|
|
Analysis/include/Luau/Linter.h
|
2022-01-06 23:26:14 +00:00
|
|
|
Analysis/include/Luau/LValue.h
|
2021-10-29 21:25:12 +01:00
|
|
|
Analysis/include/Luau/Module.h
|
|
|
|
Analysis/include/Luau/ModuleResolver.h
|
|
|
|
Analysis/include/Luau/Predicate.h
|
2021-11-05 15:47:21 +00:00
|
|
|
Analysis/include/Luau/Quantify.h
|
2021-10-29 21:25:12 +01:00
|
|
|
Analysis/include/Luau/RecursionCounter.h
|
|
|
|
Analysis/include/Luau/RequireTracer.h
|
2021-11-05 02:34:35 +00:00
|
|
|
Analysis/include/Luau/Scope.h
|
2021-10-29 21:25:12 +01:00
|
|
|
Analysis/include/Luau/Substitution.h
|
|
|
|
Analysis/include/Luau/Symbol.h
|
2021-12-03 06:41:04 +00:00
|
|
|
Analysis/include/Luau/ToDot.h
|
2021-10-29 21:25:12 +01:00
|
|
|
Analysis/include/Luau/TopoSortStatements.h
|
|
|
|
Analysis/include/Luau/ToString.h
|
|
|
|
Analysis/include/Luau/Transpiler.h
|
|
|
|
Analysis/include/Luau/TxnLog.h
|
|
|
|
Analysis/include/Luau/TypeAttach.h
|
|
|
|
Analysis/include/Luau/TypedAllocator.h
|
|
|
|
Analysis/include/Luau/TypeInfer.h
|
|
|
|
Analysis/include/Luau/TypePack.h
|
|
|
|
Analysis/include/Luau/TypeUtils.h
|
|
|
|
Analysis/include/Luau/TypeVar.h
|
|
|
|
Analysis/include/Luau/Unifiable.h
|
|
|
|
Analysis/include/Luau/Unifier.h
|
2021-11-05 15:47:21 +00:00
|
|
|
Analysis/include/Luau/UnifierSharedState.h
|
2021-10-29 21:25:12 +01:00
|
|
|
Analysis/include/Luau/Variant.h
|
|
|
|
Analysis/include/Luau/VisitTypeVar.h
|
|
|
|
|
|
|
|
Analysis/src/AstQuery.cpp
|
|
|
|
Analysis/src/Autocomplete.cpp
|
|
|
|
Analysis/src/BuiltinDefinitions.cpp
|
|
|
|
Analysis/src/Config.cpp
|
|
|
|
Analysis/src/Error.cpp
|
|
|
|
Analysis/src/Frontend.cpp
|
|
|
|
Analysis/src/IostreamHelpers.cpp
|
|
|
|
Analysis/src/JsonEncoder.cpp
|
|
|
|
Analysis/src/Linter.cpp
|
2022-01-06 23:26:14 +00:00
|
|
|
Analysis/src/LValue.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
Analysis/src/Module.cpp
|
2021-11-05 15:47:21 +00:00
|
|
|
Analysis/src/Quantify.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
Analysis/src/RequireTracer.cpp
|
2021-11-05 02:34:35 +00:00
|
|
|
Analysis/src/Scope.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
Analysis/src/Substitution.cpp
|
|
|
|
Analysis/src/Symbol.cpp
|
2021-12-03 06:41:04 +00:00
|
|
|
Analysis/src/ToDot.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
Analysis/src/TopoSortStatements.cpp
|
|
|
|
Analysis/src/ToString.cpp
|
|
|
|
Analysis/src/Transpiler.cpp
|
|
|
|
Analysis/src/TxnLog.cpp
|
|
|
|
Analysis/src/TypeAttach.cpp
|
|
|
|
Analysis/src/TypedAllocator.cpp
|
|
|
|
Analysis/src/TypeInfer.cpp
|
|
|
|
Analysis/src/TypePack.cpp
|
|
|
|
Analysis/src/TypeUtils.cpp
|
|
|
|
Analysis/src/TypeVar.cpp
|
|
|
|
Analysis/src/Unifiable.cpp
|
|
|
|
Analysis/src/Unifier.cpp
|
|
|
|
Analysis/src/EmbeddedBuiltinDefinitions.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
# Luau.VM Sources
|
|
|
|
target_sources(Luau.VM PRIVATE
|
|
|
|
VM/include/lua.h
|
|
|
|
VM/include/luaconf.h
|
|
|
|
VM/include/lualib.h
|
|
|
|
|
|
|
|
VM/src/lapi.cpp
|
|
|
|
VM/src/laux.cpp
|
|
|
|
VM/src/lbaselib.cpp
|
|
|
|
VM/src/lbitlib.cpp
|
|
|
|
VM/src/lbuiltins.cpp
|
|
|
|
VM/src/lcorolib.cpp
|
|
|
|
VM/src/ldblib.cpp
|
|
|
|
VM/src/ldebug.cpp
|
|
|
|
VM/src/ldo.cpp
|
|
|
|
VM/src/lfunc.cpp
|
|
|
|
VM/src/lgc.cpp
|
2021-12-03 06:41:04 +00:00
|
|
|
VM/src/lgcdebug.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
VM/src/linit.cpp
|
|
|
|
VM/src/lmathlib.cpp
|
|
|
|
VM/src/lmem.cpp
|
2022-01-07 01:46:53 +00:00
|
|
|
VM/src/lnumprint.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
VM/src/lobject.cpp
|
|
|
|
VM/src/loslib.cpp
|
|
|
|
VM/src/lperf.cpp
|
|
|
|
VM/src/lstate.cpp
|
|
|
|
VM/src/lstring.cpp
|
|
|
|
VM/src/lstrlib.cpp
|
|
|
|
VM/src/ltable.cpp
|
|
|
|
VM/src/ltablib.cpp
|
|
|
|
VM/src/ltm.cpp
|
2021-12-10 22:05:05 +00:00
|
|
|
VM/src/ludata.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
VM/src/lutf8lib.cpp
|
|
|
|
VM/src/lvmexecute.cpp
|
|
|
|
VM/src/lvmload.cpp
|
|
|
|
VM/src/lvmutils.cpp
|
|
|
|
VM/src/lapi.h
|
|
|
|
VM/src/lbuiltins.h
|
|
|
|
VM/src/lbytecode.h
|
|
|
|
VM/src/lcommon.h
|
|
|
|
VM/src/ldebug.h
|
|
|
|
VM/src/ldo.h
|
|
|
|
VM/src/lfunc.h
|
|
|
|
VM/src/lgc.h
|
|
|
|
VM/src/lmem.h
|
|
|
|
VM/src/lnumutils.h
|
|
|
|
VM/src/lobject.h
|
|
|
|
VM/src/lstate.h
|
|
|
|
VM/src/lstring.h
|
|
|
|
VM/src/ltable.h
|
|
|
|
VM/src/ltm.h
|
2021-12-10 22:05:05 +00:00
|
|
|
VM/src/ludata.h
|
2021-10-29 21:25:12 +01:00
|
|
|
VM/src/lvm.h
|
|
|
|
)
|
|
|
|
|
2022-02-04 16:45:57 +00:00
|
|
|
target_sources(isocline PRIVATE
|
|
|
|
extern/isocline/include/isocline.h
|
|
|
|
extern/isocline/src/isocline.c
|
|
|
|
)
|
|
|
|
|
2021-10-29 21:25:12 +01:00
|
|
|
if(TARGET Luau.Repl.CLI)
|
|
|
|
# Luau.Repl.CLI Sources
|
|
|
|
target_sources(Luau.Repl.CLI PRIVATE
|
2021-12-10 22:05:05 +00:00
|
|
|
CLI/Coverage.h
|
|
|
|
CLI/Coverage.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
CLI/FileUtils.h
|
|
|
|
CLI/FileUtils.cpp
|
|
|
|
CLI/Profiler.h
|
|
|
|
CLI/Profiler.cpp
|
2022-01-27 23:46:05 +00:00
|
|
|
CLI/Repl.cpp
|
|
|
|
CLI/ReplEntry.cpp)
|
2021-10-29 21:25:12 +01:00
|
|
|
endif()
|
|
|
|
|
|
|
|
if(TARGET Luau.Analyze.CLI)
|
|
|
|
# Luau.Analyze.CLI Sources
|
|
|
|
target_sources(Luau.Analyze.CLI PRIVATE
|
|
|
|
CLI/FileUtils.h
|
|
|
|
CLI/FileUtils.cpp
|
|
|
|
CLI/Analyze.cpp)
|
|
|
|
endif()
|
|
|
|
|
2022-02-11 19:02:09 +00:00
|
|
|
if(TARGET Luau.Ast.CLI)
|
2022-02-07 20:08:43 +00:00
|
|
|
target_sources(Luau.Ast.CLI PRIVATE
|
2022-02-11 19:02:09 +00:00
|
|
|
CLI/Ast.cpp
|
2022-02-07 20:08:43 +00:00
|
|
|
CLI/FileUtils.h
|
|
|
|
CLI/FileUtils.cpp
|
2022-02-11 19:02:09 +00:00
|
|
|
)
|
2022-02-07 20:08:43 +00:00
|
|
|
endif()
|
|
|
|
|
2021-10-29 21:25:12 +01:00
|
|
|
if(TARGET Luau.UnitTest)
|
|
|
|
# Luau.UnitTest Sources
|
|
|
|
target_sources(Luau.UnitTest PRIVATE
|
|
|
|
tests/Fixture.h
|
|
|
|
tests/IostreamOptional.h
|
|
|
|
tests/ScopedFlags.h
|
|
|
|
tests/Fixture.cpp
|
|
|
|
tests/AstQuery.test.cpp
|
|
|
|
tests/AstVisitor.test.cpp
|
|
|
|
tests/Autocomplete.test.cpp
|
|
|
|
tests/BuiltinDefinitions.test.cpp
|
|
|
|
tests/Compiler.test.cpp
|
|
|
|
tests/Config.test.cpp
|
|
|
|
tests/Error.test.cpp
|
|
|
|
tests/Frontend.test.cpp
|
|
|
|
tests/JsonEncoder.test.cpp
|
|
|
|
tests/Linter.test.cpp
|
2022-01-06 23:26:14 +00:00
|
|
|
tests/LValue.test.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
tests/Module.test.cpp
|
|
|
|
tests/NonstrictMode.test.cpp
|
|
|
|
tests/Parser.test.cpp
|
|
|
|
tests/RequireTracer.test.cpp
|
|
|
|
tests/StringUtils.test.cpp
|
|
|
|
tests/Symbol.test.cpp
|
2021-12-03 06:41:04 +00:00
|
|
|
tests/ToDot.test.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
tests/TopoSort.test.cpp
|
|
|
|
tests/ToString.test.cpp
|
|
|
|
tests/Transpiler.test.cpp
|
2021-11-05 02:34:35 +00:00
|
|
|
tests/TypeInfer.aliases.test.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
tests/TypeInfer.annotations.test.cpp
|
|
|
|
tests/TypeInfer.builtins.test.cpp
|
|
|
|
tests/TypeInfer.classes.test.cpp
|
|
|
|
tests/TypeInfer.definitions.test.cpp
|
|
|
|
tests/TypeInfer.generics.test.cpp
|
|
|
|
tests/TypeInfer.intersectionTypes.test.cpp
|
|
|
|
tests/TypeInfer.provisional.test.cpp
|
|
|
|
tests/TypeInfer.refinements.test.cpp
|
2021-11-19 16:10:07 +00:00
|
|
|
tests/TypeInfer.singletons.test.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
tests/TypeInfer.tables.test.cpp
|
|
|
|
tests/TypeInfer.test.cpp
|
|
|
|
tests/TypeInfer.tryUnify.test.cpp
|
|
|
|
tests/TypeInfer.typePacks.cpp
|
|
|
|
tests/TypeInfer.unionTypes.test.cpp
|
|
|
|
tests/TypePack.test.cpp
|
|
|
|
tests/TypeVar.test.cpp
|
|
|
|
tests/Variant.test.cpp
|
|
|
|
tests/main.cpp)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if(TARGET Luau.Conformance)
|
|
|
|
# Luau.Conformance Sources
|
|
|
|
target_sources(Luau.Conformance PRIVATE
|
|
|
|
tests/Conformance.test.cpp
|
|
|
|
tests/main.cpp)
|
|
|
|
endif()
|
2021-11-22 17:59:15 +00:00
|
|
|
|
2022-01-27 23:46:05 +00:00
|
|
|
if(TARGET Luau.CLI.Test)
|
|
|
|
# Luau.CLI.Test Sources
|
|
|
|
target_sources(Luau.CLI.Test PRIVATE
|
|
|
|
CLI/Coverage.h
|
|
|
|
CLI/Coverage.cpp
|
|
|
|
CLI/FileUtils.h
|
|
|
|
CLI/FileUtils.cpp
|
|
|
|
CLI/Profiler.h
|
|
|
|
CLI/Profiler.cpp
|
|
|
|
CLI/Repl.cpp
|
|
|
|
|
|
|
|
tests/Repl.test.cpp
|
|
|
|
tests/main.cpp)
|
|
|
|
endif()
|
|
|
|
|
2021-11-22 17:59:15 +00:00
|
|
|
if(TARGET Luau.Web)
|
|
|
|
# Luau.Web Sources
|
|
|
|
target_sources(Luau.Web PRIVATE
|
|
|
|
CLI/Web.cpp)
|
|
|
|
endif()
|