# This software was produced by NIST, an agency of the U.S. government,
# and by statute is not subject to copyright in the United States.
# Recipients of this software assume all responsibilities associated
# with its operation, modification and maintenance. However, to
# facilitate maintenance we ask that before distributing modifed
# versions of this software, you first contact the authors at
# oof_manager@nist.gov.

target_sources(oof2image
  PRIVATE
  oofimage.C
  oofimage.h
  contrast.C
  reducenoise.C
  pixelselectioncourieri.C
  pixelselectioncourieri.h
  autogroup.C
  autogroup.h
  pixeldifferentiator.C
  pixeldifferentiator.h
)

target_include_directories(oof2image
  PUBLIC
  ${NUMPY_INCLUDE}
)

oof_swig_sources(
  SWIGFILES
  autogroup
  oofimage
  pixeldifferentiator
  pixelselectioncourieri
  LIBRARIES
  oof2common
  oof2image
  INCLUDE_DIRECTORIES
  ${NUMPY_INCLUDE}
)

add_subdirectory(IO)
