cache-sources

Enable source code visibility in a read-only snapshot you can view any time.

GUI Equivalent

File > Create Data Snapshot > Cache Sources

Syntax

--cache-sources

--no-cache-sources

Default

Off (no-cache-sources)

Actions Modified

snapshot

Example

Create a read-only snapshot. Include performance data, sources, and binaries. Save the snapshot to the tmp directory. Name the snapshot myAdvisorProjSnapshot.advixeexpz.

$ advixe-cl --snapshot --project-dir=./myAdvisorProj --pack --cache-sources --cache-binaries -- ./tmp/myAdvisorProjSnapshot
For more complete information about compiler optimizations, see our Optimization Notice.