# This file generated automatically by:
#   generate_sugar_files.py
# see wiki for more info:
#   https://github.com/ruslo/sugar/wiki/Collecting-sources

if(DEFINED LIB_CORE_CORE_SUGAR_CMAKE_)
  return()
else()
  set(LIB_CORE_CORE_SUGAR_CMAKE_ 1)
endif()

include(sugar_files)

sugar_files(DRISHTI_CORE_SRCS
  Logger.cpp
  Shape.cpp
  arithmetic.cpp
  drawing.cpp
  hungarian.cpp
  padding.cpp
  string_utils.cpp
)

# For now make them all public
sugar_files(DRISHTI_CORE_HDRS_PUBLIC
  Field.h
  FixedField.h
  ImageView.h
  IndentingOStreamBuffer.h
  LazyParallelResource.h
  Line.h
  Logger.h
  Parallel.h
  Semaphore.h
  Shape.h
  ThrowAssert.h
  arithmetic.h
  drawing.h
  drishti_algorithm.h
  drishti_cereal_pba.h
  drishti_core.h
  drishti_csv.h
  drishti_cv_cereal.h    
  drishti_cvmat_cereal.h  
  drishti_defs.hpp
  drishti_math.h
  drishti_operators.h
  drishti_serialize.h
  drishti_stdlib_string.h
  drishti_string_hash.h
  hungarian.h
  infix_iterator.h
  make_unique.h
  padding.h
  scope_guard.h
  string_utils.h
  timing.h
)

if(DRISHTI_USE_THREAD_POOL_CPP)
  sugar_files(DRISHTI_CORE_HDRS_PUBLIC ThreadPool.h)
  sugar_files(DRISHTI_CORE_SRCS ThreadPool.cpp)  
endif()

sugar_files(DRISHTI_CORE_UT
  ut/test-drishti-core.cpp
  )