OpenSceneGraph 3.0: Beginner's Guide
上QQ阅读APP看书,第一时间看更新

Constructing your own projects

To build an executable program from your own source code, a platform-dependent solution or makefile is always required. For Windows developers, we have already introduced a project wizard tool in the last chapter. But this doesn't work for UNIX and Mac OS X developers, or even those who are using MinGW and Cygwin under Windows.

At the beginning of this chapter, we are going to introduce another way to construct platform-independent projects with the CMake system, by which means, we are able to focus on interacting with the code and ignore the painstaking compiling and building process.