CAA RADE Imakefile

The Imakefile.mk is how files in the IdentityCard.h file are included in the specific dll that is associated to the module containing the Imakefile. (Actually I just made that up, but it makes sense to me this way and it really may be true).

 

Wizard Edition Zone

# DO NOT EDIT :: THE CAA2 WIZARDS WILL ADD CODE HERE
WIZARD_LINK_MODULES = JS0GROUP \
JS0FM JS0GROUP CATAnalysisInterface CATAnalysisInterfacesUUID   \
DI0PANV2 CATMathematics CATDialogEngine 
# END WIZARD EDITION ZONE
  • This section is generated automatically by CAA RADE wizards. We really don't need to worry about this section.

Link_With Zone

LINK_WITH = $(WIZARD_LINK_MODULES) \
				CATApplicationFrame \
				CATMecModInterfaces \
				CATSketcherInterfaces \
				CATGitInterfaces \
				CATObjectSpecsModeler \
				CATDialogEngine \
				CATMathematics \
  • The '$(WIZARD_LINK_MODULES)' variable is defined in the Wizard Edition Zone and should not be changed.
  • For every class object that you add to your code you must add a keyword to the Imakefile Link_With Zone to link that class's code into your dll. To know this keyword you must do the following:
  1. Highlight the class name in your code and press ctrl+F1 to bring up the documentation page on that class.
  2. Scroll to the bottom of the page, and it should explicitly list the Imakefile key word that you must write in the Link_With Zone.
  3. Add the key word to the Imakefile.
  • Note: the backslash ("\") is merely a line continuation character in this file.
  • Note: If you want to make comments in the Imakefile, you must use the Pound Character ("#").
  • The best way to do this process is to do it every single time you use a new class object in your code. If you don't do this as you go, you will not be able to figure out which class you forgot to do it for. Each time you add a new class to your code, add its keyword to the makefile and compile your code to make sure it is all working.

See Also: CAA RADE Troubleshooting