X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=blobdiff_plain;f=SConscript;h=c025189f2b03fad405c1c8a231850518daf83d29;hp=46b34f6b4d8f28fe78f6a3a5b43de133ed923af5;hb=06eb8cc3a4046af318da7f7b9fae1c04be8c0380;hpb=d617f066bc8f3b5a852859e7d4be3a29bca69b89 diff --git a/SConscript b/SConscript index 46b34f6b..c025189f 100644 --- a/SConscript +++ b/SConscript @@ -445,18 +445,19 @@ entity_lst = build_list('plugins/entity', 'plugin.cpp entity.cpp eclassmodel.cpp entity_lib = module_env.SharedLibrarySafe(target='entity', source=entity_lst) module_env.Install(INSTALL + '/modules', entity_lib) -#bob_env = module_env.Copy() -#bob_env.useGtk2() -#bob_lst = build_list('contrib/bobtoolz/', -#'dialogs/dialogs-gtk.cpp bobToolz-GTK.cpp bsploader.cpp cportals.cpp DBobView.cpp \ -#DBrush.cpp DEntity.cpp DEPair.cpp DListener.cpp DMap.cpp DPatch.cpp DPlane.cpp DPoint.cpp \ -#DShape.cpp DTrainDrawer.cpp DTreePlanter.cpp DVisDrawer.cpp DWinding.cpp funchandlers-GTK.cpp \ -#lists.cpp misc.cpp ScriptParser.cpp shapes.cpp visfind.cpp') -#bob_lst.append('libs/libmathlib.a') -#bob_lst.append('libs/libcmdlib.a') -#bob_env['CPPPATH'].append('contrib/bobtoolz/dialogs') -#bob_env.SharedLibrarySafe(target='bobtoolz', source=bob_lst) -#bob_env.Install(INSTALL + '/plugins', 'bobtoolz.so') +bob_env = module_env.Copy() +bob_lst = build_list('contrib/bobtoolz/', +'dialogs/dialogs-gtk.cpp bobToolz-GTK.cpp bsploader.cpp cportals.cpp DBobView.cpp \ +DBrush.cpp DEntity.cpp DEPair.cpp DMap.cpp DPatch.cpp DPlane.cpp DPoint.cpp \ +DShape.cpp DTrainDrawer.cpp DTreePlanter.cpp DVisDrawer.cpp DWinding.cpp funchandlers-GTK.cpp \ +lists.cpp misc.cpp ScriptParser.cpp shapes.cpp visfind.cpp') +bob_lib = bob_env.SharedLibrarySafe(target='bobtoolz', source=bob_lst, LIBS=['mathlib', 'cmdlib', 'profile'], LIBPATH='libs') +bob_env.Depends(bob_lib, mathlib_lib) +bob_env.Depends(bob_lib, cmdlib_lib) +bob_env.Depends(bob_lib, profile_lib) +bob_env.useGlib2() +bob_env.useGtk2() +bob_env.Install(INSTALL + '/plugins', bob_lib) #camera_lst = build_list('contrib/camera', #'camera.cpp dialogs.cpp dialogs_common.cpp funchandlers.cpp listener.cpp misc.cpp renderer.cpp')