add_subdirectory( graphEditors )
link_libraries( MeshVizAuditors )

include_directories( graphEditors )

add_oiv_executable(angularAxis
  angularAxis.cxx
)
add_oiv_executable(arrow
  arrow.cxx
)
add_oiv_executable(arrow3
  arrow3.cxx
)
add_oiv_executable(autoCubeAxis
  autoCubeAxis.cxx
)
add_oiv_executable(biErrorPointField
  biErrorPointField.cxx
)
add_oiv_executable(circle
  circle.cxx
)
add_oiv_executable(circle3
  circle3.cxx
)
add_oiv_executable(circleArc
  circleArc.cxx
)
add_oiv_executable(circleArc3
  circleArc3.cxx)
add_oiv_executable(conicBar
  conicBar.cxx
)
add_oiv_executable(coordinateSystemAxis
  coordinateSystemAxis.cxx
)
add_oiv_executable(curve
  curve.cxx
)
add_oiv_executable(curveFilling
  curveFilling.cxx
)
add_oiv_executable(curveLine
  curveLine.cxx
)
add_oiv_executable(cylindricalBar
  cylindricalBar.cxx
)
add_oiv_executable(errorCurve
  errorCurve.cxx
)
add_oiv_executable(errorPointField
  errorPointField.cxx
)
add_oiv_executable_notest(genAxis
  genAxis.cxx
)
add_oiv_executable(generalizedBar
  generalizedBar.cxx
)
add_oiv_executable(generalizedScatter
  generalizedScatter.cxx
)
add_oiv_executable(group2Axis
  group2Axis.cxx
)
add_oiv_executable(group3Axis3
  group3Axis3.cxx
)
add_oiv_executable(group4Axis
  group4Axis.cxx
)
add_oiv_executable(group6Axis3
  group6Axis3.cxx
)
add_oiv_executable(highLowClose
  highLowClose.cxx
)
add_oiv_executable(itemLegend
  itemLegend.cxx
)
add_oiv_executable(label
  label.cxx
)
add_oiv_executable(labelField
  labelField.cxx
)
add_oiv_executable(linearAxis
  linearAxis.cxx
)
add_oiv_executable(linearBar
  linearBar.cxx
)
add_oiv_executable(linearValueLegend
  linearValueLegend.cxx
)
add_oiv_executable(logAxis
  logAxis.cxx
)
add_oiv_executable(multipleAxis
  multipleAxis.cxx
)
add_oiv_executable(multipleHistogram
  multipleHistogram.cxx
)
add_oiv_executable(nonLinearValueLegend1
  nonLinearValueLegend1.cxx
)
add_oiv_executable(nonLinearValueLegend2
  nonLinearValueLegend2.cxx
)
add_oiv_executable(nonLinearValueLegend3
  nonLinearValueLegend3.cxx
)
add_oiv_executable(parallelogram
  parallelogram.cxx
)
add_oiv_executable(parallelogram3
  parallelogram3.cxx
)
add_oiv_executable(pieChart2D
  pieChart2D.cxx
)
add_oiv_executable(pieChart3D
  pieChart3D.cxx
)
add_oiv_executable(pieChartRep
  pieChartRep.cxx
)
add_oiv_executable(pointsFieldBars
  pointsFieldBars.cxx
)
add_oiv_executable(polarLinAxis
  polarLinAxis.cxx
)
add_oiv_executable(polarLogAxis
  polarLogAxis.cxx
)
add_oiv_executable(profileBar
  profileBar.cxx
)
add_oiv_executable(rectangle
  rectangle.cxx
)
add_oiv_executable(ribbon
  ribbon.cxx
)
add_oiv_executable(scatter
  scatter.cxx
)
add_oiv_executable(singleHistogram
  singleHistogram.cxx
)
add_oiv_executable(timeAxis
  timeAxis.cxx
)
add_oiv_executable(tube
  tube.cxx
)
add_oiv_executable(valuedMarkerField
  valuedMarkerField.cxx
)

set(Graph_SOURCES
  PoDialogColorControl.cxx
)

if(NOT APPLE)
  add_oiv_executable(axisDemo2D
    axisDemo2D.cxx
    ${Graph_SOURCES}
  )
endif()

if(NOT APPLE)
  add_oiv_executable(axisLogDemo
    axisLogDemo.cxx
    ${Graph_SOURCES}
  )

  add_oiv_executable(grapherDemo
    grapherDemo.cxx
    ${Graph_SOURCES}
  )

else()
  add_oiv_executable(grapherDemo
    grapherDemo.cxx
  )
endif()

if(NOT APPLE)

  add_oiv_executable(histoDemo2D
    histoDemo2D.cxx
    ${Graph_SOURCES}
  )

  add_oiv_executable(histoDemo3D
    histoDemo3D.cxx
    ${Graph_SOURCES}
  )

  add_oiv_executable(multiViewDemo
    multiViewDemo.cxx
    ${Graph_SOURCES}
  )

  add_oiv_executable(pieChartDemo
    pieChartDemo.cxx
    ${Graph_SOURCES}
  )
endif()

