[ntp:hackers] hackers] Building NTP on Windows

Danny Mayer mayer at ntp.org
Wed Mar 27 12:30:51 UTC 2013


On 3/25/2013 2:30 AM, David J Taylor wrote:
> From: Hal Murray
> 
> david-taylor at blueyonder.co.uk said:
>> What I would like to see in that section, which I do not yet know
>> myself, is
>>  how to automate the process.  Presently, my steps are:
> 
> I know next to nothing about Windows.  I assume they have some sort of
> scripting setup this is similar to unix/linux sh scripts.  It should be
> reasonable to make a script that does most of the work.  Just follow the
> steps you would do by hand and turn each one into a script.
> 
> Another possibility would be to install the Cigwin stuff and see if you can
> mostly use the unix scripts.  I'll be happy to help work on unix/Linux
> scripts that do "everything" given a build number.
> ====================================
> 
> Thanks, Hal.
> 
> Yes, there is an extended version of DOS available at the Command Prompt
> in all versions of Windows.  My problem is lack of familiarity with the
> tools which I use to extract and compile NTP.  They are graphical tools
> requiring a mouse to operate, and while I see that the 7-zip file
> manager can be automated, I don't know enough about MS Visual Studio to
> automate it (although there is an NMAKE command, but I wouldn't know how
> to write the script), hence the request for help.  I'm currently beyond
> the limits of my knowledge.
> 
> Cheers,
> David


I'm not sure I understand the problem you are trying to solve. If The
project files were created in a previous version of VS then just reading
them into VS will convert them and you only need to save the results.
The command line msbuild executable needs nothing more than the sln file.

Danny


More information about the hackers mailing list