UE Development Environment for MacOS Monterey?

Hello UE community, I am a Unity game dev needing to learn Unreal, and my development environment has proven quite frustrating to set up.

Unreal Engine does not have full functionality with any IDE on my machine and operating system (Mac M1, MacOS Monterey). I tried a fresh install of both UE4.27 and UE5.0 with 4 different code editors. Expected behavior would be that I can write code in an external IDE, with full autocomplete and no out-of-the-box compilation errors.

Instead, I get slightly different errors/unexpected behavior with each one that I have tried, which are listed below:

UE4 and XCode: Compilation error - variable “LayerNames” set but not used [-Werror,-Wunused-but-set-variable]and autocomplete not working for Unreal classes

UE5 and XCode: Autocomplete not working at all, for both Unreal classes and syntax (even after the full indexing process is complete)

UE5 and VSCode: Autocomplete not working for Unreal classes only, and linking issue - no Unreal source files able to be found in include path (even when the include path points directly at the EpicGames/Unreal root folder, or the source folder itself)

UE5 and CLion: Same problems as VSCode

UE5 and Visual Studio: C++ compilation support not available for VS on MacOS, and the same linking issue as VSCode and CLion

Is there any version of Unreal Engine and Editor that has full functionality with MacOS Monterey and an IDE?

Thanks for any help!

1 Like

UE5 and Xcode is a nightmare. Autocomplete does not work. Period. Full stop.

Under UE4 I USED to be able to turn an Xcode project into a VSCode project (and compile, etc) using the following:

cd /Users/Shared/Epic\ Games/UE_4.XX/Engine/Build/BatchFiles/Mac
./GenerateProjectFiles.sh -project=<path-to-dot-uproject> -game -vscode
(XX being the UE4 version number)

If I try the same thing with UE5, I get an error.

I got VSCode under UE4 to give me hinting, etc on macOS, but you have to tell it LITERALLY all the paths to all the headers. Fun it is not. But it does work. The failure is that if ANY of those files moves to a different directory, VSCode goes :sob:

If anyone has any hints I might be able to help with the other issues.

LOTS OF EDITS AND ANSWERS

Okay, the problem I was having was porting a 4.27 project to 5.0.2.

Using the above it just wouldn’t generate a VSCode project. No way, no how.

Here’s how I got a VSCode project out of the darn thing:

  1. So I started off with a plain third party 5.0.2 file just as a test.
  2. Let it update the shaders.
  3. If it says “This project is out of date” say “Update”
  4. Tools/New C++ Class…
  5. All Classes
  6. Search for TargetPoint
  7. Create a new class named this (don’t worry about code, it’s just a dummy)
  8. Click Public (haven’t tried anything else)
  9. Keep or change the name (doesn’t matter)
  10. Create Class
  11. Okay, now the fun begins. Open a Terminal and enter the following:

cd /Users/Shared/Epic\ Games/UE_5.0/Engine/Build/BatchFiles/Mac
./GenerateProjectFiles.sh -project=<path-to-dot-uproject> -game -vscode

<path-to-dot-uproject> is obviously the path to your games xxxx.uproject file.

  1. Look in your directory and you should NOW see a file with .code-workspace — that is the VSCode workspace file!
  2. Go to VSCode and File/Open Workspace From File and select the .code-workspace
  3. Boom! (Sorta)
  4. To compile and run, go the the debug symbol
  5. At the top it will say “Launch ProjectName (Debug) (ProjectName) — THAT IS NOT IT!
  6. What you WANT is the one that says “Launch ProjectNameEditor (Development) (ProjectName)… Why? I guess to make you cry? I have no idea.

Okay, now you have the basics, how to get hinting and all of that working… Next post.

1 Like

Okay, so now we have the VSCode running. But look at all those squiggles!

Makes you want to throw up your hands.

Don’t.

After you build it once, you should be able to find a file names Definitions.<projectname>.h under the folder <projectname>/Intermediate/Build/Mac/x86_64/UnrealGame/Development/<projectname>/

This has the #defines required to compile the code. I have included them in what builds for my system, but your system may required something different.

So your c_cpp_properties.json will look something like the following (anyplace it says PROJECT replace with your project’s name).

