examples: added more cpp examples.
Mostly just the same functionality as the C examples yet using the cpp api. Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
This commit is contained in:
@@ -1,7 +1,13 @@
|
||||
add_executable (AioA0 AioA0.cpp)
|
||||
add_executable (blink-io-cpp Blink-IO.cpp)
|
||||
add_executable (Pwm3-cycle Pwm3-cycle.cpp)
|
||||
add_executable (I2c-compass I2c-compass.cpp)
|
||||
add_executable (Spi-pot Spi-pot.cpp)
|
||||
|
||||
include_directories(${PROJECT_SOURCE_DIR}/api)
|
||||
|
||||
target_link_libraries (AioA0 maa stdc++)
|
||||
target_link_libraries (blink-io-cpp maa stdc++)
|
||||
target_link_libraries (Pwm3-cycle maa stdc++)
|
||||
target_link_libraries (I2c-compass maa stdc++)
|
||||
target_link_libraries (Spi-pot maa stdc++)
|
||||
|
||||
Reference in New Issue
Block a user