The NVIDIA® DriveWorks SDK samples use a CMake-based build system. The default approach is to create a build folder for an "out of the source build" and to point CMake to build the samples from there.
On the host system, enter: