Add ffc calls to demo cmake files

Issue #251 new
Martin Sandve Alnæs created an issue

The makefiles of demos should run ffc to produce foo.h from foo.ufl. Then we don't need the generate-form-files script except for the few generated checked in files.

Comments (9)

  1. Martin Sandve Alnæs reporter

    We could

    1) add a line at the top of each .ufl file in the demos:

    #ffc -l dolfin <arguments>
    

    2) let the build system in dolfin run "ffc Foo.ufl" automatically

    3) let ffc look for #ffc and use the arguments "-l dolfin <arguments>"

  2. Log in to comment