C++ User's Guide

-dryrun

Shows commands built by driver, but does not compile.

This option directs the driver CC to show, but not execute, the subcommands constructed by the compilation driver.