From: Derek G. <fri...@gm...> - 2013-01-19 22:31:10
|
And actually... a follow on question. What are the steps necessary for adding a new file (like new a new header file and associated .C) to libMesh now? Thanks, Derek On Sat, Jan 19, 2013 at 3:14 PM, Derek Gaston <fri...@gm...> wrote: > So, > > With the new build system what's the best way to develop a new example? > > Previously I would do this: > > cd libmesh/examples/introduction > cp introduction_ex3 introduction_ex17 > # Change everything in introduction_ex17 to say ex17 > make > ./introduction_ex17 > > What's the best way of doing that now? > > If I do the above and copy an example... then I have to reconfigure to get > it copied to my "build" directory... and then "make install" to get it > built and copied into my install directory. > > But where do I edit it then? I suppose I edit it in > libmesh/examples/introduction/introduction_ex17 and then build and make > install in my build directory? If I add more files to my example do I need > to reconfigure to get a new Makefile made? Then rebuild the whole library > so I can build my example? > > I'm hoping there is a better way. > > /me is still not a fan of the new build system. > > Derek > |