eclipse - Getting started with a cross platform C++ project -



eclipse - Getting started with a cross platform C++ project -

i starting c++ project compile as in eclipse (linux) , vs2010 same repository , utilize help getting started. while many of aspects can individually google'd, hoping advice on how approach problem on whole.

for example, maintain library sources, how construction create file, , how integrate googletest (finding novice tutorial on googletest lone hard). link tutorial addresses these aspects great, or series of tutorials help.

my background in c# , i'm trying maintain "cleanness" , organization of vs projects.

i have done cross platform projects used "native" build systems on both platforms (vsproj files on windows , makefiles on linux), pain maintain both project files. so, yes, agree other suggestions should seek start solid cross platform build utility. cmake or perchance boost build seem decent options - there many others.

when comes 3rd party libraries, you'll want stick stuff solidly tested cross platform. boost best general purpose library c++ (yes, see mentioned here in every c++ thread...but that's because is nice collection of useful stuff). xml, http, image libs, ui - there cross platform options - around or inquire here if have specific requirements. whatever do, don't utilize library codeproject or other ms oriented site has been tested visual studio 6 - lead misery. of gnu libs build on windows these days, should reasonably safe stuff.

although tempting, seek minimize platform#ifdefs in code - prefer instead abstract platform specific stuff in library wherever possible.

good luck!

c++ eclipse visual-studio-2010

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -