From 33a52273b8a6f29de674e88656e068e851257b9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Federico=20Mat=C3=ADas?= <41979395+FEDERICOMB96@users.noreply.github.com> Date: Thu, 8 Aug 2024 05:26:02 -0300 Subject: [PATCH] Implement local and/or workflow compiling tryincludes --- addons/amxmodx/scripting/multimod_manager.sma | 43 +++++++++++++------ 1 file changed, 30 insertions(+), 13 deletions(-) diff --git a/addons/amxmodx/scripting/multimod_manager.sma b/addons/amxmodx/scripting/multimod_manager.sma index 03b5249..8e0547d 100644 --- a/addons/amxmodx/scripting/multimod_manager.sma +++ b/addons/amxmodx/scripting/multimod_manager.sma @@ -4,19 +4,36 @@ #include #include #include -#include "mm_incs/checks" -#include "mm_incs/version" -#include "mm_incs/defines" -#include "mm_incs/global" -#include "mm_incs/natives" -#include "mm_incs/cvars" -#include "mm_incs/recent_mods_maps" -#include "mm_incs/admincmds" -#include "mm_incs/modchooser" -#include "mm_incs/mapchooser" -#include "mm_incs/rockthevote" -#include "mm_incs/nominations" -#include "mm_incs/utils" + +// Local compiling +#tryinclude "include/mm_incs/checks" +#tryinclude "include/mm_incs/version" +#tryinclude "include/mm_incs/defines" +#tryinclude "include/mm_incs/global" +#tryinclude "include/mm_incs/natives" +#tryinclude "include/mm_incs/cvars" +#tryinclude "include/mm_incs/recent_mods_maps" +#tryinclude "include/mm_incs/admincmds" +#tryinclude "include/mm_incs/modchooser" +#tryinclude "include/mm_incs/mapchooser" +#tryinclude "include/mm_incs/rockthevote" +#tryinclude "include/mm_incs/nominations" +#tryinclude "include/mm_incs/utils" + +// Workflow compiling +#tryinclude "mm_incs/checks" +#tryinclude "mm_incs/version" +#tryinclude "mm_incs/defines" +#tryinclude "mm_incs/global" +#tryinclude "mm_incs/natives" +#tryinclude "mm_incs/cvars" +#tryinclude "mm_incs/recent_mods_maps" +#tryinclude "mm_incs/admincmds" +#tryinclude "mm_incs/modchooser" +#tryinclude "mm_incs/mapchooser" +#tryinclude "mm_incs/rockthevote" +#tryinclude "mm_incs/nominations" +#tryinclude "mm_incs/utils" public plugin_natives() {