12-29-2013, 08:05 AM
cmake can generate the build files into any folder (or subfolder in the source tree), like this:
This will build in a Release folder inside the source tree; the only thing it will touch outside this folder are the Lua bindings, which it will generate (for *nix).
Code:
mkdir Release
cd Release
cmake -DCMAKE_BUILD_TYPE=Release ..
make