# Builds the main ArX executable, using the (already built) boost and # loki libraries # Copyright 2003 Walter Landry # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2 of the # License, or (at your option) any later version. # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA import string Import('boost_env','bin_objects', 'libboost_shared','libboost_static','libloki_static','libloki_shared', 'lib_objects') arx_env=boost_env.Copy() arx_env.Append(CPPPATH=['#/src/arx/include']) Export('arx_env') arx_files=[] Export('arx_files') SConscript('process_generic_options/SConscript') SConscript('libarx/SConscript') SConscript('commands/SConscript') libarx_shared=arx_env.SharedLibrary('arx',arx_files) libarx_static=arx_env.StaticLibrary('arx',arx_files) lib_objects+=[libarx_shared,libloki_shared,libboost_shared, libarx_static,libloki_static,libboost_static] bin_objects+=[arx_env.Program('arx',arx_files+['main.cpp', libloki_static,libboost_static])] Export('libarx_shared') Export('libarx_static') SConscript('python/SConscript')