* Removed all C++ code and renamed all .cxx extensions to .c * All functions are renamed to maa_ and modules are for example called maa_pwm * Cmake can now 'make doc' using a Doxyfile.in to create documentation * examples/ have been updated but swig generated API is untested Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
10 lines
321 B
CMake
10 lines
321 B
CMake
add_executable (i2c_HMC5883L i2c_HMC5883L.c)
|
|
add_executable (hellomaa hellomaa.c)
|
|
add_executable (cycle-pwm3 cycle-pwm3.c)
|
|
|
|
include_directories(${PROJECT_SOURCE_DIR}/api ${PROJECT_SOURCE_DIR}/include)
|
|
|
|
target_link_libraries (hellomaa maa)
|
|
target_link_libraries (i2c_HMC5883L maa m)
|
|
target_link_libraries (cycle-pwm3 maa)
|