SUBDIRS(
		build_coarse_mesh
		build_far_bank
		build_smallbank
		ig_lighter
		zone_dependencies
		zone_ig_lighter 
		zone_lighter
		zone_welder
		animation_set_builder
		anim_builder
		build_clod_bank
		build_clodtex
		build_interface
		build_shadow_skin
		cluster_viewer
		file_info
		get_neighbors
		ig_add
		ig_info
		shapes_exporter
		tga_cut
		tga_resize
		zone_check_bind
		zone_dump
		zviewer)

IF(WIN32)
  ADD_SUBDIRECTORY(ig_elevation)
  ADD_SUBDIRECTORY(lightmap_optimizer)

  IF(MFC_FOUND)
    ADD_SUBDIRECTORY(object_viewer)
    ADD_SUBDIRECTORY(object_viewer_exe)
    ADD_SUBDIRECTORY(tile_edit)
  ENDIF(MFC_FOUND)

  IF(WITH_NEL_MAXPLUGIN)
    IF(MAXSDK_FOUND)
      ADD_SUBDIRECTORY(plugin_max)
      ADD_SUBDIRECTORY(ligo)
    ENDIF(MAXSDK_FOUND)
  ENDIF(WITH_NEL_MAXPLUGIN)

ENDIF(WIN32)

IF(WITH_QT)
  ADD_SUBDIRECTORY(tile_edit_qt)
  ADD_SUBDIRECTORY(object_viewer_qt)
ENDIF(WITH_QT)

IF(SQUISH_FOUND)
  ADD_SUBDIRECTORY(panoply_maker)
  ADD_SUBDIRECTORY(tga_2_dds)
  ADD_SUBDIRECTORY(hls_bank_maker)
ENDIF(SQUISH_FOUND)

#crash_log_analyser
#shapes_exporter