examples: moved examples to new c++ subfolder

Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Mihai Tudor Panu 2015-03-02 15:34:56 -08:00
parent 74f00c8a55
commit afd560ccdc
93 changed files with 62 additions and 60 deletions

View File

@ -98,4 +98,4 @@ if (IPK)
endif()
add_subdirectory (src)
add_subdirectory (examples)
add_subdirectory (examples/c++)

View File

@ -869,9 +869,9 @@ EXCLUDE_SYMBOLS =
# that contain example code fragments that are included (see the \include
# command).
EXAMPLE_PATH = @CMAKE_CURRENT_SOURCE_DIR@/examples/ \
EXAMPLE_PATH = @CMAKE_CURRENT_SOURCE_DIR@/examples/c++ \
@CMAKE_CURRENT_SOURCE_DIR@/docs/ \
@CMAKE_CURRENT_SOURCE_DIR@/src/max31855/
@CMAKE_CURRENT_SOURCE_DIR@/src/max31855/
# If the value of the EXAMPLE_PATH tag contains directories, you can use the
# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and

View File

@ -1,3 +1,5 @@
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/examples)
add_executable (hmc5883l-example hmc5883l.cxx)
add_executable (groveled-example groveled.cxx)
add_executable (groverelay-example groverelay.cxx)

0
examples/am2315.cxx → examples/c++/am2315.cxx Executable file → Normal file
View File