hyperion.ng/dependencies/build/tinkerforge/CMakeLists.txt
T. van der Zwan fdaa5c0068 Added tinkerforge as local dependency
Former-commit-id: b739eba0676d9c105416d9040ffbe78b2dc4bfbd
2014-03-06 21:48:11 +01:00

15 lines
455 B
CMake

project(tinkerforge)
# define the current source/header path
set(CURRENT_HEADER_DIR ${CMAKE_SOURCE_DIR}/dependencies/include/tinkerforge)
set(CURRENT_SOURCE_DIR ${CMAKE_SOURCE_DIR}/dependencies/build/tinkerforge)
include_directories(${CURRENT_HEADER_DIR})
add_library(tinkerforge
${CURRENT_HEADER_DIR}/bricklet_led_strip.h
${CURRENT_HEADER_DIR}/ip_connection.h
${CURRENT_SOURCE_DIR}/bricklet_led_strip.c
${CURRENT_SOURCE_DIR}/ip_connection.c)