mirror of
https://github.com/UberGames/GtkRadiant.git
synced 2024-11-22 03:41:39 +00:00
* activate surface_ufoai and model plugins for compilation
* added useGtk = true for surface_ufoai and model plugins * added picomodel to shared libs list (needed by the model plugin) git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@202 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
parent
08391b4c93
commit
ec2a5d09b1
2 changed files with 21 additions and 13 deletions
|
@ -17,6 +17,8 @@ if ( libname == 'image' ):
|
|||
useJPEG = True
|
||||
if ( libname == 'surface' ):
|
||||
useGtk = True
|
||||
if ( libname == 'surface_ufoai' ):
|
||||
useGtk = True
|
||||
if ( libname == 'surface_quake2' ):
|
||||
useGtk = True
|
||||
if ( libname == 'surface_heretic2' ):
|
||||
|
@ -33,6 +35,8 @@ if ( libname == 'PrtView' ):
|
|||
useGtk = True
|
||||
if ( libname == 'spritemodel' ):
|
||||
useGtk = True
|
||||
if ( libname == 'model' ):
|
||||
useGtk = True
|
||||
if ( libname == 'TexTool' ):
|
||||
useGtk = True
|
||||
|
||||
|
|
|
@ -90,7 +90,7 @@ class Config:
|
|||
|
||||
# PIC versions of the libs for the modules
|
||||
shlib_objects_extra = {}
|
||||
for project in [ 'libs/synapse/synapse.vcproj', 'libs/mathlib/mathlib.vcproj', 'libs/cmdlib/cmdlib.vcproj' ]:
|
||||
for project in [ 'libs/synapse/synapse.vcproj', 'libs/mathlib/mathlib.vcproj', 'libs/picomodel/picomodel.vcproj', 'libs/cmdlib/cmdlib.vcproj' ]:
|
||||
( libpath, libname ) = os.path.split( project )
|
||||
libname = os.path.splitext( libname )[0]
|
||||
config['shared'] = True
|
||||
|
@ -105,6 +105,7 @@ class Config:
|
|||
'plugins/eclassfgd/fgd.vcproj',
|
||||
'plugins/entity/entity.vcproj',
|
||||
'plugins/image/image.vcproj',
|
||||
'plugins/model/model.vcproj',
|
||||
# FIXME: Fix linker flags - xml2, z
|
||||
# 'plugins/imagepng/imagepng.vcproj',
|
||||
'plugins/imagewal/imagewal.vcproj',
|
||||
|
@ -115,6 +116,7 @@ class Config:
|
|||
'plugins/mapxml/mapxml.vcproj',
|
||||
'plugins/shaders/shaders.vcproj',
|
||||
'plugins/surface/surface.vcproj',
|
||||
'plugins/surface_ufoai/surface_ufoai.vcproj',
|
||||
'plugins/surface_quake2/surface_quake2.vcproj',
|
||||
'plugins/surface_heretic2/surface_heretic2.vcproj',
|
||||
# FIXME Needs splines
|
||||
|
@ -122,7 +124,7 @@ class Config:
|
|||
|
||||
# FIXME What is this? Empty dir for me - remove me?
|
||||
# 'contrib/patches/patches.vcproj',
|
||||
# 'contrib/archivewad/archivewad.vcproj',
|
||||
# 'plugins/archivewad/archivewad.vcproj',
|
||||
|
||||
# FIXME Doesn't compile cleanly
|
||||
# 'contrib/prtview/PrtView.vcproj',
|
||||
|
@ -136,6 +138,8 @@ class Config:
|
|||
shlib_objects = shlib_objects_extra['synapse']
|
||||
if ( libname == 'entity' ):
|
||||
shlib_objects += shlib_objects_extra['mathlib']
|
||||
elif ( libname == 'model' ):
|
||||
shlib_objects += shlib_objects_extra['picomodel']
|
||||
# elif ( libname == 'spritemodel' ):
|
||||
# shlib_objects += shlib_objects_extra['mathlib']
|
||||
# elif ( libname == 'TexTool' ):
|
||||
|
|
Loading…
Reference in a new issue