How to compile & run the PhysX 4 demos and examples on Linux(Ubuntu 18 LTS)?

I Posted this on StackOverflow.

I am trying to get into NVIDIA PhysX SDK. But cannot find how to actually run the following,

Kapla Demo:

Other Samples:

i followed the instructions here,

to get a build with

sudo ./generate_projects linux

and ended up with a document hierarchy that i cannot make heads or tails of.

it would be great if i can link the Kapla Demo and other Examples with a single CMake script. All help is much much appreciated.!