add_oiv_runtest_parameter("$OIVHOME/examples/data/VolumeViz/3DHEAD.VOL") 
add_oiv_runtest_parameter("-o") 
add_oiv_runtest_parameter("customCompressorOutput.ldm")

add_oiv_executable(customCompressor
  main.cxx 
  SoCustomDataCompressor.cxx
)

add_oiv_runtest_parameter("customCompressorOutput.ldm")

add_oiv_executable(displayCustomCompressedFile
  displayCustom.cxx
  SoCustomDataCompressor.cxx
)

if(APPLE)
  target_link_libraries(customCompressor ${DialogVizQt_LIBRARIES})
  target_link_libraries(displayCustomCompressedFile ${DialogVizQt_LIBRARIES})
else()
  target_link_libraries(customCompressor ${DialogViz_LIBRARIES})
  target_link_libraries(displayCustomCompressedFile ${DialogViz_LIBRARIES})
endif()

