get rid of the tmpl extension from template files

.. also add a readme explaining that files in templ directory should not
be opened with visual studio.

template files are already in a tmpl directory which is enough to
identify them as template files without having the templ extension.
however it's possible the user won't understand that? so i added a
readme explaining that they are template files.
This commit is contained in:
Jay Satiro 2025-08-28 14:28:45 -04:00
parent 11b3434ece
commit 85a33f486f
4 changed files with 8 additions and 2 deletions

View file

@ -0,0 +1,6 @@
The files in this directory are not meant to be opened with Visual Studio.
This directory contains template files that are used to generate project files
for legacy versions of Visual Studio 2010, 2012 and 2013. To generate the
files run generate.bat in the projects directory and refer to that directory's
README.

View file

@ -113,10 +113,10 @@ rem
if not exist Windows\%1\src md Windows\%1\src
call :generate %1 Windows\tmpl\curl-all.sln Windows\%1\curl-all.sln
call :generate %1 Windows\tmpl\curl.sln Windows\%1\src\curl.sln
call :generate %1 Windows\tmpl\curl.vcxproj.tmpl Windows\%1\src\curl.vcxproj
call :generate %1 Windows\tmpl\curl.vcxproj Windows\%1\src\curl.vcxproj
call :generate %1 Windows\tmpl\curl.vcxproj.filters Windows\%1\src\curl.vcxproj.filters
call :generate %1 Windows\tmpl\libcurl.sln Windows\%1\lib\libcurl.sln
call :generate %1 Windows\tmpl\libcurl.vcxproj.tmpl Windows\%1\lib\libcurl.vcxproj
call :generate %1 Windows\tmpl\libcurl.vcxproj Windows\%1\lib\libcurl.vcxproj
call :generate %1 Windows\tmpl\libcurl.vcxproj.filters Windows\%1\lib\libcurl.vcxproj.filters
exit /B