diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 5664404..56eaa46 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -1,6 +1,6 @@ -add_executable (i2c_HMC5883L i2c_HMC5883L.cpp) -add_executable (hellomaa hellomaa.cpp) -add_executable (cycle-pwm3 cycle-pwm3.cpp) +add_executable (i2c_HMC5883L i2c_HMC5883L.cxx) +add_executable (hellomaa hellomaa.cxx) +add_executable (cycle-pwm3 cycle-pwm3.cxx) include_directories(${PROJECT_SOURCE_DIR}/api ${PROJECT_SOURCE_DIR}/include) diff --git a/examples/blink-io8.cpp b/examples/blink-io8.cxx similarity index 100% rename from examples/blink-io8.cpp rename to examples/blink-io8.cxx diff --git a/examples/cycle-pwm3.cpp b/examples/cycle-pwm3.cxx similarity index 100% rename from examples/cycle-pwm3.cpp rename to examples/cycle-pwm3.cxx diff --git a/examples/hellomaa.cpp b/examples/hellomaa.cxx similarity index 100% rename from examples/hellomaa.cpp rename to examples/hellomaa.cxx diff --git a/examples/i2c_HMC5883L.cpp b/examples/i2c_HMC5883L.cxx similarity index 100% rename from examples/i2c_HMC5883L.cpp rename to examples/i2c_HMC5883L.cxx