News for hackers. Stuff that matters.
Re:How to write cross-platform code by JoeAltmaier on Friday October 22, 2010 @10:08AM (#1819728)
Our 'make' vs Visual Studio issue is: to add a new module in Visual Studio you add it to the project. VS automatically getting included in many makefile scenarios. Which causes a common bug: a _WIN32-only module gets built on the wrong platform because the developer forgets to put the module in the makefile exclusion list.

Small matter, easily detected and fixed in the first build, but would be nice to automate somehow.

Re:How to write cross-platform code by doug11235 on Friday October 22, 2010 @02:45PM (#1820915)
CMake (or perhaps Scons, but I have no experience with that) might be useful for you. Although going through the motions of writing build scripts for you build system might not be something you want to endure.

In any case, I used CMake in one shop I worked in and it was nice to have the build files all managed in one place. We were able to manage builds for Windows, Linux, Mac, and Solaris.