Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Curioni <maxime.curioni@gmail.com>2008-05-29 06:31:36 +0400
committerMaxime Curioni <maxime.curioni@gmail.com>2008-05-29 06:31:36 +0400
commit4b7174a6dd18d83b4d359f3e86df8a6f7a6edd7a (patch)
tree587d19a66954ce6ebc03cb5ea20f6777a80f4cc5 /source/blender/freestyle/SConscript
parent9a6302e10994e45a2ec8a419bda5e1735c8e0799 (diff)
soc-2008-mxcurioni: updated SConscript file for SWIG module compilation and linking under Linux
Diffstat (limited to 'source/blender/freestyle/SConscript')
-rw-r--r--source/blender/freestyle/SConscript13
1 files changed, 10 insertions, 3 deletions
diff --git a/source/blender/freestyle/SConscript b/source/blender/freestyle/SConscript
index 33bc9682bbe..c9a77919f4f 100644
--- a/source/blender/freestyle/SConscript
+++ b/source/blender/freestyle/SConscript
@@ -74,11 +74,18 @@ env.BlenderLib (libname="bf_freestyle",
########################################################
# swig
#
-# Run the following two commands in the source/blender/freestyle/intern/swig directory.
+# 1] Run the following two commands in the source/blender/freestyle/intern/swig directory.
#
-# Replace /Users/mx/Documents/work/GSoC_2008/bf-blender/branches/build/darwin/lib to the path
+# 2] Replace /Users/mx/Documents/work/GSoC_2008/bf-blender/branches/build/darwin/lib to the path
# of your library directory (used to locate libbf_freestyle.a)
+#
+# 3] Replace the python directories to suit your config
# g++ -w -I../geometry -I../image -I../scene_graph -I../stroke -I../system -I../view_map -I../winged_edge -I/usr/include/python2.5 -I../../../blenlib -I../../../blenkernel -I../../../imbuf -I../../../makesdna -c ModuleWrapper.cpp -o ModuleWrapper.o
-# g++ -bundle -flat_namespace -undefined suppress -w -L/usr/lib/python2.5/config -L/Users/mx/Documents/work/GSoC_2008/bf-blender/branches/build/darwin/lib -lpython2.5 -lbf_freestyle -o ../../python/_Freestyle.so ModuleWrapper.o \ No newline at end of file
+########### Mac OS X ###########
+# g++ -bundle -flat_namespace -undefined suppress -w -L/usr/lib/python2.5/config -L/Users/mx/Documents/work/GSoC_2008/bf-blender/branches/build/darwin/lib -lpython2.5 -lbf_freestyle -o ../../python/_Freestyle.so ModuleWrapper.o
+
+########### Linux ###########
+# g++ -shared -w -L/usr/lib/python2.5/config -L/home/joe/bf_blender_freestyle/build/linux2/lib -lpython2.5 -lbf_freestyle -o ../../python/_Freestyle.so ModuleWrapper.o
+