set(SIGNALCATCHER_SOURCE signalcatcher.cpp)
if(WIN32)
    set(SIGNALCATCHER_SOURCE signalcatcher_win32.cpp)
endif(WIN32)

target_sources(squawk PRIVATE
  account.cpp
  account.h
  adapterfunctions.cpp
  adapterfunctions.h
  conference.cpp
  conference.h
  contact.cpp
  contact.h
  rosteritem.cpp
  rosteritem.h
  ${SIGNALCATCHER_SOURCE}
  signalcatcher.h
  squawk.cpp
  squawk.h
  )

target_include_directories(squawk PRIVATE ${LMDB_INCLUDE_DIRS})

add_subdirectory(handlers)
add_subdirectory(storage)
add_subdirectory(passwordStorageEngines)
add_subdirectory(components)