examples: make C++ examples follow src/ extension convention
[contrib/mraa.git] / examples / CMakeLists.txt
1 add_executable (i2c_HMC5883L i2c_HMC5883L.cxx)
2 add_executable (hellomaa hellomaa.cxx)
3 add_executable (cycle-pwm3 cycle-pwm3.cxx)
4
5 include_directories(${PROJECT_SOURCE_DIR}/api ${PROJECT_SOURCE_DIR}/include)
6
7 target_link_libraries (hellomaa maa)
8 target_link_libraries (i2c_HMC5883L maa)
9 target_link_libraries (cycle-pwm3 maa)