title: How to set up cross platform compliation for C++ (NetBeans in win7 and make in linux)
body: <p>I would like to set up a gcc C++ project using my preferred editro NetBeans (since it works with gcc), that would depend on some external libraries. I want it to compile in NetBeans with gcc chain, and in production -  using command line make under linux. Preferably, first create project in NetBeans and then modify something to accept it in Linux.</p>
  
  <p>The libraries will be the same but located in different folders, so I need to separate include pathes for these, and during compile time correct pathes must be picked. </p>
  
  <p>Also, I might need to use minor amount of conditional compilation, as under windows and linux some #include directives might or might not contain library sub-pathes.</p>
  
  <p>Is there any useful guide how to make this happen? </p>