I’m still playing with it and will update this as I find things that need correction. It is a lot and I wish Epic would put all the headers in a single folder (or at least links to the headers — Windows should still be able to do links AFAIK and Linux has no problems with them).

{
    "configurations": [
        {
            "name": "PROJECTEditor Editor Mac Development (PROJECT)",
            "compilerPath": "/usr/bin/clang++",
            "intelliSenseMode": "clang-x64",
            "macFrameworkPath": [
                "/System/Library/Frameworks",
                "/Library/Frameworks"
            ],
            "compileCommands": "/pathnameto/PROJECT/.vscode/compileCommands_PROJECT.json",
            "cStandard": "gnu17",
            "cppStandard": "gnu++14",
            "includePath": [
                "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include",
                "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks",
                "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1",
                "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include",
                "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include",

                "${default}",
                "${workspaceFolder}/Intermediate/Build/Mac/x86_64/UnrealEditor/Inc/PROJECT",
                "${workspaceFolder}/Source/PROJECT/Public",
                "${workspaceFolder}/Source/PROJECT/Private",

                "/Users/Shared/Epic Games/UE_5.0/Engine/Source",
                "/Users/Shared/Epic Games/UE_5.0/Engine/Source/Editor/EditorStyle/Public", 
                "/Users/Shared/Epic Games/UE_5.0/Engine/Source/Editor/PropertyEditor/Public",
                "/Users/Shared/Epic Games/UE_5.0/Engine/Source/Editor/UnrealEd/Classes",
                "/Users/Shared/Epic Games/UE_5.0/Engine/Source/Editor/UnrealEd/Public",
                "/Users/Shared/Epic Games/UE_5.0/Engine/Source/Developer/ToolMenus/Public",
                "/Users/Shared/Epic Games/UE_5.0/Engine/Source/Runtime",
                "/Users/Shared/Epic Games/UE_5.0/Engine/Source/Runtime/Engine/Public",
                "/Users/Shared/Epic Games/UE_5.0/Engine/Source/Runtime/Engine/Classes",
                "/Users/Shared/Epic Games/UE_5.0/Engine/Source/Runtime/Core/Public",
                "/Users/Shared/Epic Games/UE_5.0/Engine/Source/Runtime/AIModule",
                "/Users/Shared/Epic Games/UE_5.0/Engine/Source/Runtime/AIModule/Classes",
                "/Users/Shared/Epic Games/UE_5.0/Engine/Source/Runtime/TraceLog/Public",
                "/Users/Shared/Epic Games/UE_5.0/Engine/Source/Runtime/CoreUObject/Public",
                "/Users/Shared/Epic Games/UE_5.0/Engine/Source/Runtime/Engine/Public",
                "/Users/Shared/Epic Games/UE_5.0/Engine/Source/Runtime/Slate/Public",
                "/Users/Shared/Epic Games/UE_5.0/Engine/Source/Runtime/InputCore/Classes",
                "/Users/Shared/Epic Games/UE_5.0/Engine/Source/Runtime/SlateCore/Public",
                "/Users/Shared/Epic Games/UE_5.0/Engine/Source/Runtime/ApplicationCore/Public",
                "/Users/Shared/Epic Games/UE_5.0/Engine/Source/Runtime/Net/Core/Public",
                "/Users/Shared/Epic Games/UE_5.0/Engine/Source/Runtime/RHI/Public",
                "/Users/Shared/Epic Games/UE_5.0/Engine/Source/Runtime/RenderCore/Public",
                "/Users/Shared/Epic Games/UE_5.0/Engine/Source/Runtime/NavigationSystem/Public",
                "/Users/Shared/Epic Games/UE_5.0/Engine/Source/Runtime/PhysicsCore/Public",
                "/Users/Shared/Epic Games/UE_5.0/Engine/Source/Runtime/GameplayTasks/Classes",
                "/Users/Shared/Epic Games/UE_5.0/Engine/Source/Runtime/GameplayTasks/Public",
                "/Users/Shared/Epic Games/UE_5.0/Engine/Source/Runtime/Experimental/Chaos/Public",
                "/Users/Shared/Epic Games/UE_5.0/Engine/Source/Runtime/Experimental/ChaosCore/Public",
                "/Users/Shared/Epic Games/UE_5.0/Engine/Source/Runtime/GameplayTags/Classes",
                "/Users/Shared/Epic Games/UE_5.0/Engine/Source/Runtime/AudioMixerCore/Public",
                "/Users/Shared/Epic Games/UE_5.0/Engine/Source/Runtime/DeveloperSettings/Public",
                "/Users/Shared/Epic Games/UE_5.0/Engine/Source/Runtime/AssetRegistry/Public",
                "/Users/Shared/Epic Games/UE_5.0/Engine/Source/Runtime/AnimationCore/Public",
                "/Users/Shared/Epic Games/UE_5.0/Engine/Source/Runtime/Renderer/Public",
                "/Users/Shared/Epic Games/UE_5.0/Engine/Source/Runtime/ClothingSystemRuntimeInterface/Public",
                "/Users/Shared/Epic Games/UE_5.0/Engine/Source/Runtime/Engine/Classes/GameFramework"
            ],
            "defines": [
                "DEPRECATED_FORGAME DEPRECATED",
                "UE_DEPRECATED_FORGAME=UE_DEPRECATED",
                "IS_PROGRAM=0",
                "UE_EDITOR=1",
                "HAS_METAL=1",
                "GL_SILENCE_DEPRECATION=1",
                "ENABLE_PGO_PROFILE=0",
                "USE_VORBIS_FOR_STREAMING=1",
                "USE_XMA2_FOR_STREAMING=1",
                "UE_RELATIVE_BASE_DIR=../../../",
                "WITH_DEV_AUTOMATION_TESTS=1",
                "WITH_PERF_AUTOMATION_TESTS=1",
                "UNICODE=1",
                "_UNICODE=1",
                "__UNREAL__=1",
                "IS_MONOLITHIC=0",
                "WITH_ENGINE=1",
                "WITH_UNREAL_DEVELOPER_TOOLS=1",
                "WITH_UNREAL_TARGET_DEVELOPER_TOOLS=1",
                "WITH_APPLICATION_CORE=1",
                "WITH_COREUOBJECT=1",
                "WITH_VERSE=0",
                "USE_STATS_WITHOUT_ENGINE=0",
                "WITH_PLUGIN_SUPPORT=0",
                "WITH_ACCESSIBILITY=1",
                "WITH_PERFCOUNTERS=1",
                "USE_LOGGING_IN_SHIPPING=0",
                "WITH_LOGGING_TO_MEMORY=0",
                "USE_CACHE_FREED_OS_ALLOCS=1",
                "USE_CHECKS_IN_SHIPPING=0",
                "USE_ESTIMATED_UTCNOW=0",
                "WITH_EDITOR=1",
                "WITH_IOSTORE_IN_EDITOR=1",
                "WITH_SERVER_CODE=1",
                "WITH_PUSH_MODEL=1",
                "WITH_CEF3=1",
                "WITH_LIVE_CODING=0",
                "WITH_CPP_MODULES=0",
                "WITH_CPP_COROUTINES=0",
                "UBT_MODULE_MANIFEST=UnrealEditor.modules",
                "UBT_MODULE_MANIFEST_DEBUGGAME=UnrealEditor-Mac-DebugGame.modules",
                "UBT_COMPILED_PLATFORM=Mac",
                "UBT_COMPILED_TARGET=Editor",
                "UE_APP_NAME=UnrealEditor",
                "PLATFORM_MAC=1",
                "PLATFORM_APPLE=1",
                "WITH_TTS=0",
                "WITH_SPEECH_RECOGNITION=0",
                "NDEBUG=1",
                "UE_BUILD_DEVELOPMENT=1",
                "UE_IS_ENGINE_MODULE=0",
                "UE_PROJECT_NAME=PROJECT",
                "UE_TARGET_NAME=PROJECTEditor",
                "UE_MODULE_NAME=PROJECT",
                "UE_PLUGIN_NAME=",
                "IMPLEMENT_ENCRYPTION_KEY_REGISTRATION()=",
                "IMPLEMENT_SIGNING_KEY_REGISTRATION()=",
                "DEPRECATED_FORGAME=DEPRECATED",
                "UE_DEPRECATED_FORGAME=UE_DEPRECATED",
                "INCLUDE_CHAOS=1",
                "WITH_PHYSX=1",
                "PHYSICS_INTERFACE_PHYSX=0",
                "WITH_APEX=0",
                "WITH_APEX_CLOTHING=0",
                "WITH_PHYSX_COOKING=0",
                "WITH_NVCLOTH=0",
                "WITH_CHAOS=1",
                "WITH_CHAOS_NEEDS_TO_BE_FIXED=1",
                "WITH_CHAOS_CLOTHING=1",
                "WITH_CLOTH_COLLISION_DETECTION=1",
                "WITH_CUSTOM_SQ_STRUCTURE=0",
                "WITH_IMMEDIATE_PHYSX=0",
                "GPUPARTICLE_LOCAL_VF_ONLY=0",
                "WITH_ODSC=0",
                "ENGINE_API=DLLIMPORT",
                "UE_ENABLE_ICU=1",
                "WITH_ADDITIONAL_CRASH_CONTEXTS=1",
                "WITH_DIRECTXMATH=0",
                "IS_RUNNING_GAMETHREAD_ON_EXTERNAL_THREAD=1",
                "WITH_MALLOC_STOMP=1",
                "CORE_API=DLLIMPORT",
                "TRACELOG_API=DLLIMPORT",
                "PLATFORM_MAX_LOCAL_PLAYERS=0",
                "COREONLINE_API=DLLIMPORT",
                "COREUOBJECT_API=DLLIMPORT",
                "NETCORE_API=DLLIMPORT",
                "NETCOMMON_API=DLLIMPORT",
                "APPLICATIONCORE_API=DLLIMPORT",
                "RHI_WANT_BREADCRUMB_EVENTS=1",
                "RHI_WANT_RESOURCE_INFO=1",
                "RHI_API=DLLIMPORT",
                "JSON_API=DLLIMPORT",
                "JSONUTILITIES_API=DLLIMPORT",
                "WITH_FREETYPE=1",
                "SLATECORE_API=DLLIMPORT",
                "INPUTCORE_API=DLLIMPORT",
                "SLATE_API=DLLIMPORT",
                "WITH_UNREALPNG=1",
                "WITH_UNREALJPEG=1",
                "WITH_LIBJPEGTURBO=1",
                "WITH_UNREALEXR=1",
                "IMAGEWRAPPER_API=DLLIMPORT",
                "WITH_LIBTIFF=1",
                "MESSAGING_API=DLLIMPORT",
                "MESSAGINGCOMMON_API=DLLIMPORT",
                "RENDERCORE_API=DLLIMPORT",
                "ANALYTICSET_API=DLLIMPORT",
                "ANALYTICS_API=DLLIMPORT",
                "SOCKETS_PACKAGE=1",
                "SOCKETS_API=DLLIMPORT",
                "ASSETREGISTRY_API=DLLIMPORT",
                "ENGINEMESSAGES_API=DLLIMPORT",
                "ENGINESETTINGS_API=DLLIMPORT",
                "SYNTHBENCHMARK_API=DLLIMPORT",
                "RENDERER_API=DLLIMPORT",
                "GAMEPLAYTAGS_API=DLLIMPORT",
                "DEVELOPERSETTINGS_API=DLLIMPORT",
                "PACKETHANDLER_API=DLLIMPORT",
                "RELIABILITYHANDLERCOMPONENT_API=DLLIMPORT",
                "AUDIOPLATFORMCONFIGURATION_API=DLLIMPORT",
                "MESHDESCRIPTION_API=DLLIMPORT",
                "STATICMESHDESCRIPTION_API=DLLIMPORT",
                "SKELETALMESHDESCRIPTION_API=DLLIMPORT",
                "ANIMATIONCORE_API=DLLIMPORT",
                "PAKFILE_API=DLLIMPORT",
                "RSA_API=DLLIMPORT",
                "NETWORKREPLAYSTREAMING_API=DLLIMPORT",
                "INCLUDE_CHAOS=1",
                "WITH_PHYSX=1",
                "PHYSICS_INTERFACE_PHYSX=0",
                "WITH_APEX=0",
                "WITH_APEX_CLOTHING=0",
                "WITH_PHYSX_COOKING=0",
                "WITH_NVCLOTH=0",
                "WITH_CHAOS=1",
                "WITH_CHAOS_NEEDS_TO_BE_FIXED=1",
                "WITH_CHAOS_CLOTHING=1",
                "WITH_CLOTH_COLLISION_DETECTION=1",
                "WITH_CUSTOM_SQ_STRUCTURE=0",
                "WITH_IMMEDIATE_PHYSX=0",
                "PHYSICSCORE_API=DLLIMPORT",
                "COMPILE_WITHOUT_UNREAL_SUPPORT=0",
                "INCLUDE_CHAOS=1",
                "CHAOS_MEMORY_TRACKING=0",
                "CHAOS_API=DLLIMPORT",
                "COMPILE_WITHOUT_UNREAL_SUPPORT=0",
                "INCLUDE_CHAOS=1",
                "CHAOS_CHECKED=0",
                "CHAOS_DEBUG_NAME=1",
                "CHAOSCORE_API=DLLIMPORT",
                "INTEL_ISPC=1",
                "VORONOI_API=DLLIMPORT",
                "GEOMETRYCORE_API=DLLIMPORT",
                "SIGNALPROCESSING_API=DLLIMPORT",
                "AUDIOEXTENSIONS_API=DLLIMPORT",
                "AUDIOMIXERCORE_API=DLLIMPORT",
                "AUDIOLINKCORE_API=DLLIMPORT",
                "COOKONTHEFLY_API=DLLIMPORT",
                "INCLUDE_CHAOS=1",
                "WITH_PHYSX=1",
                "PHYSICS_INTERFACE_PHYSX=0",
                "WITH_APEX=0",
                "WITH_APEX_CLOTHING=0",
                "WITH_PHYSX_COOKING=0",
                "WITH_NVCLOTH=0",
                "WITH_CHAOS=1",
                "WITH_CHAOS_NEEDS_TO_BE_FIXED=1",
                "WITH_CHAOS_CLOTHING=1",
                "WITH_CLOTH_COLLISION_DETECTION=1",
                "WITH_CUSTOM_SQ_STRUCTURE=0",
                "WITH_IMMEDIATE_PHYSX=0",
                "WITH_RECAST=1",
                "WITH_NAVMESH_SEGMENT_LINKS=1",
                "WITH_NAVMESH_CLUSTER_LINKS=1",
                "UNREALED_API=DLLIMPORT",
                "DIRECTORYWATCHER_API=DLLIMPORT",
                "DOCUMENTATION_API=DLLIMPORT",
                "READ_TARGET_ENABLED_PLUGINS_FROM_RECEIPT=1",
                "LOAD_PLUGINS_FOR_TARGET_PLATFORMS=1",
                "PROJECTS_API=DLLIMPORT",
                "SANDBOXFILE_API=DLLIMPORT",
                "EDITORFRAMEWORK_API=DLLIMPORT",
                "EDITORSUBSYSTEM_API=DLLIMPORT",
                "INTERACTIVETOOLSFRAMEWORK_API=DLLIMPORT",
                "TYPEDELEMENTFRAMEWORK_API=DLLIMPORT",
                "TYPEDELEMENTRUNTIME_API=DLLIMPORT",
                "EDITORSTYLE_API=DLLIMPORT",
                "SOURCE_CONTROL_WITH_SLATE=1",
                "SOURCECONTROL_API=DLLIMPORT",
                "UNCONTROLLEDCHANGELISTS_API=DLLIMPORT",
                "UNREALEDMESSAGES_API=DLLIMPORT",
                "GAMEPLAYDEBUGGER_API=DLLIMPORT",
                "BLUEPRINTGRAPH_API=DLLIMPORT",
                "HTTP_PACKAGE=1",
                "WITH_WINHTTP=0",
                "HTTP_API=DLLIMPORT",
                "FUNCTIONALTESTING_API=DLLIMPORT",
                "AUTOMATIONCONTROLLER_API=DLLIMPORT",
                "AUTOMATIONTEST_API=DLLIMPORT",
                "LOCALIZATION_API=DLLIMPORT",
                "WITH_SNDFILE_IO=0",
                "AUDIOEDITOR_API=DLLIMPORT",
                "AUDIOMIXER_API=DLLIMPORT",
                "AUDIOLINKENGINE_API=DLLIMPORT",
                "TARGETPLATFORM_API=DLLIMPORT",
                "TEXTUREFORMAT_API=DLLIMPORT",
                "LEVELEDITOR_API=DLLIMPORT",
                "SETTINGS_API=DLLIMPORT",
                "INTROTUTORIALS_API=DLLIMPORT",
                "HEADMOUNTEDDISPLAY_API=DLLIMPORT",
                "VREDITOR_API=DLLIMPORT",
                "COMMONMENUEXTENSIONS_API=DLLIMPORT",
                "INCLUDE_CHAOS=1",
                "WITH_PHYSX=1",
                "PHYSICS_INTERFACE_PHYSX=0",
                "WITH_APEX=0",
                "WITH_APEX_CLOTHING=0",
                "WITH_PHYSX_COOKING=0",
                "WITH_NVCLOTH=0",
                "WITH_CHAOS=1",
                "WITH_CHAOS_NEEDS_TO_BE_FIXED=1",
                "WITH_CHAOS_CLOTHING=1",
                "WITH_CLOTH_COLLISION_DETECTION=1",
                "WITH_CUSTOM_SQ_STRUCTURE=0",
                "WITH_IMMEDIATE_PHYSX=0",
                "LANDSCAPE_API=DLLIMPORT",
                "PROPERTYEDITOR_API=DLLIMPORT",
                "ACTORPICKERMODE_API=DLLIMPORT",
                "SCENEDEPTHPICKERMODE_API=DLLIMPORT",
                "EDITORCONFIG_API=DLLIMPORT",
                "DETAILCUSTOMIZATIONS_API=DLLIMPORT",
                "CLASSVIEWER_API=DLLIMPORT",
                "GRAPHEDITOR_API=DLLIMPORT",
                "STRUCTVIEWER_API=DLLIMPORT",
                "CONTENTBROWSER_API=DLLIMPORT",
                "CONTENTBROWSERDATA_API=DLLIMPORT",
                "COLLECTIONMANAGER_API=DLLIMPORT",
                "ENABLE_HTTP_FOR_NFS=1",
                "NETWORKFILESYSTEM_API=DLLIMPORT",
                "UMG_API=DLLIMPORT",
                "MOVIESCENE_API=DLLIMPORT",
                "TIMEMANAGEMENT_API=DLLIMPORT",
                "MOVIESCENETRACKS_API=DLLIMPORT",
                "PROPERTYPATH_API=DLLIMPORT",
                "INCLUDE_CHAOS=1",
                "WITH_PHYSX=1",
                "PHYSICS_INTERFACE_PHYSX=0",
                "WITH_APEX=0",
                "WITH_APEX_CLOTHING=0",
                "WITH_PHYSX_COOKING=0",
                "WITH_NVCLOTH=0",
                "WITH_CHAOS=1",
                "WITH_CHAOS_NEEDS_TO_BE_FIXED=1",
                "WITH_CHAOS_CLOTHING=1",
                "WITH_CLOTH_COLLISION_DETECTION=1",
                "WITH_CUSTOM_SQ_STRUCTURE=0",
                "WITH_IMMEDIATE_PHYSX=0",
                "WITH_RECAST=1",
                "WITH_NAVMESH_SEGMENT_LINKS=1",
                "WITH_NAVMESH_CLUSTER_LINKS=1",
                "NAVIGATIONSYSTEM_API=DLLIMPORT",
                "INCLUDE_CHAOS=1",
                "WITH_PHYSX=1",
                "PHYSICS_INTERFACE_PHYSX=0",
                "WITH_APEX=0",
                "WITH_APEX_CLOTHING=0",
                "WITH_PHYSX_COOKING=0",
                "WITH_NVCLOTH=0",
                "WITH_CHAOS=1",
                "WITH_CHAOS_NEEDS_TO_BE_FIXED=1",
                "WITH_CHAOS_CLOTHING=1",
                "WITH_CLOTH_COLLISION_DETECTION=1",
                "WITH_CUSTOM_SQ_STRUCTURE=0",
                "WITH_IMMEDIATE_PHYSX=0",
                "GEOMETRYCOLLECTIONENGINE_API=DLLIMPORT",
                "MATERIALSHADERQUALITYSETTINGS_API=DLLIMPORT",
                "WITH_PHYSX_RELEASE=0",
                "UE_PHYSX_SUFFIX=PROFILE",
                "FIELDSYSTEMENGINE_API=DLLIMPORT",
                "INCLUDE_CHAOS=1",
                "WITH_PHYSX=1",
                "PHYSICS_INTERFACE_PHYSX=0",
                "WITH_APEX=0",
                "WITH_APEX_CLOTHING=0",
                "WITH_PHYSX_COOKING=0",
                "WITH_NVCLOTH=0",
                "WITH_CHAOS=1",
                "WITH_CHAOS_NEEDS_TO_BE_FIXED=1",
                "WITH_CHAOS_CLOTHING=1",
                "WITH_CLOTH_COLLISION_DETECTION=1",
                "WITH_CUSTOM_SQ_STRUCTURE=0",
                "WITH_IMMEDIATE_PHYSX=0",
                "CHAOSSOLVERENGINE_API=DLLIMPORT",
                "MESHBUILDER_API=DLLIMPORT",
                "TOOLMENUSEDITOR_API=DLLIMPORT",
                "TOOLMENUS_API=DLLIMPORT",
                "STATUSBAR_API=DLLIMPORT",
                "INTERCHANGECORE_API=DLLIMPORT",
                "INTERCHANGEENGINE_API=DLLIMPORT",
                "DEVELOPERTOOLSETTINGS_API=DLLIMPORT",
                "SUBOBJECTDATAINTERFACE_API=DLLIMPORT",
                "SUBOBJECTEDITOR_API=DLLIMPORT",
                "KISMET_API=DLLIMPORT",
                "PHYSICSUTILITIES_API=DLLIMPORT",
                "TOOLWIDGETS_API=DLLIMPORT",
                "ASSETTAGSEDITOR_API=DLLIMPORT",
                "ADDCONTENTDIALOG_API=DLLIMPORT",
                "MESHUTILITIES_API=DLLIMPORT",
                "MESHMERGEUTILITIES_API=DLLIMPORT",
                "HIERARCHICALLODUTILITIES_API=DLLIMPORT",
                "MESHREDUCTIONINTERFACE_API=DLLIMPORT",
                "SKELETALMESHEDITOR_API=DLLIMPORT",
                "PERSONA_API=DLLIMPORT",
                "SKELETONEDITOR_API=DLLIMPORT",
                "ANIMATIONWIDGETS_API=DLLIMPORT",
                "ANIMATIONEDITOR_API=DLLIMPORT",
                "ADVANCEDPREVIEWSCENE_API=DLLIMPORT",
                "ASSETTOOLS_API=DLLIMPORT",
                "KISMETCOMPILER_API=DLLIMPORT",
                "GAMEPLAYTASKS_API=DLLIMPORT",
                "WITH_RECAST=1",
                "WITH_GAMEPLAY_DEBUGGER=1",
                "AIMODULE_API=DLLIMPORT",
                "INCLUDE_CHAOS=1",
                "WITH_PHYSX=1",
                "PHYSICS_INTERFACE_PHYSX=0",
                "WITH_APEX=0",
                "WITH_APEX_CLOTHING=0",
                "WITH_PHYSX_COOKING=0",
                "WITH_NVCLOTH=0",
                "WITH_CHAOS=1",
                "WITH_CHAOS_NEEDS_TO_BE_FIXED=1",
                "WITH_CHAOS_CLOTHING=1",
                "WITH_CLOTH_COLLISION_DETECTION=1",
                "WITH_CUSTOM_SQ_STRUCTURE=0",
                "WITH_IMMEDIATE_PHYSX=0",
                "CLOTHINGSYSTEMRUNTIMEINTERFACE_API=DLLIMPORT",
                "ANIMATIONDATACONTROLLER_API=DLLIMPORT",
                "PROJECT_API=DLLEXPORT",
                "AUGMENTEDREALITY_API=DLLIMPORT",
                "MRMESH_API=DLLIMPORT"
            ]
        }
    ],
    "version": 4
}

This got me running with Intellisense. It’s a lot, but hopefully you will find it useful.