Cmake set variable superset list of files11/19/2023 MetaMake will first build up a tree of all the mmakefiles present in a directory and all subdirectories (typically from the aros source base directory) – and autogenerate them where applicable. MetaMake is run with a metatarget to be built specified on the command line. "normal" make target is present in the makefile with the same name as Virtual MetaTargets #MM- metatarget : metaprerequisites This is the same definition as for Real MetaTarget's – only now no Lines if one ends every line with the character and starts the next The line for the definition of a metatarget can be spread over several Metatarget but the prerequisites are not metaprerequisites: #MM metatarget : prerequisites This form indicates that the make target on the next line is also a This form also indicates that in this makefile also a makefile target Will be build as metatargets, and afterwards the given metatarget. When a user asks to build this metatarget, first the metaprerequisites Real MetaTargets #MM metatarget : metaprerequisites This defines a metatarget with its metaprerquisites: There exist three ways of defining a metatarget in a makefile: This line is used to define so called metatargets. MetaMake uses normal makefile syntax but gives a special meaning to a comment line that start with #MM. You can also specify a program which converts "source" mmakefiles (aptly named mmakefile.src) into proper mmakefile's before MetaMake will be invoked on the created mmakefile. ![]() MetaMake searches directory tree's for mmakefiles – and, for each it finds, process's the metatargets. The name of the makefile's used is defined in the MetaMake config file and defaults to makefile for AROS – so we shall use this name to donate MetaMake Makefiles from here on in. MetaMake is a special version of make which allows the build-system to recursively build "targets" in the various directories of a project, or even another project. ![]() Several AROS specific tools that will be explained more when appropriate during the rest of this documentation.It allows to combine several make rules into one macro which can simplify writing makefiles. GenMF: (generate makefile) A macro language for makefiles.A more in depth explanation is given below. It can keep track of targets available in makefiles available in subdirectories a certain root directory. 4.6 AROS mmakefile.src Low-Level MacrosĪROS uses several custom development tools in its build-system to aid developers by providing an easy means to generate custom makefiles for amigaos like components. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |