Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / May 2007

Tip: Looking for answers? Try searching our database.

make to vcproj (or even nmake)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
chris.love@gmail.com - 17 May 2007 19:40 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?

I'm sure this gets asked a lot, but I can't seem to find an answer.

Thanks.
Ben Voigt - 17 May 2007 19:46 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.

> 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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.