I would like to disable code optimisation for a specific module so that I can more easily step through the code. I can already do it by adding
OptimizeCode = CodeOptimization.Never to my Build.cs file but now I would like to do it from BuildConfiguration.xml so that I can change build settings without touching the actual build files.
Looking at the documentation it looks like it is possible but I can’t figure out the correct syntax. The following does not work:
<?xml version="1.0" encoding="utf-8" ?> <Configuration xmlns="https://www.unrealengine.com/BuildConfiguration"> <BuildConfiguration> <ModuleConfiguration> <DisableOptimizeCode>MyModule</DisableOptimizeCode> </ModuleConfiguration> </BuildConfiguration> </Configuration>
Does anyone know what I am doing wrong?