luau/Sources.cmake

495 lines
14 KiB
CMake
Raw Normal View History

2022-05-27 04:33:48 +08:00
# Luau.Common Sources
# Note: Until 3.19, INTERFACE targets couldn't have SOURCES property set
if(NOT ${CMAKE_VERSION} VERSION_LESS "3.19")
target_sources(Luau.Common PRIVATE
Common/include/Luau/Common.h
Common/include/Luau/Bytecode.h
2023-08-19 01:06:29 +08:00
Common/include/Luau/BytecodeUtils.h
2023-01-20 20:02:39 +08:00
Common/include/Luau/DenseHash.h
2022-07-22 04:36:41 +08:00
Common/include/Luau/ExperimentalFlags.h
2022-05-27 04:33:48 +08:00
)
endif()
# Luau.Ast Sources
target_sources(Luau.Ast PRIVATE
Ast/include/Luau/Ast.h
Ast/include/Luau/Confusables.h
Ast/include/Luau/Lexer.h
Ast/include/Luau/Location.h
Ast/include/Luau/ParseOptions.h
Ast/include/Luau/Parser.h
2022-02-18 08:41:20 +08:00
Ast/include/Luau/ParseResult.h
Ast/include/Luau/StringUtils.h
Ast/include/Luau/TimeTrace.h
Ast/src/Ast.cpp
Ast/src/Confusables.cpp
Ast/src/Lexer.cpp
Ast/src/Location.cpp
Ast/src/Parser.cpp
Ast/src/StringUtils.cpp
Ast/src/TimeTrace.cpp
)
# Luau.Compiler Sources
target_sources(Luau.Compiler PRIVATE
Compiler/include/Luau/BytecodeBuilder.h
Compiler/include/Luau/Compiler.h
2021-11-19 06:21:07 +08:00
Compiler/include/luacode.h
Compiler/src/BytecodeBuilder.cpp
Compiler/src/Compiler.cpp
2022-01-15 00:06:31 +08:00
Compiler/src/Builtins.cpp
2022-07-15 06:39:35 +08:00
Compiler/src/BuiltinFolding.cpp
2022-01-15 00:06:31 +08:00
Compiler/src/ConstantFolding.cpp
2022-04-15 05:57:15 +08:00
Compiler/src/CostModel.cpp
2022-01-15 00:06:31 +08:00
Compiler/src/TableShape.cpp
2023-06-17 01:01:18 +08:00
Compiler/src/Types.cpp
2022-01-15 00:06:31 +08:00
Compiler/src/ValueTracking.cpp
2021-11-19 06:21:07 +08:00
Compiler/src/lcode.cpp
2022-01-15 00:06:31 +08:00
Compiler/src/Builtins.h
2022-07-15 06:39:35 +08:00
Compiler/src/BuiltinFolding.h
2022-01-15 00:06:31 +08:00
Compiler/src/ConstantFolding.h
2022-04-15 05:57:15 +08:00
Compiler/src/CostModel.h
2022-01-15 00:06:31 +08:00
Compiler/src/TableShape.h
2023-06-17 01:01:18 +08:00
Compiler/src/Types.h
2022-01-15 00:06:31 +08:00
Compiler/src/ValueTracking.h
)
2023-08-19 01:06:29 +08:00
# Luau.Config Sources
target_sources(Luau.Config PRIVATE
Config/include/Luau/Config.h
Config/include/Luau/LinterConfig.h
Config/src/Config.cpp
Config/src/LinterConfig.cpp
)
2022-05-27 04:33:48 +08:00
# Luau.CodeGen Sources
target_sources(Luau.CodeGen PRIVATE
2022-11-05 01:02:37 +08:00
CodeGen/include/Luau/AddressA64.h
CodeGen/include/Luau/AssemblyBuilderA64.h
2022-05-27 04:33:48 +08:00
CodeGen/include/Luau/AssemblyBuilderX64.h
2022-09-09 05:44:50 +08:00
CodeGen/include/Luau/CodeAllocator.h
2022-09-16 06:13:58 +08:00
CodeGen/include/Luau/CodeBlockUnwind.h
2022-10-14 06:59:53 +08:00
CodeGen/include/Luau/CodeGen.h
2022-11-05 01:02:37 +08:00
CodeGen/include/Luau/ConditionA64.h
CodeGen/include/Luau/ConditionX64.h
2023-02-03 20:34:12 +08:00
CodeGen/include/Luau/IrAnalysis.h
CodeGen/include/Luau/IrBuilder.h
2023-03-31 20:21:14 +08:00
CodeGen/include/Luau/IrCallWrapperX64.h
2023-02-03 20:34:12 +08:00
CodeGen/include/Luau/IrDump.h
CodeGen/include/Luau/IrData.h
2023-03-31 20:21:14 +08:00
CodeGen/include/Luau/IrRegAllocX64.h
2023-02-03 20:34:12 +08:00
CodeGen/include/Luau/IrUtils.h
2022-05-27 04:33:48 +08:00
CodeGen/include/Luau/Label.h
CodeGen/include/Luau/OperandX64.h
2023-02-25 02:24:22 +08:00
CodeGen/include/Luau/OptimizeConstProp.h
2023-02-11 02:50:54 +08:00
CodeGen/include/Luau/OptimizeFinalX64.h
2022-11-05 01:02:37 +08:00
CodeGen/include/Luau/RegisterA64.h
2022-05-27 04:33:48 +08:00
CodeGen/include/Luau/RegisterX64.h
2022-09-16 06:13:58 +08:00
CodeGen/include/Luau/UnwindBuilder.h
CodeGen/include/Luau/UnwindBuilderDwarf2.h
CodeGen/include/Luau/UnwindBuilderWin.h
2023-05-20 02:59:59 +08:00
CodeGen/include/luacodegen.h
2022-05-27 04:33:48 +08:00
2022-11-05 01:02:37 +08:00
CodeGen/src/AssemblyBuilderA64.cpp
2022-05-27 04:33:48 +08:00
CodeGen/src/AssemblyBuilderX64.cpp
2022-09-09 05:44:50 +08:00
CodeGen/src/CodeAllocator.cpp
2022-09-16 06:13:58 +08:00
CodeGen/src/CodeBlockUnwind.cpp
2022-10-14 06:59:53 +08:00
CodeGen/src/CodeGen.cpp
2023-06-24 13:33:44 +08:00
CodeGen/src/CodeGenAssembly.cpp
2022-10-28 06:22:49 +08:00
CodeGen/src/CodeGenUtils.cpp
2023-03-25 01:34:14 +08:00
CodeGen/src/CodeGenA64.cpp
2022-10-14 06:59:53 +08:00
CodeGen/src/CodeGenX64.cpp
CodeGen/src/EmitBuiltinsX64.cpp
CodeGen/src/EmitCommonX64.cpp
CodeGen/src/EmitInstructionX64.cpp
2023-01-28 05:28:45 +08:00
CodeGen/src/IrAnalysis.cpp
2023-01-20 20:02:39 +08:00
CodeGen/src/IrBuilder.cpp
2023-03-31 20:21:14 +08:00
CodeGen/src/IrCallWrapperX64.cpp
2023-01-14 04:36:28 +08:00
CodeGen/src/IrDump.cpp
2023-03-25 01:34:14 +08:00
CodeGen/src/IrLoweringA64.cpp
2023-01-28 05:28:45 +08:00
CodeGen/src/IrLoweringX64.cpp
2023-03-31 20:21:14 +08:00
CodeGen/src/IrRegAllocA64.cpp
2023-02-25 02:24:22 +08:00
CodeGen/src/IrRegAllocX64.cpp
CodeGen/src/IrTranslateBuiltins.cpp
2023-01-20 20:02:39 +08:00
CodeGen/src/IrTranslation.cpp
2023-02-11 02:50:54 +08:00
CodeGen/src/IrUtils.cpp
2023-04-22 05:41:03 +08:00
CodeGen/src/IrValueLocationTracking.cpp
2023-05-20 02:59:59 +08:00
CodeGen/src/lcodegen.cpp
2022-10-14 06:59:53 +08:00
CodeGen/src/NativeState.cpp
2023-02-25 02:24:22 +08:00
CodeGen/src/OptimizeConstProp.cpp
2023-02-11 02:50:54 +08:00
CodeGen/src/OptimizeFinalX64.cpp
2022-09-16 06:13:58 +08:00
CodeGen/src/UnwindBuilderDwarf2.cpp
CodeGen/src/UnwindBuilderWin.cpp
2022-09-24 02:32:10 +08:00
2023-04-14 20:05:27 +08:00
CodeGen/src/BitUtils.h
2022-09-24 02:32:10 +08:00
CodeGen/src/ByteUtils.h
2023-06-24 13:33:44 +08:00
CodeGen/src/CodeGenLower.h
2022-10-28 06:22:49 +08:00
CodeGen/src/CodeGenUtils.h
2023-03-25 01:34:14 +08:00
CodeGen/src/CodeGenA64.h
2022-10-14 06:59:53 +08:00
CodeGen/src/CodeGenX64.h
CodeGen/src/EmitBuiltinsX64.h
2023-03-03 21:45:38 +08:00
CodeGen/src/EmitCommon.h
2023-03-25 01:34:14 +08:00
CodeGen/src/EmitCommonA64.h
2022-10-14 06:59:53 +08:00
CodeGen/src/EmitCommonX64.h
CodeGen/src/EmitInstructionX64.h
2023-03-25 01:34:14 +08:00
CodeGen/src/IrLoweringA64.h
2023-01-28 05:28:45 +08:00
CodeGen/src/IrLoweringX64.h
2023-03-31 20:21:14 +08:00
CodeGen/src/IrRegAllocA64.h
2023-02-25 02:24:22 +08:00
CodeGen/src/IrTranslateBuiltins.h
2023-01-20 20:02:39 +08:00
CodeGen/src/IrTranslation.h
2023-04-22 05:41:03 +08:00
CodeGen/src/IrValueLocationTracking.h
2022-10-14 06:59:53 +08:00
CodeGen/src/NativeState.h
2022-05-27 04:33:48 +08:00
)
# Luau.Analysis Sources
target_sources(Luau.Analysis PRIVATE
2022-08-19 05:04:33 +08:00
Analysis/include/Luau/Anyification.h
2022-08-05 05:27:28 +08:00
Analysis/include/Luau/ApplyTypeFunction.h
Analysis/include/Luau/AstJsonEncoder.h
Analysis/include/Luau/AstQuery.h
Analysis/include/Luau/Autocomplete.h
2023-03-03 21:45:38 +08:00
Analysis/include/Luau/Breadcrumb.h
Analysis/include/Luau/BuiltinDefinitions.h
2023-07-14 23:57:16 +08:00
Analysis/include/Luau/Cancellation.h
2022-04-08 04:53:47 +08:00
Analysis/include/Luau/Clone.h
2022-06-17 08:54:42 +08:00
Analysis/include/Luau/Constraint.h
2022-06-04 04:32:20 +08:00
Analysis/include/Luau/ConstraintGraphBuilder.h
Analysis/include/Luau/ConstraintSolver.h
2023-03-17 22:59:30 +08:00
Analysis/include/Luau/ControlFlow.h
2022-12-02 18:46:05 +08:00
Analysis/include/Luau/DataFlowGraph.h
2022-09-09 05:44:50 +08:00
Analysis/include/Luau/DcrLogger.h
2022-10-22 01:33:43 +08:00
Analysis/include/Luau/Def.h
2023-07-08 01:14:35 +08:00
Analysis/include/Luau/Differ.h
Analysis/include/Luau/Documentation.h
Analysis/include/Luau/Error.h
Analysis/include/Luau/FileResolver.h
Analysis/include/Luau/Frontend.h
2023-06-09 20:20:36 +08:00
Analysis/include/Luau/InsertionOrderedMap.h
2022-05-27 04:33:48 +08:00
Analysis/include/Luau/Instantiation.h
Analysis/include/Luau/IostreamHelpers.h
2022-08-05 05:27:28 +08:00
Analysis/include/Luau/JsonEmitter.h
Analysis/include/Luau/Linter.h
Analysis/include/Luau/LValue.h
2022-10-22 01:33:43 +08:00
Analysis/include/Luau/Metamethods.h
Analysis/include/Luau/Module.h
Analysis/include/Luau/ModuleResolver.h
2022-04-15 05:57:15 +08:00
Analysis/include/Luau/Normalize.h
Analysis/include/Luau/Predicate.h
Analysis/include/Luau/Quantify.h
Analysis/include/Luau/RecursionCounter.h
2023-06-09 20:20:36 +08:00
Analysis/include/Luau/Refinement.h
Analysis/include/Luau/RequireTracer.h
Analysis/include/Luau/Scope.h
2023-05-20 02:59:59 +08:00
Analysis/include/Luau/Simplify.h
Analysis/include/Luau/Substitution.h
2023-08-19 01:06:29 +08:00
Analysis/include/Luau/Subtyping.h
Analysis/include/Luau/Symbol.h
2021-12-03 07:20:08 +08:00
Analysis/include/Luau/ToDot.h
Analysis/include/Luau/TopoSortStatements.h
Analysis/include/Luau/ToString.h
Analysis/include/Luau/Transpiler.h
Analysis/include/Luau/TxnLog.h
2023-06-09 20:20:36 +08:00
Analysis/include/Luau/Type.h
2022-05-20 07:46:52 +08:00
Analysis/include/Luau/TypeArena.h
Analysis/include/Luau/TypeAttach.h
2022-06-17 08:54:42 +08:00
Analysis/include/Luau/TypeChecker2.h
2023-07-28 19:37:00 +08:00
Analysis/include/Luau/TypeCheckLimits.h
Analysis/include/Luau/TypedAllocator.h
2023-05-12 20:15:01 +08:00
Analysis/include/Luau/TypeFamily.h
Analysis/include/Luau/TypeInfer.h
Analysis/include/Luau/TypePack.h
Analysis/include/Luau/TypeUtils.h
Analysis/include/Luau/Unifiable.h
Analysis/include/Luau/Unifier.h
Analysis/include/Luau/Unifier2.h
Analysis/include/Luau/UnifierSharedState.h
Analysis/include/Luau/Variant.h
2023-01-04 01:33:19 +08:00
Analysis/include/Luau/VisitType.h
2022-08-19 05:04:33 +08:00
Analysis/src/Anyification.cpp
2022-08-05 05:27:28 +08:00
Analysis/src/ApplyTypeFunction.cpp
Analysis/src/AstJsonEncoder.cpp
Analysis/src/AstQuery.cpp
Analysis/src/Autocomplete.cpp
Analysis/src/BuiltinDefinitions.cpp
2022-04-08 04:53:47 +08:00
Analysis/src/Clone.cpp
2022-06-17 08:54:42 +08:00
Analysis/src/Constraint.cpp
2022-06-04 04:32:20 +08:00
Analysis/src/ConstraintGraphBuilder.cpp
Analysis/src/ConstraintSolver.cpp
2022-12-02 18:46:05 +08:00
Analysis/src/DataFlowGraph.cpp
2022-09-09 05:44:50 +08:00
Analysis/src/DcrLogger.cpp
2022-10-22 01:33:43 +08:00
Analysis/src/Def.cpp
2023-07-08 01:14:35 +08:00
Analysis/src/Differ.cpp
2022-08-19 05:04:33 +08:00
Analysis/src/EmbeddedBuiltinDefinitions.cpp
Analysis/src/Error.cpp
Analysis/src/Frontend.cpp
2022-05-27 04:33:48 +08:00
Analysis/src/Instantiation.cpp
Analysis/src/IostreamHelpers.cpp
2022-08-05 05:27:28 +08:00
Analysis/src/JsonEmitter.cpp
Analysis/src/Linter.cpp
Analysis/src/LValue.cpp
Analysis/src/Module.cpp
2022-04-15 05:57:15 +08:00
Analysis/src/Normalize.cpp
Analysis/src/Quantify.cpp
2023-06-09 20:20:36 +08:00
Analysis/src/Refinement.cpp
Analysis/src/RequireTracer.cpp
Analysis/src/Scope.cpp
2023-05-20 02:59:59 +08:00
Analysis/src/Simplify.cpp
Analysis/src/Substitution.cpp
2023-08-19 01:06:29 +08:00
Analysis/src/Subtyping.cpp
Analysis/src/Symbol.cpp
2021-12-03 07:20:08 +08:00
Analysis/src/ToDot.cpp
Analysis/src/TopoSortStatements.cpp
Analysis/src/ToString.cpp
Analysis/src/Transpiler.cpp
Analysis/src/TxnLog.cpp
2023-06-09 20:20:36 +08:00
Analysis/src/Type.cpp
2022-05-20 07:46:52 +08:00
Analysis/src/TypeArena.cpp
Analysis/src/TypeAttach.cpp
2022-06-17 08:54:42 +08:00
Analysis/src/TypeChecker2.cpp
Analysis/src/TypedAllocator.cpp
2023-05-12 20:15:01 +08:00
Analysis/src/TypeFamily.cpp
Analysis/src/TypeInfer.cpp
Analysis/src/TypePack.cpp
Analysis/src/TypeUtils.cpp
Analysis/src/Unifiable.cpp
Analysis/src/Unifier.cpp
Analysis/src/Unifier2.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 07:20:08 +08:00
VM/src/lgcdebug.cpp
VM/src/linit.cpp
VM/src/lmathlib.cpp
VM/src/lmem.cpp
2022-01-07 06:10:07 +08:00
VM/src/lnumprint.cpp
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
VM/src/ludata.cpp
VM/src/lutf8lib.cpp
VM/src/lvmexecute.cpp
VM/src/lvmload.cpp
VM/src/lvmutils.cpp
2022-10-14 06:59:53 +08:00
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
VM/src/ludata.h
VM/src/lvm.h
)
2022-02-04 07:09:37 +08:00
target_sources(isocline PRIVATE
extern/isocline/include/isocline.h
extern/isocline/src/isocline.c
)
if(TARGET Luau.Repl.CLI)
# Luau.Repl.CLI Sources
target_sources(Luau.Repl.CLI PRIVATE
CLI/Coverage.h
CLI/Coverage.cpp
CLI/FileUtils.h
CLI/FileUtils.cpp
2022-07-22 04:36:41 +08:00
CLI/Flags.h
CLI/Flags.cpp
CLI/Profiler.h
CLI/Profiler.cpp
2022-01-28 05:29:34 +08:00
CLI/Repl.cpp
CLI/ReplEntry.cpp)
endif()
if(TARGET Luau.Analyze.CLI)
# Luau.Analyze.CLI Sources
target_sources(Luau.Analyze.CLI PRIVATE
CLI/FileUtils.h
CLI/FileUtils.cpp
2022-07-22 04:36:41 +08:00
CLI/Flags.h
CLI/Flags.cpp
CLI/Analyze.cpp)
endif()
2022-02-12 02:43:14 +08:00
if(TARGET Luau.Ast.CLI)
2023-06-09 20:20:36 +08:00
# Luau.Ast.CLI Sources
2022-02-12 02:43:14 +08:00
target_sources(Luau.Ast.CLI PRIVATE
CLI/Ast.cpp
CLI/FileUtils.h
CLI/FileUtils.cpp
)
endif()
if(TARGET Luau.UnitTest)
# Luau.UnitTest Sources
target_sources(Luau.UnitTest PRIVATE
2023-03-31 20:21:14 +08:00
tests/AssemblyBuilderA64.test.cpp
2022-07-08 09:05:31 +08:00
tests/AssemblyBuilderX64.test.cpp
2022-08-05 05:27:28 +08:00
tests/AstJsonEncoder.test.cpp
tests/AstQuery.test.cpp
2023-08-19 01:06:29 +08:00
tests/AstQueryDsl.cpp
tests/AstQueryDsl.h
tests/AstVisitor.test.cpp
tests/Autocomplete.test.cpp
tests/BuiltinDefinitions.test.cpp
2023-08-19 01:06:29 +08:00
tests/ClassFixture.cpp
tests/ClassFixture.h
2022-09-09 05:44:50 +08:00
tests/CodeAllocator.test.cpp
tests/Compiler.test.cpp
tests/Config.test.cpp
2023-08-19 01:06:29 +08:00
tests/ConstraintGraphBuilderFixture.cpp
tests/ConstraintGraphBuilderFixture.h
2022-07-08 09:05:31 +08:00
tests/ConstraintSolver.test.cpp
2022-04-29 09:04:52 +08:00
tests/CostModel.test.cpp
2022-12-02 18:46:05 +08:00
tests/DataFlowGraph.test.cpp
2023-01-28 05:28:45 +08:00
tests/DenseHash.test.cpp
2023-08-19 01:06:29 +08:00
tests/Differ.test.cpp
tests/Error.test.cpp
2023-08-19 01:06:29 +08:00
tests/Fixture.cpp
tests/Fixture.h
tests/Frontend.test.cpp
2023-08-19 01:06:29 +08:00
tests/IostreamOptional.h
2023-02-11 02:50:54 +08:00
tests/IrBuilder.test.cpp
2023-03-31 20:21:14 +08:00
tests/IrCallWrapperX64.test.cpp
2023-04-22 05:41:03 +08:00
tests/IrRegAllocX64.test.cpp
2022-08-05 05:27:28 +08:00
tests/JsonEmitter.test.cpp
2022-07-29 11:41:13 +08:00
tests/Lexer.test.cpp
tests/Linter.test.cpp
tests/LValue.test.cpp
tests/Module.test.cpp
tests/NonstrictMode.test.cpp
2022-04-15 05:57:15 +08:00
tests/Normalize.test.cpp
2022-07-08 09:05:31 +08:00
tests/NotNull.test.cpp
tests/Parser.test.cpp
tests/RequireTracer.test.cpp
2022-04-29 09:04:52 +08:00
tests/RuntimeLimits.test.cpp
2023-08-19 01:06:29 +08:00
tests/ScopedFlags.h
2023-05-20 02:59:59 +08:00
tests/Simplify.test.cpp
tests/StringUtils.test.cpp
2023-08-19 01:06:29 +08:00
tests/Subtyping.test.cpp
tests/Symbol.test.cpp
2021-12-03 07:20:08 +08:00
tests/ToDot.test.cpp
tests/TopoSort.test.cpp
tests/ToString.test.cpp
tests/Transpiler.test.cpp
2023-05-12 20:15:01 +08:00
tests/TxnLog.test.cpp
tests/TypeFamily.test.cpp
tests/TypeInfer.aliases.test.cpp
tests/TypeInfer.annotations.test.cpp
2022-03-18 08:06:25 +08:00
tests/TypeInfer.anyerror.test.cpp
tests/TypeInfer.builtins.test.cpp
2023-03-17 22:59:30 +08:00
tests/TypeInfer.cfa.test.cpp
tests/TypeInfer.classes.test.cpp
tests/TypeInfer.definitions.test.cpp
2022-03-18 08:06:25 +08:00
tests/TypeInfer.functions.test.cpp
tests/TypeInfer.generics.test.cpp
tests/TypeInfer.intersectionTypes.test.cpp
2022-03-18 08:06:25 +08:00
tests/TypeInfer.loops.test.cpp
tests/TypeInfer.modules.test.cpp
2022-10-28 06:22:49 +08:00
tests/TypeInfer.negations.test.cpp
2022-03-18 08:06:25 +08:00
tests/TypeInfer.oop.test.cpp
tests/TypeInfer.operators.test.cpp
tests/TypeInfer.primitives.test.cpp
tests/TypeInfer.provisional.test.cpp
tests/TypeInfer.refinements.test.cpp
2023-05-26 04:46:51 +08:00
tests/TypeInfer.rwprops.test.cpp
2021-11-19 06:21:07 +08:00
tests/TypeInfer.singletons.test.cpp
tests/TypeInfer.tables.test.cpp
tests/TypeInfer.test.cpp
tests/TypeInfer.tryUnify.test.cpp
tests/TypeInfer.typePacks.cpp
tests/TypeInfer.unionTypes.test.cpp
2022-07-08 09:05:31 +08:00
tests/TypeInfer.unknownnever.test.cpp
tests/TypePack.test.cpp
tests/TypeVar.test.cpp
tests/Unifier2.test.cpp
tests/Variant.test.cpp
2023-01-04 01:33:19 +08:00
tests/VisitType.test.cpp
2023-06-09 20:20:36 +08:00
tests/InsertionOrderedMap.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-12-03 07:20:08 +08:00
2022-01-28 05:29:34 +08: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
2022-07-22 04:36:41 +08:00
CLI/Flags.h
CLI/Flags.cpp
2022-01-28 05:29:34 +08:00
CLI/Profiler.h
CLI/Profiler.cpp
CLI/Repl.cpp
2022-10-22 01:33:43 +08:00
2022-01-28 05:29:34 +08:00
tests/Repl.test.cpp
tests/main.cpp)
endif()
2021-12-03 07:20:08 +08:00
if(TARGET Luau.Web)
# Luau.Web Sources
target_sources(Luau.Web PRIVATE
CLI/Web.cpp)
endif()
2022-08-12 04:42:54 +08:00
if(TARGET Luau.Reduce.CLI)
2023-06-09 20:20:36 +08:00
# Luau.Reduce.CLI Sources
2022-08-12 04:42:54 +08:00
target_sources(Luau.Reduce.CLI PRIVATE
CLI/Reduce.cpp
CLI/FileUtils.cpp
CLI/FileUtils.h
)
endif()
2023-06-09 20:20:36 +08:00
if(TARGET Luau.Compile.CLI)
# Luau.Compile.CLI Sources
target_sources(Luau.Compile.CLI PRIVATE
CLI/FileUtils.h
CLI/FileUtils.cpp
CLI/Flags.h
CLI/Flags.cpp
CLI/Compile.cpp)
endif()