From 184b94e9e5d5a9c49291c6642007a7f750c5fd84 Mon Sep 17 00:00:00 2001 From: Brendan Le Foll Date: Tue, 22 Apr 2014 15:54:34 +0100 Subject: [PATCH] examples: make C++ examples follow src/ extension convention Signed-off-by: Brendan Le Foll --- examples/CMakeLists.txt | 6 +++--- examples/{blink-io8.cpp => blink-io8.cxx} | 0 examples/{cycle-pwm3.cpp => cycle-pwm3.cxx} | 0 examples/{hellomaa.cpp => hellomaa.cxx} | 0 examples/{i2c_HMC5883L.cpp => i2c_HMC5883L.cxx} | 0 5 files changed, 3 insertions(+), 3 deletions(-) rename examples/{blink-io8.cpp => blink-io8.cxx} (100%) rename examples/{cycle-pwm3.cpp => cycle-pwm3.cxx} (100%) rename examples/{hellomaa.cpp => hellomaa.cxx} (100%) rename examples/{i2c_HMC5883L.cpp => i2c_HMC5883L.cxx} (100%) 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