Bypassing cmake, Minimum setup required for running an Optix program?

Optix SDK samples with large cmake operation is a maze to navigate. maybe just for a newbie like me ;) but please contribute (standalone template projects, compilation commands and architecture details) to get a creative variance over cmake.
thank you everybody in advance.