C++ Visual studio 2012 to Linux -
i have project in c++ (including openmp) created in visual studio 2012. please easiest way create makefile files , project executed in linux?
my suggestion write makefile manually. unless project huge (e.g. 1000000 lines of source code), quite easy. this , that , that examples should help.
caveat: tab character important in makefile-s. utilize editor knowing (e.g. emacs)
and gnu create has documentation tutorial section.
you need add together -fopenmp cxxflags (or compile & link cxx=gcc -fopenmp)
ps: cmake (like automake) makefile generator. often, easier write them (i.e. makefile-s) hand.
c++ linux visual-studio-2012 gcc makefile
No comments:
Post a Comment