forked from blue/squawk
37 lines
679 B
CMake
37 lines
679 B
CMake
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}
|
|
${HEADER_FILES}
|
|
)
|
|
|
|
target_include_directories(squawk PRIVATE ${LMDB_INCLUDE_DIRS})
|
|
|
|
add_subdirectory(handlers)
|
|
add_subdirectory(storage)
|
|
add_subdirectory(passwordStorageEngines)
|
|
add_subdirectory(components)
|