where can I add CPPDEF ?

Is there a place in the setup directory after the case is created where I can add to

CPPDEFS

I am trying to avoid having to modify config_compsets.xml, adding a compset, specifying

CAM_CONFIG_OPTS

etc etc?

Thank you
Daniele
 

santos

Member
To add to CPPDEFS for the whole build, you can edit the Macros file in your case directory. For adding to a specific component, such as CAM, using CAM_CONFIG_OPTS is actually not a bad option.
 
Hi Sean Patrick,Thanks. Did you mean changing CAM_CONFIG_OPTS in less Tools/config_compsets.xml or anywhere else after the case is created or chaning it before you create the case? 
 

santos

Member
CAM_CONFIG_OPTS can be set in your case directory, in env_build.xml (for CESM 1.0, it was in env_conf.xml). You shouldn't have to change anything in config_compsets. 
 
Back
Top