kestred/panda3d — pull request #5 by CFSworks (2014-02-05 19:40:13+00:00)
Title: Get most of 'direct' building under CMake.

Moving forward with CMake updates:

This builds the panda3d.direct module, the dcparse+autorestart tools, and adds a couple more component libraries to panda/ (nativenet, net, movies, audio).

N.B. the following caveats:
- This has only been tested under Linux so far. When I have everything working flawlessly on Linux, I'll focus on fixing up OS X and Windows.
- autorestart says it's a UNIX-only tool. The platform is not checked for UNIX prior to building.
- No Python installation is done yet. Installation is handled in a different branch. Should the .py files be copied to the build directory before getting installed, (and possibly run through the Python compileall script to produce .pyc and .pyo versions of each) or should they simply get copied directly in the installation step?
- No HAVE_/WANT_/BUILD_DIRECT or similar. Should this be added to Config.cmake?
- BUILD_PANDA=OFF will undoubtedly cause problems.