Thread Previous • Date Previous • Date Next • Thread Next |
Anders Logg wrote:
How does one build an application against DOLFIN with scons? Before, we had a (very simple) Makefile in each demo directory such that the demos could be rebuilt individually and someone wanting to write an application could just copy the Makefile somewhere else. So, could we add a (very very simple) example somewhere that could be used as a template?
This is how it's done in Unicorn: SConstruct: --- env = Environment() env.ParseConfig('pkg-config --cflags --libs dolfin') env.ParseConfig('pkg-config --cflags --libs unicorn') env.Program('demo', ['main.cpp']) --- It should just work by removing the Unicorn line? Johan
Thread Previous • Date Previous • Date Next • Thread Next |