cmake_minimum_required(VERSION 3.23) project(mwcc) set(CMAKE_CXX_STANDARD 14) include_directories(.) include_directories(includes) include_directories(sdk_hdrs) add_executable(mwcc command_line/CmdLine/Src/Callbacks/CLCompilerLinkerDropin_V10.cpp command_line/CmdLine/Src/Callbacks/CLDropinCallbacks_V10.cpp command_line/CmdLine/Src/Callbacks/CLParserCallbacks_v1.cpp command_line/CmdLine/Src/Clients/ClientGlue.c command_line/CmdLine/Src/Clients/CLStaticMain.c command_line/CmdLine/Src/Envir/CLErrors.c command_line/CmdLine/Src/Envir/CLIO.c command_line/CmdLine/Src/MacEmul/ErrMgr.c command_line/CmdLine/Src/MacEmul/Files.c command_line/CmdLine/Src/MacEmul/LowMem.c command_line/CmdLine/Src/MacEmul/Memory.c command_line/CmdLine/Src/MacEmul/Resources.c command_line/CmdLine/Src/MacEmul/ResourceStrings.c command_line/CmdLine/Src/MacEmul/TextUtils.c command_line/CmdLine/Src/OSLib/FileHandles.c command_line/CmdLine/Src/OSLib/Generic.c command_line/CmdLine/Src/OSLib/MacFileTypes.c command_line/CmdLine/Src/OSLib/MacSpecs.c command_line/CmdLine/Src/OSLib/MemUtils.c command_line/CmdLine/Src/OSLib/Posix.c command_line/CmdLine/Src/OSLib/StringExtras.c command_line/CmdLine/Src/OSLib/StringUtils.c command_line/CmdLine/Src/Plugins/CLPlugins.c command_line/CmdLine/Src/Project/CLAccessPaths.c command_line/CmdLine/Src/Project/CLFiles.c command_line/CmdLine/Src/Project/CLOverlays.c command_line/CmdLine/Src/Project/CLProj.c command_line/CmdLine/Src/Project/CLSegs.c command_line/CmdLine/Src/CLBrowser.c command_line/CmdLine/Src/CLDependencies.c command_line/CmdLine/Src/CLFileOps.c command_line/CmdLine/Src/CLIncludeFileCache.c command_line/CmdLine/Src/CLLicenses.c command_line/CmdLine/Src/CLLoadAndCache.c command_line/CmdLine/Src/CLMain.c command_line/CmdLine/Src/CLPrefs.c command_line/CmdLine/Src/CLTarg.c command_line/CmdLine/Src/CLToolExec.c command_line/CmdLine/Src/CLWriteObjectFile.c unsorted/ParserFace.c unsorted/uContext1.cpp unsorted/uContextCL.cpp unsorted/uContextParser.cpp unsorted/uContextSecret.cpp unsorted/StaticParserGlue.c unsorted/ParserHelpers.c unsorted/ToolHelpers.c unsorted/ParserHelpers-cc.c unsorted/ToolHelpers-cc.c unsorted/IO.c unsorted/Projects.c unsorted/Targets.c unsorted/ParserErrors.c unsorted/Utils.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/Plugin/cc-mach-ppc.c compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Plugin/libimp-mach-ppc.c command_line/C++_Parser/Src/Library/WarningHelpers.c unsorted/uLibImporter.c command_line/CmdLine/Src/CLPluginRequests.cpp unsorted/uCOS.c command_line/CmdLine/Src/uFileTypeMappings.c compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Options/Glue/ParserGlue-mach-ppc-cc.c unsorted/Arguments.c unsorted/Help.c unsorted/Option.c unsorted/Parameter.c unsorted/TargetOptimizer-ppc-mach.c unsorted/OptimizerHelpers.c compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Options/Glue/TargetWarningHelpers-ppc-cc.c compiler_and_linker/unsorted/CCompiler.c unsorted/CmdLineBuildDate.c compiler_and_linker/FrontEnd/C/CScope.c compiler_and_linker/unsorted/CPrec.c compiler_and_linker/unsorted/CError.c compiler_and_linker/unsorted/CInt64.c compiler_and_linker/unsorted/CMachine.c compiler_and_linker/FrontEnd/C/CPrepTokenizer.c compiler_and_linker/FrontEnd/C/CPrep.c compiler_and_linker/unsorted/PCode.c compiler_and_linker/unsorted/PCodeInfo.c compiler_and_linker/unsorted/RegisterInfo.c compiler_and_linker/unsorted/Registers.c compiler_and_linker/unsorted/CMangler.c compiler_and_linker/unsorted/CodeGen.c includes/compiler/Operands.h compiler_and_linker/unsorted/Operands.c includes/compiler/PCodeUtilities.h compiler_and_linker/unsorted/PCodeUtilities.c compiler_and_linker/unsorted/TOC.c compiler_and_linker/unsorted/StackFrame.c includes/compiler/StackFrame.h includes/compiler/TOC.h includes/compiler/CInit.h compiler_and_linker/unsorted/CInit.c compiler_and_linker/unsorted/CExpr.c includes/compiler/CExpr.h compiler_and_linker/unsorted/CExpr2.c includes/compiler/CParser.h compiler_and_linker/unsorted/CParser.c compiler_and_linker/unsorted/CDecl.c includes/compiler/CDecl.h compiler_and_linker/unsorted/CABI.c 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 compiler_and_linker/unsorted/CClass.c compiler_and_linker/unsorted/CFunc.c includes/compiler/CFunc.h includes/compiler/CInline.h compiler_and_linker/unsorted/CInline.c)