compileCommand.Flags().BoolVar(&dumpProfile,"dump-profile",false,tr("Create and print a profile configuration from the build."))
compileCommand.Flags().BoolVar(&showProperties,"show-properties",false,tr("Show all build properties used instead of compiling."))
compileCommand.Flags().StringVar(
&showProperties,
"show-properties",
"disabled",
tr(`Show build properties instead of compiling. The properties are returned exactly as they are defined. Use "--show-properties=expanded" to replace placeholders with compilation context values.`),
)
compileCommand.Flags().Lookup("show-properties").NoOptDefVal="unexpanded"// default if the flag is present with no value
compileCommand.Flags().BoolVar(&preprocess,"preprocess",false,tr("Print preprocessed code to stdout instead of compiling."))
compileCommand.Flags().StringVar(&buildCachePath,"build-cache-path","",tr("Builds of 'core.a' are saved into this path to be cached and reused."))
compileCommand.Flags().StringVarP(&exportDir,"output-dir","","",tr("Save build artifacts in this directory."))