project (volRend)

ignore_oiv_runtest()

set(include_SOURCES
  ResourceManagerAuditor.h
  externGlobalVariable.h
  volRend.h
  VVizBenchmark.h
  globalVariable.h
  volRendAllHeader.h
  VolumeVizAuditor.h
  resource.h
  volRendProfView.h
  EventRaisedProgressBar.h
)

set(resources_SOURCES volRendDialog.iv translate1Dragger.iv)

add_oiv_executable(${PROJECT_NAME}
 mainVolVizdemo.cxx
 volRend.cxx
 volRendProfView.cxx
 volumeGeometry.cxx
 VolumeVizAuditor.cxx
 VVizBenchmark.cxx
 ${include_SOURCES}
 ${resources_SOURCES}
)

target_link_libraries(${PROJECT_NAME} ${DialogViz_LIBRARIES})

if(APPLE)
  target_link_libraries(${PROJECT_NAME}
		Qt::Core
		Qt::Gui
		Qt::OpenGL
		Qt::Widgets
	)
endif()

if(UNIX AND NOT APPLE)
  target_link_libraries(${PROJECT_NAME} ${X11_X11_LIB} ${MOTIF_LIBRARIES} ${X11_Xt_LIB} )
endif()

create_vcproj_hierarchy("Resource Files" ./${resources_SOURCES})
