Sign in to follow this  
JohnHurt

Makefile/VC++.NET

Recommended Posts

Not really. Chances are on your unix platform you're using gcc, which supports different switches and so on than MSVC. Also path variables in the unix environment won't match the windows directory structure. However, usually you can just create a new MSVC project and just add the source files from the unix project.

Well, sometimes anyways.

Share this post


Link to post
Share on other sites
I've not used it before, but CMake might do what you want.

Edit: looking at it, it might take quite a bit of work. I guess you're meant to use it to create projects for all platforms at the start of development.

Share this post


Link to post
Share on other sites
Quote:
Original post by JohnHurt
hmmm, it would be nice if there was a little utility to convert it.


Well paths and file locations are probably going to be your biggest hurdle. THe compiler and linker flags are fairly consistant across gcc and c1( vs.net's C++ compiler.

We use the same make file across linux, OSX and window so it can be done!!. We just need conditionals for things like include paths and lib paths.

oh and of course there will always be different libraries on different systems:)

CHeers
Chris

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this