2016-01-05 19:36:55 +01:00
|
|
|
enable_language(CXX)
|
|
|
|
|
|
2014-05-15 22:47:38 +01:00
|
|
|
add_executable (AioA0 AioA0.cpp)
|
2014-05-16 16:56:48 +01:00
|
|
|
add_executable (blink-io-cpp Blink-IO.cpp)
|
2014-05-22 14:17:33 +01:00
|
|
|
add_executable (Pwm3-cycle Pwm3-cycle.cpp)
|
|
|
|
|
add_executable (I2c-compass I2c-compass.cpp)
|
|
|
|
|
add_executable (Spi-pot Spi-pot.cpp)
|
2015-06-02 08:43:14 +01:00
|
|
|
add_executable (Uart Uart-example.cpp)
|
2015-09-29 14:20:20 +01:00
|
|
|
add_executable (Isr-pin6 Isr-pin6.cpp)
|
2015-12-03 12:34:31 -08:00
|
|
|
add_executable (Iio-dummy Iio-dummy.cpp)
|
2014-05-15 22:47:38 +01:00
|
|
|
|
|
|
|
|
include_directories(${PROJECT_SOURCE_DIR}/api)
|
|
|
|
|
|
2014-06-24 17:24:54 +01:00
|
|
|
target_link_libraries (AioA0 mraa stdc++)
|
|
|
|
|
target_link_libraries (blink-io-cpp mraa stdc++)
|
|
|
|
|
target_link_libraries (Pwm3-cycle mraa stdc++)
|
|
|
|
|
target_link_libraries (I2c-compass mraa stdc++ m)
|
|
|
|
|
target_link_libraries (Spi-pot mraa stdc++)
|
2015-06-02 08:43:14 +01:00
|
|
|
target_link_libraries (Uart mraa stdc++)
|
2015-09-29 14:20:20 +01:00
|
|
|
target_link_libraries (Isr-pin6 mraa stdc++)
|
2015-12-03 12:34:31 -08:00
|
|
|
target_link_libraries (Iio-dummy mraa stdc++)
|
2016-04-14 13:52:09 +01:00
|
|
|
|
|
|
|
|
if (ONEWIRE)
|
|
|
|
|
add_executable (UartOW UartOW.cpp)
|
|
|
|
|
target_link_libraries (UartOW mraa stdc++)
|
|
|
|
|
endif ()
|