MWCC/CMakeLists.txt

230 lines
12 KiB
CMake
Raw Normal View History

cmake_minimum_required(VERSION 3.23)
project(mwcc)
set(CMAKE_CXX_STANDARD 14)
include_directories(.)
include_directories(includes)
include_directories(sdk_hdrs)
2023-01-19 13:00:09 +00:00
# add_compile_definitions(CW_ENABLE_IRO_DEBUG)
add_compile_definitions(CW_ENABLE_PCODE_DEBUG CW_TARGET_MACH CW_CLT CW_REPLICATE_PPC_CODEGEN_BUG)
2023-01-13 13:40:30 +00:00
add_executable(mwcc
command_line/CmdLine/Src/Clients/CLStaticMain.c
command_line/CmdLine/Src/Clients/ClientGlue.c
command_line/CmdLine/Src/CLMain.c
command_line/CmdLine/Src/MacEmul/Resources.c
command_line/CmdLine/Src/Envir/CLErrors.c
command_line/CmdLine/Src/MacEmul/ResourceStrings.c
command_line/CmdLine/Src/Plugins/CLPlugins.c
command_line/CmdLine/Src/Callbacks/CLParserCallbacks_v1.cpp
command_line/CmdLine/Src/Envir/CLIO.c
command_line/CmdLine/Src/CLToolExec.c
command_line/CmdLine/Src/OSLib/Posix.c
command_line/CmdLine/Src/OSLib/StringExtras.c
command_line/CmdLine/Src/OSLib/Generic.c
command_line/CmdLine/Src/Project/CLProj.c
command_line/CmdLine/Src/CLLicenses.c
command_line/CmdLine/Src/OSLib/MemUtils.c
command_line/CmdLine/Src/CLPluginRequests.cpp
command_line/CmdLine/Src/MacEmul/LowMem.c
command_line/CmdLine/Src/CLFileOps.c
command_line/CmdLine/Src/CLPrefs.c
command_line/CmdLine/Src/CLTarg.c
command_line/CmdLine/Src/Project/CLAccessPaths.c
command_line/CmdLine/Src/OSLib/MacSpecs.c
command_line/CmdLine/Src/OSLib/StringUtils.c
command_line/CmdLine/Src/MacEmul/Memory.c
command_line/CmdLine/Src/MacEmul/Files.c
command_line/CmdLine/Src/MacEmul/TextUtils.c
command_line/CmdLine/Src/CLFileTypes.c
command_line/CmdLine/Src/Project/CLFiles.c
command_line/CmdLine/Src/Project/CLOverlays.c
command_line/CmdLine/Src/Project/CLSegs.c
command_line/CmdLine/Src/Callbacks/CLDropinCallbacks_V10.cpp
command_line/CmdLine/Src/OSLib/MacFileTypes.c
command_line/CmdLine/Src/OSLib/FileHandles.c
command_line/CmdLine/Src/Callbacks/CLCompilerLinkerDropin_V10.cpp
command_line/CmdLine/Src/CLDependencies.c
command_line/CmdLine/Src/CLWriteObjectFile.c
command_line/CmdLine/Src/CLBrowser.c
command_line/CmdLine/Src/CLIncludeFileCache.c
command_line/CmdLine/Src/CLLoadAndCache.c
command_line/CmdLine/Src/MacEmul/ErrMgr.c
compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Static/cc-mach-ppc-mw.c
compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Options/Glue/ParserGlue-mach-ppc-cc.c
compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Plugin/cc-mach-ppc.c
compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Plugin/libimp-mach-ppc.c
compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Options/Glue/TargetOptimizer-ppc-mach.c
command_line/C++_Parser/Src/Library/OptimizerHelpers.c
command_line/C++_Parser/Src/Library/StdTargetWarningHelpers-cc.c
command_line/C++_Parser/Src/Library/WarningHelpers.c
2022-10-25 19:30:28 +00:00
compiler_and_linker/unsorted/CCompiler.c
compiler_and_linker/FrontEnd/C/CParser.c
compiler_and_linker/FrontEnd/Common/CompilerTools.c
compiler_and_linker/unsorted/CodeGenOptPPC.c
compiler_and_linker/FrontEnd/Optimizer/IrOptimizer.c
compiler_and_linker/BackEnd/PowerPC/CodeGenerator/CodeGen.c
compiler_and_linker/FrontEnd/C/CPrep.c
2022-10-25 19:30:28 +00:00
compiler_and_linker/FrontEnd/C/CScope.c
compiler_and_linker/BackEnd/PowerPC/CMachine.c
compiler_and_linker/FrontEnd/C/CExpr.c
compiler_and_linker/FrontEnd/C/CFunc.c
compiler_and_linker/FrontEnd/C/CTemplateNew.c
compiler_and_linker/FrontEnd/C/CError.c
compiler_and_linker/unsorted/ObjGenMachO.c
compiler_and_linker/FrontEnd/C/CDecl.c
compiler_and_linker/FrontEnd/C/CMangler.c
compiler_and_linker/FrontEnd/C/CSOM.c
compiler_and_linker/FrontEnd/C/CABI.c
compiler_and_linker/FrontEnd/C/CInit.c
compiler_and_linker/FrontEnd/C/CClass.c
compiler_and_linker/FrontEnd/Common/CIRTransform.c
compiler_and_linker/unsorted/CObjC.c
compiler_and_linker/FrontEnd/C/CInline.c
2022-11-07 03:06:21 +00:00
compiler_and_linker/FrontEnd/C/CPrepTokenizer.c
compiler_and_linker/FrontEnd/C/CTemplateTools.c
compiler_and_linker/FrontEnd/Optimizer/IroPointerAnalysis.c
compiler_and_linker/BackEnd/PowerPC/CodeGenerator/InstrSelection.c
compiler_and_linker/FrontEnd/Optimizer/IroFlowgraph.c
compiler_and_linker/FrontEnd/Optimizer/IroLinearForm.c
compiler_and_linker/FrontEnd/Optimizer/IroUtil.c
compiler_and_linker/FrontEnd/Optimizer/IroCSE.c
compiler_and_linker/FrontEnd/Optimizer/IroPropagate.c
compiler_and_linker/FrontEnd/Optimizer/IROUseDef.c
compiler_and_linker/BackEnd/PowerPC/InlineAssembler/InlineAsmPPC.c
compiler_and_linker/FrontEnd/Optimizer/IroDump.c
compiler_and_linker/FrontEnd/Optimizer/IroTransform.c
compiler_and_linker/FrontEnd/Optimizer/IroVars.c
compiler_and_linker/FrontEnd/Optimizer/IroEval.c
compiler_and_linker/FrontEnd/Optimizer/IroJump.c
compiler_and_linker/FrontEnd/Optimizer/IroRangePropagation.c
compiler_and_linker/FrontEnd/Optimizer/IroEmptyLoop.c
compiler_and_linker/FrontEnd/Optimizer/IroUnrollLoop.c
compiler_and_linker/FrontEnd/Optimizer/IroLoop.c
compiler_and_linker/FrontEnd/Optimizer/IroExprRegeneration.c
compiler_and_linker/FrontEnd/Optimizer/IroSubable.c
compiler_and_linker/BackEnd/PowerPC/RegisterAllocator/RegisterInfo.c
compiler_and_linker/BackEnd/PowerPC/CodeGenerator/TOC.c
compiler_and_linker/BackEnd/PowerPC/CodeGenerator/StackFrame.c
compiler_and_linker/unsorted/Registers.c
2022-11-07 03:06:21 +00:00
compiler_and_linker/unsorted/PCode.c
compiler_and_linker/BackEnd/PowerPC/CodeGenerator/Switch.c
compiler_and_linker/BackEnd/PowerPC/GlobalOptimizer/ValueNumbering.c
compiler_and_linker/BackEnd/PowerPC/CodeGenerator/PCodeUtilities.c
compiler_and_linker/BackEnd/PowerPC/CodeGenerator/Operands.c
compiler_and_linker/BackEnd/PowerPC/CodeGenerator/Exceptions.c
compiler_and_linker/unsorted/DumpIR.c
compiler_and_linker/FrontEnd/Common/COptimizer.c
compiler_and_linker/unsorted/GlobalOptimizer.c
compiler_and_linker/BackEnd/PowerPC/CodeGenerator/PCodeListing.c
compiler_and_linker/BackEnd/PowerPC/CodeGenerator/Peephole.c
compiler_and_linker/BackEnd/PowerPC/Scheduler/Scheduler.c
compiler_and_linker/BackEnd/PowerPC/RegisterAllocator/Coloring.c
compiler_and_linker/BackEnd/PowerPC/CodeGenerator/PCodeAssembly.c
compiler_and_linker/BackEnd/PowerPC/CodeGenerator/Intrinsics.c
compiler_and_linker/BackEnd/PowerPC/PPCError.c
compiler_and_linker/FrontEnd/C/CExpr2.c
compiler_and_linker/unsorted/CInt64.c
compiler_and_linker/FrontEnd/C/CPrec.c
compiler_and_linker/FrontEnd/C/CBrowse.c
compiler_and_linker/FrontEnd/C/CPreprocess.c
compiler_and_linker/BackEnd/PowerPC/InlineAssembler/FuncLevelAsmPPC.c
compiler_and_linker/FrontEnd/C/CException.c
compiler_and_linker/FrontEnd/C/CTemplateClass.c
2022-12-29 12:32:55 +00:00
compiler_and_linker/unsorted/ScanFloat.c
compiler_and_linker/FrontEnd/C/CExprConvMatch.c
compiler_and_linker/FrontEnd/C/CRTTI.c
compiler_and_linker/unsorted/CObjCModern.c
compiler_and_linker/BackEnd/PowerPC/InlineAssembler/InlineAsm.c
compiler_and_linker/unsorted/Unmangle.c
compiler_and_linker/unsorted/MachO.c
compiler_and_linker/unsorted/GenStabs.c
compiler_and_linker/FrontEnd/C/CTemplateFunc.c
compiler_and_linker/FrontEnd/Optimizer/IroMalloc.c
compiler_and_linker/BackEnd/PowerPC/PCode/PCodeInfo.c
compiler_and_linker/BackEnd/PowerPC/CodeGenerator/StructMoves.c
compiler_and_linker/BackEnd/PowerPC/CodeGenerator/FunctionCalls.c
compiler_and_linker/FrontEnd/Optimizer/IroBitVect.c
2023-01-11 22:29:53 +00:00
compiler_and_linker/unsorted/OpcodeInfo.c
compiler_and_linker/unsorted/InlineAsmRegistersPPC.c
compiler_and_linker/unsorted/InlineAsmMnemonicsPPC.c
compiler_and_linker/unsorted/InlineAsmRegisters.c
compiler_and_linker/BackEnd/PowerPC/GlobalOptimizer/Alias.c
compiler_and_linker/BackEnd/PowerPC/GlobalOptimizer/LoopDetection.c
compiler_and_linker/unsorted/CopyPropagation.c
compiler_and_linker/BackEnd/PowerPC/GlobalOptimizer/CodeMotion.c
compiler_and_linker/BackEnd/PowerPC/GlobalOptimizer/StrengthReduction.c
compiler_and_linker/BackEnd/PowerPC/GlobalOptimizer/LoopOptimization.c
compiler_and_linker/BackEnd/PowerPC/GlobalOptimizer/ConstantPropagation.c
compiler_and_linker/unsorted/AddPropagation.c
compiler_and_linker/unsorted/UseDefChains.c
compiler_and_linker/unsorted/LoadDeletion.c
compiler_and_linker/BackEnd/PowerPC/GlobalOptimizer/VectorArraysToRegs.c
2023-01-11 22:29:53 +00:00
compiler_and_linker/unsorted/LiveVariables.c
compiler_and_linker/BackEnd/PowerPC/Scheduler/MachineSimulation604.c
compiler_and_linker/BackEnd/PowerPC/Scheduler/MachineSimulation603.c
compiler_and_linker/BackEnd/PowerPC/Scheduler/MachineSimulationAltiVec.c
compiler_and_linker/BackEnd/PowerPC/Scheduler/MachineSimulation7400.c
compiler_and_linker/BackEnd/PowerPC/Scheduler/MachineSimulation603e.c
compiler_and_linker/BackEnd/PowerPC/Scheduler/MachineSimulation750.c
compiler_and_linker/BackEnd/PowerPC/Scheduler/MachineSimulation601.c
compiler_and_linker/BackEnd/PowerPC/Scheduler/MachineSimulation821.c
compiler_and_linker/BackEnd/PowerPC/RegisterAllocator/InterferenceGraph.c
compiler_and_linker/BackEnd/PowerPC/RegisterAllocator/SpillCode.c
compiler_and_linker/BackEnd/PowerPC/InlineAssembler/GCCInlineAsm.c
compiler_and_linker/unsorted/BitVectors.c
command_line/C++_Parser/Src/Library/StaticParserGlue.c
command_line/C++_Parser/Src/Library/ParserFace.c
command_line/C++_Parser/Src/Library/ParserHelpers.c
command_line/C++_Parser/Src/Library/ToolHelpers.c
command_line/C++_Parser/Src/Library/ParserHelpers-cc.c
command_line/C++_Parser/Src/Library/Arguments.c
command_line/C++_Parser/Src/Library/ToolHelpers-cc.c
command_line/C++_Parser/Src/Library/IO.c
command_line/C++_Parser/Src/Library/Projects.c
command_line/C++_Parser/Src/Library/Targets.c
command_line/C++_Parser/Src/Library/Option.c
command_line/C++_Parser/Src/Library/ParserErrors.c
command_line/C++_Parser/Src/Library/Utils.c
command_line/C++_Parser/Src/Library/Parameter.c
command_line/C++_Parser/Src/Library/Help.c
command_line/PluginLib/Src/Library/CWPluginsPrivate.cpp
command_line/PluginLib/Src/Library/DropInCompilerLinkerPrivate.cpp
command_line/PluginLib/Src/Internal/CWSecretPluginCallbacks.cpp
command_line/PluginLib/Src/Internal/COSToolsCLT.c
command_line/PluginLib/Src/Library/CWParserPluginsPrivate.cpp
unsorted/uLibImporter.c
unsorted/CmdLineBuildDate.c
includes/compiler/RegisterInfo.h
includes/compiler/Registers.h
includes/compiler/InstrSelection.h
includes/compiler/CCompiler.h
includes/compiler/CABI.h
includes/compiler/CMachine.h
includes/compiler/CMangler.h
includes/compiler/CScope.h
includes/compiler/CPrep.h
includes/compiler/CPrepTokenizer.h
includes/compiler/CodeGen.h
includes/compiler/CClass.h
includes/compiler/CFunc.h
includes/compiler/CInline.h
includes/compiler/Operands.h
includes/compiler/PCodeUtilities.h
includes/compiler/StackFrame.h
includes/compiler/TOC.h
includes/compiler/CInit.h
includes/compiler/CExpr.h
includes/compiler/CParser.h
includes/compiler/CDecl.h
)