From 3c89fd52679c8ccebceb30294a4bd815b51ede19 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Mon, 5 Dec 2016 11:22:26 +0100 Subject: Import Drive SDK --- drive-sdk/src/CMakeLists.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 drive-sdk/src/CMakeLists.txt (limited to 'drive-sdk/src/CMakeLists.txt') diff --git a/drive-sdk/src/CMakeLists.txt b/drive-sdk/src/CMakeLists.txt new file mode 100644 index 0000000..b326665 --- /dev/null +++ b/drive-sdk/src/CMakeLists.txt @@ -0,0 +1,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 +) -- cgit v1.2.3