1

is there a tool to generate a makefile out of a visual studio Solution?

Christoferw
  • 741
  • 3
  • 7
  • 20
  • 1
    Related: http://stackoverflow.com/questions/24580/how-do-you-automate-a-visual-studio-build –  Jan 11 '10 at 14:34
  • Why: because we want to build the project using the GCC compiler, but the build-settings are quite complex. – Christoferw Jan 11 '10 at 14:41
  • Well, there exist better tools than make out there, IMO. What language are you using? I would capture the detailed output of a build under every configuration, and then reverse-engineer that into non-MSFT build setup. – Hamish Grubijan Jan 11 '10 at 14:51
  • I don't think you can use GCC because you need the MSIL. –  Jan 11 '10 at 15:08
  • I am using c++ and want wo use the gcc compiler just at certain moments to get better error-descriptions. Finally it has to be build with MS-VS – Christoferw Jan 11 '10 at 16:34
  • So you just need a "compile everything" makefile with no dependency checking? Should not be to hard to roll out your own, just list every cpp file for compilation and call GCC with the appropriate options. – Doc Brown Nov 10 '10 at 07:05

1 Answers1

1

Code::Blocks has an option to import Visual Studio project files. It also uses a make system. So you could import your project into C::B, then steal the makefile. Not sure how well that would work for you.

GManNickG
  • 494,350
  • 52
  • 494
  • 543