|
|
@@ -13,14 +13,14 @@ |
|
|
|
<LolFxCompile> |
|
|
|
<CommandLineTemplate>@echo off |
|
|
|
set D=$(IntDir)%(Filename)%(Extension).cpp |
|
|
|
|
|
|
|
set "name=lolfx_resource_%(RelativeDir)%(Filename)" |
|
|
|
set "name=%name:\=_%" |
|
|
|
set "name=%name:-=_%" |
|
|
|
set "name=%name:.=_%" |
|
|
|
|
|
|
|
echo /* This file was autogenerated. DO NOT MODIFY IT. */ > "%D%" |
|
|
|
echo /* Filename = %(Filename) */ > "%D" |
|
|
|
echo /* FullPath = %(FullPath) */ > "%D" |
|
|
|
echo /* RootDir = %(RootDir) */ > "%D" |
|
|
|
echo /* Directory = %(Directory) */ > "%D" |
|
|
|
echo /* Input = %(Input) */ > "%D" |
|
|
|
echo /* Output = %(Output) */ > "%D" |
|
|
|
echo extern "C" { char const *lolfx_resource_%(Filename) = >> "%D%" |
|
|
|
echo extern "C" { char const *%name% = >> "%D%" |
|
|
|
setlocal disabledelayedexpansion |
|
|
|
for /F "tokens=1,* delims=`" %%L in ('type "%(Fullpath)"') do ( |
|
|
|
set "line=%%L" |
|
|
|