aboutsummaryrefslogtreecommitdiff
path: root/drive-sdk/src/CMakeLists.txt
blob: b32666526793f6c7ab6b07dcf7344e2dd525ab56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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
)