Poujol now compiles using boost-build v2, and as Universal Binaries on Mac
[glumol:poujol.git] / Jamroot
1 # Copyright David Abrahams 2006. Distributed under the Boost
2 # Software License, Version 1.0. (See accompanying
3 # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
4
5 # Specify the path to the Boost project.  If you move this project,
6 # adjust the path to refer to the Boost root directory.
7 use-project boost 
8   : ../boost_1_35_0 ;
9
10 # Set up the project-wide requirements that everything uses the
11 # boost_python library defined in the project whose global ID is
12 # /boost/python.
13 project poujol
14   : requirements <library>/boost/python//boost_python 
15     ;
16
17 # Make the definition of the python-extension rule available
18 import python ;
19
20 # Declare a Python extension called hello.
21 python-extension _poujol
22   :
23   glumolgame.cpp
24   glumolsprite.cpp
25   glumolzbuffer.cpp
26   glumolregion.cpp
27   glumolanimation.cpp
28   writepng.cpp
29   cl_writepng.cpp
30   build_module.cpp
31   build_glumolgame.cpp
32   glumolfont.cpp build_glumolfont.cpp
33   build_glumolsprite.cpp
34   build_glumolzbuffer.cpp
35   build_glumolthread.cpp
36   build_animation.cpp
37   build_glumolscreen.cpp
38   build_glumolregion.cpp
39   # glumolobject.cpp build_glumolobject.cpp
40   glumolinput.cpp # build_glumolinput.cpp
41   build_component.cpp build_button.cpp
42   # build_checkbox.cpp
43   build_filedialog.cpp
44   build_frame.cpp build_guimanager.cpp
45   build_image.cpp build_inputbox.cpp
46   build_inputdialog.cpp build_label.cpp
47   build_listbox.cpp build_menu.cpp
48   build_menuitem.cpp build_menunode.cpp
49   build_messagebox.cpp build_progressbar.cpp
50   build_radiobutton.cpp build_radiogroup.cpp
51   build_resourcemanager.cpp build_scrollbar.cpp
52   build_stylemanager.cpp
53   build_treeitem.cpp
54   build_treenode.cpp build_treeview.cpp
55   build_window.cpp # cvt.cpp
56   build_pathfinder.cpp pathfinder.cpp polygon.cpp
57   build_misc_classes.cpp misc_classes.cpp
58   PolyUtil.cpp
59   build_soundbuffer.cpp build_soundbuffersession.cpp
60   build_soundoutput.cpp build_soundprovider.cpp build_filter.cpp
61
62   :
63   <include>"/Users/boblebauce/dev/ClanLib-0.8.1/Sources"
64   <include>"/Users/boblebauce/dev/ClanLib-0.8.1/Frameworks/libpng.framework/Versions/Current/Headers"
65   <include>"/usr/local/include/graphviz/"
66   # <include>"/home/bob/dev/ClanLib/Sources"
67   <include>"/usr/include/pango-1.0"    
68   <include>"/usr/include/glib-2.0"    
69   <include>"/usr/lib/glib-2.0/include"
70   <include>"/usr/local/include"
71
72   <library-path>"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/config/"
73   <library-path>/usr/local/graphviz-2.12/lib/
74
75   <library>/usr/lib/libz.dylib
76   <library>/usr/local/lib/libintl.dylib
77
78   <framework>/Users/boblebauce/dev/ClanLib-0.8.1/build/Development/ClanCore
79   <framework>/Users/boblebauce/dev/ClanLib-0.8.1/build/Development/ClanDisplay
80   <framework>/Users/boblebauce/dev/ClanLib-0.8.1/build/Development/ClanGL
81   <framework>/Users/boblebauce/dev/ClanLib-0.8.1/build/Development/ClanSDL
82   <framework>/Users/boblebauce/dev/ClanLib-0.8.1/build/Development/ClanSignals.framework
83   <framework>/Users/boblebauce/dev/ClanLib-0.8.1/build/Development/ClanSound
84   <framework>/Users/boblebauce/dev/ClanLib-0.8.1/build/Development/ClanVorbis
85   <framework>/Users/boblebauce/dev/ClanLib-0.8.1/build/Development/ClanMikmod
86   <framework>/Users/boblebauce/dev/ClanLib-0.8.1/build/Development/ClanGUI
87   <framework>/Users/boblebauce/dev/ClanLib-0.8.1/build/Development/ClanGUIStyleSilver
88     
89   <framework>/Users/boblebauce/dev/ClanLib-0.8.1/Frameworks/libpng
90   <framework>/Users/boblebauce/dev/ClanLib-0.8.1/Frameworks/libjpeg
91   <framework>/Users/boblebauce/dev/ClanLib-0.8.1/Frameworks/mikmod
92   <framework>/Users/boblebauce/dev/ClanLib-0.8.1/Frameworks/Ogg
93   <framework>/Users/boblebauce/dev/ClanLib-0.8.1/Frameworks/SDL
94   <framework>/Users/boblebauce/dev/ClanLib-0.8.1/Frameworks/Vorbis
95     
96   # <find-library>intl
97   # <find-library>pathplan
98   # <find-library>z
99
100   ;
101
102 # Declare an executable called embedding that embeds Python
103 # exe embedding : embedding.cpp /python//python ;
104
105 # import testing ;
106
107 # Declare a test of the extension module
108 # testing.make-test run-pyd : extending test_extending.py : : test_ext ;
109
110 # Declare a test of the embedding application
111 # testing.run embedding 
112 #   :              # any ordinary arguments
113 #   : script.py    # any arguments that should be treated as relative paths
114 #   :              # requirements
115 #   : test_embed ; # name of test
116
117 # Create a "test" target that runs all the tests
118 # alias test : test_ext test_embed ;
119
120 # make sure the tests don't run by default
121 # explicit test_ext test_embed test ;
122