# Include the directory itself as a path to include directories
set(CMAKE_INCLUDE_CURRENT_DIR ON)

set(drivekit_SOURCES
    eir.c eir.h
    anki_util.c
    advertisement.c advertisement.h
    uuid.c uuid.h
    protocol.c protocol.h
)


# For a large number of source files you can create it in a simpler way
# using file() function:
# file(GLOB drivekit_SOURCES *.cpp)

add_library(ankidrive ${drivekit_SOURCES})

install(TARGETS ankidrive
    LIBRARY DESTINATION lib
    ARCHIVE DESTINATION lib
)
