Performance options for large projects#

For large projects, there are options that should be set to improve performance. Here are the options in Lattix Architect:

Options when creating a new project#

new_project_perf1

This option will reduce the number of atomdatabses to one:

new_project_perf2

Options when updating an existing project#

You can also change the options in an existing project. It will require a Project Update, which will process the source files again:

project_props_perf1

This option will reduce the number of atomdatabses to one:

project_props_perf2

Options for LDCUpdate command line#

For the LDCUpdate command line, you can use the following options

-dont_generate_compiler_flag_properties
   Don't generate compiler flag properties for atoms
-dont_generate_preproc_properties
   Don't generate preprocessor properties for atoms
-dont_generate_clang_properties
   Don't generate clang properties for atoms
-useParentDs
   Use Parent Datasource

Example:

ldcupdate project.ldz -module:clang buildspec.xml -dont_generate_compiler_flag_properties -dont_generate_preproc_properties -dont_generate_clang_properties -useParentDs
ldcupdate project.ldz project.ldz -module:clang vs-sln-file:sln_name=rlmjni.sln,sln_cfg=Release|Win32 -dont_generate_compiler_flag_properties -dont_generate_preproc_properties -dont_generate_clang_properties -useParentDs