open_toontown_panda3d/cmake
kestred 31bb550bda CMake: Bugfix: Fix bug where Cg was not set to found properly on first-pass configuration. 2013-12-09 00:44:03 -07:00
..
modules CMake: Bugfix: Fix bug where Cg was not set to found properly on first-pass configuration. 2013-12-09 00:44:03 -07:00
README.md CMake: Configure: Add option to enable or disable all packages. 2013-12-09 00:11:39 -07:00

README.md

Building with CMake

The quickest way to build and install panda with CMake is to run:

cmake .
make
[sudo] make install

It is recommended to create a separate directory to build Panda3D:

mkdir build
cd build/
cmake ..
make

To configure CMake, it is recommended to use cmake-gui (cmake-gui .), however it is also possible to configure it entirely through CMake's command-line interface; see man cmake for more details.

All third-party libraries are enabled by default and Panda3D will be compiled with any 3rd party library that is found. Third-party libraries can be enabled or disabled through configuration with the cmake gui or cli.

To quickly enable or disable all third-party libraries, run:

cmake -DEVERYTHING=True .  # or .. if you are in a separate build/ dir
# OR
cmake -DNOTHING=True .  # or .. if you are in a separate build/ dir