-
Notifications
You must be signed in to change notification settings - Fork 28
Build Configurations
Nanahira edited this page Feb 20, 2019
·
3 revisions
Before premake5ing, you could set some environment variables to change some build configurations.
-
YGOPRO_DEFAULT_DUEL_RULEWill set the default duel rule to this the value of this variable.
-
USE_IRRKLANGApples on non-Windows. If defined, it will use the irrKlang sound library and enable sound. -
irrklang_proApples on Windows. If defined, it will use the pro version of irrKlang. Overwrite theirrKlang.libwith your purchased pro version to build. -
NO_IRRKLANGApplies on Windows. If defined, it will not use the irrKlang sound library and disable sound. -
YGOPRO_NO_XP_TOOLSETApplies on Windows. If defined, it will not use the Windows XP Toolset. THhis may be useful when debugging on your own machine for non-release use. This -
YGOPRO_LUA_SAFEIf defined, it will disable theosandiolua libraries, to prevent harming your computer with dangerous lua scripts. -
YGOPRO_COMPAT_MYCARDIf defined, it will read user settings fromsystem.confrather thansystem_user.conf. This will make YGOPro compatitable with MyCard Client.
-
YGOPRO_NO_LUA_SAFEIf defined, it will enable the forbiddenosandiolua libraries. Please run trusted lua scripts only if enabled, or it may cause security issues. -
YGOPRO_USE_XP_TOOLSETApplies on Windows. If defined, it will use the Windows XP Toolset. This would be needed when building a server on Windows Server 2003.