I'm trying to port a project from Linux to Windows. Currently on Linux
we're using GNU Make and... of course... makefiles.
Does anything exist out there to convert makefiles to vcproj files, or
even nmake makefiles in at least a semi-automatic nature?
I'm sure this gets asked a lot, but I can't seem to find an answer.
Thanks.
> I'm trying to port a project from Linux to Windows. Currently on Linux
> we're using GNU Make and... of course... makefiles.
>
> Does anything exist out there to convert makefiles to vcproj files, or
> even nmake makefiles in at least a semi-automatic nature?
You could continue using GNU make. It won't be enough to set CC=cl and
LD=link, you'll actually need to write new rules, but should be pretty
straightforward.
> I'm sure this gets asked a lot, but I can't seem to find an answer.
>
> Thanks.
Chris Love - 17 May 2007 19:53 GMT
Thank you, but the link isn't working for me.
> <chris.l...@gmail.com> wrote in message
>
[quoted text clipped - 13 lines]
>
> > Thanks.
Nathan Mates - 17 May 2007 21:20 GMT
>> I'm trying to port a project from Linux to Windows. Currently on Linux
>> we're using GNU Make and... of course... makefiles.
>> Does anything exist out there to convert makefiles to vcproj files, or
>> even nmake makefiles in at least a semi-automatic nature?
>You could continue using GNU make. It won't be enough to set CC=cl and
>LD=link, you'll actually need to write new rules, but should be pretty
>straightforward.
For smaller things (maybe 30 files tops) that don't have any crazy
make rules, I've usually dumped all the .c/.cpp files into a new
Visual Studio project. That's usually a file or few too many, but it
works reasonably well. If you're willing to burn an hour or two with
a few compile runs, it works reasonably well.
Nathan Mates
--
<*> Nathan Mates - personal webpage http://www.visi.com/~nathan/
# Programmer at Pandemic Studios -- http://www.pandemicstudios.com/
# NOT speaking for Pandemic Studios. "Care not what the neighbors
# think. What are the facts, and to how many decimal places?" -R.A. Heinlein