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

set(SOURCE_FILES
    account.cpp
    adapterfunctions.cpp
    conference.cpp
    contact.cpp
    rosteritem.cpp
    ${SIGNALCATCHER_SOURCE}
    squawk.cpp
)

set(HEADER_FILES
    account.h
    adapterfunctions.h
    conference.h
    contact.h
    rosteritem.h
    signalcatcher.h
    squawk.h
)

target_sources(squawk PRIVATE ${SOURCE_FILES})

target_include_directories(squawk PRIVATE ${LMDB_INCLUDE_DIRS})

add_subdirectory(handlers)
add_subdirectory(passwordStorageEngines)
add_subdirectory(components)
add_subdirectory(delayManager)
add_subdirectory(utils)