On Fri, 25 Jan 2013, Derek Gaston wrote:
Ok - I'm stumped... what files do I edit... or what do I do in general to add
new source files
to libMesh?
I see include/libmesh/Makefile.am.... but that has to be a generated file from
some script or
something right?
I also see src/libmesh_SOURCES... is that generated from something or do I edit
it?
Ben's got some scripts for those...
include/libmesh/rebuild_makefile.sh for include/libmesh/Makefile.am
include/rebuild_include_HEADERS.sh for include/include_HEADERS
src/rebuild_libmesh_SOURCES.sh for src/libmesh_SOURCES
Hey, Ben: should we be just running those scripts automatically from
bootstrap? It's annoying that automake can't figure out targets based
on filesystem globbing and string pattern substitutions like your
scripts do... but we never actually run automake directly, we just run
bootstrap, which is a shell script that can run other shell scripts
which can all glob to their hearts' content.
I moved a source file (meshfree_interopolation.h/.C) and I cannot
for the life of me figure out how to get the system to forget where
it used to be. I also added a new directory
(src(include)/solution_transfer) with multiple sources in it.
Adding a new directory is trickier - you'll need to add new include
directories to the headers list in rebuild_include_HEADERS.sh, and new
source directories to the sources list in rebuild_libmesh_SOURCES.sh,
before you rerun each.
---
Roy
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel