Replace PROFILE define with AZ_PROFILE_BUILD
It now follows the schema defined by `AZ_DEBUG_BUILD` define instead. Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -503,7 +503,7 @@ namespace ScriptCanvas
|
||||
|
||||
void InitializeInterpretedStatics(const RuntimeData& runtimeData)
|
||||
{
|
||||
#if defined(PROFILE) || defined(AZ_DEBUG_BUILD)
|
||||
#if defined(AZ_PROFILE_BUILD) || defined(AZ_DEBUG_BUILD)
|
||||
Execution::InitializeFromLuaStackFunctions(const_cast<Grammar::DebugSymbolMap&>(runtimeData.m_debugMap));
|
||||
#endif
|
||||
if (runtimeData.RequiresStaticInitialization())
|
||||
|
||||
@@ -36,7 +36,7 @@ ly_append_configurations_options(
|
||||
AZ_BUILD_CONFIGURATION_TYPE="${LY_BUILD_CONFIGURATION_TYPE_DEBUG}"
|
||||
DEFINES_PROFILE
|
||||
_PROFILE
|
||||
PROFILE
|
||||
AZ_PROFILE_BUILD=1
|
||||
NDEBUG
|
||||
AZ_ENABLE_TRACING
|
||||
AZ_ENABLE_DEBUG_TOOLS
|
||||
|
||||
Reference in New Issue
Block a user