[cig-commits] commit: Adding a SConscript to PICellerator.

Mercurial hg at geodynamics.org
Mon Nov 24 11:30:41 PST 2008


changeset:   57:d915f629e063
user:        LukeHodkinson
date:        Wed Feb 06 00:41:51 2008 +0000
files:       SConscript
description:
Adding a SConscript to PICellerator.


diff -r c1fc9c92ded2 -r d915f629e063 SConscript
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SConscript	Wed Feb 06 00:41:51 2008 +0000
@@ -0,0 +1,40 @@
+Import('env')
+
+# Need to copy the environment for use here.
+env = env.Copy()
+
+# Add some extra stuff.
+env.proj = 'PICellerator'
+env.Append(CPPPATH=['#build/include/' + env.proj])
+
+#
+# Target specification section.
+#
+
+env.build_directory('Voronoi')
+env.build_directory('PopulationControl')
+env.build_directory('Weights')
+env.build_directory('MaterialPoints')
+env.build_directory('Utils')
+
+env.build_headers(env.glob('libPICellerator/src/*.h'), 'PICellerator')
+env.build_objects(env.glob('libPICellerator/src/*.c'), 'libPICellerator')
+env.build_objects(env.glob('libPICellerator/Toolbox/*.c'), 'Toolbox')
+env.build_metadata(env.glob('libPICellerator/src/*.meta'), 'libPICellerator')
+env.build_metadata(env.glob('libPICellerator/Toolbox/*.meta'), 'Toolbol')
+
+env.build_library(env.get_hnodes(env.SharedObject), 'PICellerator')
+
+env.build_library(env.get_hnodes(env.SharedObject, 'Toolbox'),
+                  'PICellerator_Toolboxmodule',
+                  True)
+
+env.build_tests(env.glob('libPICellerator/tests/test*.c'),
+                'PICellerator', libs='PICellerator')
+
+env.build_plugin('plugins/CalculateParticleDisplacement',
+                 'CalculateParticleDisplacement')
+env.build_plugin('plugins/Output/MaterialCentroid',
+                 'Output/MaterialCentroid')
+
+env.build_xmls(env.glob('Apps/src/*.xml'), 'StGermain/PICellerator')



More information about the CIG-COMMITS mailing list