[gdal-dev] Thoughts about including /I for xcopy in nmake.opt?

Jeff McKenna jmckenna at gatewaygeomatics.com
Thu Feb 11 11:16:19 PST 2016


On 2016-02-11 3:01 PM, Timothy Astle wrote:
> I was building GDAL on Windows today and hit a case where the DATADIR
> was defined with a path that did not end with a backslash. That resulted
> in the following prompts:
>
> Does D:\yadda\yadda\gdal specify a file name
> or directory name on the target
> (F = file, D = directory)?
>
> I was wondering if it'd make sense to update the nmake.opt to include
> the /I switch on xcopy as follows?
>
> INSTALL    =    xcopy /y /r /d /f /I
>
> /I           If destination does not exist and copying more than one file,
>               assumes that destination must be a directory.
>
> Tim
> _______________________________________________

Yes, as I've been answering that question at the prompt when building, 
for over 15 years :)

-jeff




-- 
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/


More information about the gdal-dev mailing list