Re: CMake WIP

al davis <[email protected]>
Newsgroups gmane.comp.gnu.gnucap.devel
Message-ID <[email protected]>
On Friday 26 July 2013, Kevin Zheng wrote:
> I'm looking for someone to help me understand how stuff in
> apps/ is built (I can't seem to understand from
> Makefile.am).

It's clearer in "Make1" ..

The build procedure is:

First build "lib", a library.

Then build "modelgen", (gnucap-modelgen) an executable, which 
uses the library in "lib".

Then build "main", an executable, the main program, which also 
uses "lib".

Then build "apps", a library.  The ".cc" files are plugins, 
mostly each one independent, but here they are combined for 
convenience.  The ".model" files are also plugins, they use 
"modelgen" to convert to .cc files.  It is important to use the 
modelgen and lib that you just built, not one that might be 
installed.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.