473,706 Members | 2,647 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

make to vcproj (or even nmake)

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.

May 17 '07 #1
3 10712

<ch********@gma il.comwrote in message
news:11******** **************@ y80g2000hsf.goo glegroups.com.. .
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.

May 17 '07 #2
Thank you, but the link isn't working for me.

On May 17, 1:46 pm, "Ben Voigt" <r...@nospam.no spamwrote:
<chris.l...@gma il.comwrote in message

news:11******** **************@ y80g2000hsf.goo glegroups.com.. .
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.

May 17 '07 #3
In article <OW************ **@TK2MSFTNGP05 .phx.gbl>,
Ben Voigt <rb*@nospam.nos pamwrote:
>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
straightforwar d.
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
May 17 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
6740
by: Krakatioison | last post by:
My sites navigation is like this: http://www.newsbackup.com/index.php?n=000000000040900000 , depending on the variable "n" (which is always a number), it will take me anywhere on the site... this number is always changing as I have hundreds of thousand of pages of text on my site. Problem: - in my opinion this just not only look weird, but the variable "n" (number)
3
11880
by: Skybuck Flying | last post by:
Hi, I download some perl source code and the manual says: perl Makefile.PL make make install The first line went ok.
0
1499
by: Mike MacSween | last post by:
Yes, deliberately untrue and provocative subject line. Sorry. Just that I posted earlier and nobody, apart from Tom, seemed interested. I'm not talking Jet Users & Groups, I may or may not implement that. Even if I do file/folder rights still need to be managed. I've searched the archives and read the many postings. The basic problem seems to be this: Access is a 'file server' based system. So if you want your users to use the
10
2536
by: RG | last post by:
I am trying to compile a makefile project. I have a makefile. I can't find documentation and/or samples of buil/rebuild/clean command line syntax. I am sure as to what goes there. Is it os command line make statement for build? or just parameters? Any help would be appreciated. Thanks in advance
2
910
by: Vojislav | last post by:
How to make APP with more quality - you know THE PROBLEM when some pipl eneter letters in combobox where he shold put number. i know for validation rules ... but is there any free on line book or some thing witch guide you as a programer to chack all most common error problems thanks in advanc Vojisla
6
3758
by: devoreband | last post by:
hey i wrote all my code but i need to print out only the even numbers so is there any predefined function i can use or what can structure i should be following? ........ 16 for(int r = 0; r < 10; r++) { 17 for(int c = 0; c < 10; c++) { 18 cout << setw(5) << setfill(' ') << r*c; 19 } // end for c 20 cout << endl;
12
9119
by: Anil Gupte | last post by:
I have recently installed VC#, VC++ and VB 2005 Express Edition. Someone had sent me the sln file to load it into C# and so I tried, and I get an error saying: "The application for project "C:\...\fbridge.vcproj" is not installed." "Make sure the application for the project type (.vcproj) is installed." The app is called Test, and there appears to be some kind of reference in there that calls this fbridge.vcproj. I can see the...
7
1918
by: Steve Bergman | last post by:
I'm involved in a discussion thread in which it has been stated that: """ Anything written in a language that is 20x slower (Perl, Python, PHP) than C/C++ should be instantly rejected by users on those grounds alone. """ I've challenged someone to beat the snippet of code below in C, C++, or assembler, for reading in one million pairs of random floats and
0
934
by: Ranhiru | last post by:
private readonly string KeyContainerName = "MyKeyContainer"; public void GenerateKeyPair() { Debug.WriteLine("Generating Key Pair"); CspParameters cp = new CspParameters(); cp.KeyContainerName = KeyContainerName;
0
8772
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8692
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8982
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6607
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4705
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3140
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2493
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2084
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.