addon: includes
parent
86cbafa06c
commit
b729271aba
4
MAKE.bat
4
MAKE.bat
|
@ -600,6 +600,8 @@ set addons_names=
|
||||||
set addons_includes=
|
set addons_includes=
|
||||||
|
|
||||||
if "%1"=="addons[" (
|
if "%1"=="addons[" (
|
||||||
|
rem plugins are always included in form "<gh username>/<gh repo>/plugin.h"
|
||||||
|
set "addon_includes=-Iplugins %addon_includes%"
|
||||||
shift && goto parse_addons
|
shift && goto parse_addons
|
||||||
:parse_addons
|
:parse_addons
|
||||||
if "%1"=="]" (
|
if "%1"=="]" (
|
||||||
|
@ -620,7 +622,7 @@ if "%1"=="addons[" (
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
if exist "plugins\%1" (
|
if exist "plugins\%1" (
|
||||||
set "addon_includes=-Iplugins\%1 %addon_includes%"
|
rem set "addon_includes=-Iplugins\%1 %addon_includes%"
|
||||||
if exist "plugins\%1\%1.cpp" (
|
if exist "plugins\%1\%1.cpp" (
|
||||||
set "addons=plugins\%1\%1.cpp %addons%"
|
set "addons=plugins\%1\%1.cpp %addons%"
|
||||||
) else (
|
) else (
|
||||||
|
|
Loading…
Reference in New Issue