From a348f23a3b514ba5a622996f684cabae2503f4f5 Mon Sep 17 00:00:00 2001 From: Abhishek Malik Date: Thu, 17 Mar 2016 13:27:19 -0700 Subject: [PATCH] SWIG: Corrected Swig interface files Signed-off-by: Abhishek Malik --- CMakeCache.txt | 38 +++++++++++++++++++++++ CMakeFiles/cmake.check_cache | 1 + src/bme280/pyupm_bme280.i | 6 ++-- src/ds1808lc/CMakeCache.txt | 38 +++++++++++++++++++++++ src/ds1808lc/CMakeFiles/cmake.check_cache | 1 + src/ds1808lc/jsupm_ds1808lc.i | 6 ++-- src/ds1808lc/pyupm_ds1808lc.i | 6 ++-- 7 files changed, 87 insertions(+), 9 deletions(-) create mode 100644 CMakeCache.txt create mode 100644 CMakeFiles/cmake.check_cache create mode 100644 src/ds1808lc/CMakeCache.txt create mode 100644 src/ds1808lc/CMakeFiles/cmake.check_cache diff --git a/CMakeCache.txt b/CMakeCache.txt new file mode 100644 index 00000000..20b387d1 --- /dev/null +++ b/CMakeCache.txt @@ -0,0 +1,38 @@ +# This is the CMakeCache file. +# For build in directory: /export/users/malikabh/upm +# It was generated by CMake: /usr/bin/cmake +# You can edit this file to change values found and used by cmake. +# If you do not want to change any of the values, simply exit the editor. +# If you do want to change a value, simply edit, save, and exit the editor. +# The syntax for the file is as follows: +# KEY:TYPE=VALUE +# KEY is the name of a variable in the cache. +# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!. +# VALUE is the current value for the KEY. + +######################## +# EXTERNAL cache entries +######################## + + +######################## +# INTERNAL cache entries +######################## + +//This is the directory where this CMakeCache.txt was created +CMAKE_CACHEFILE_DIR:INTERNAL=/export/users/malikabh/upm +//Major version of cmake used to create the current loaded cache +CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 +//Minor version of cmake used to create the current loaded cache +CMAKE_CACHE_MINOR_VERSION:INTERNAL=2 +//Patch version of cmake used to create the current loaded cache +CMAKE_CACHE_PATCH_VERSION:INTERNAL=2 +//Path to CMake executable. +CMAKE_COMMAND:INTERNAL=/usr/bin/cmake +//Path to cpack program executable. +CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack +//Path to ctest program executable. +CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest +//Path to CMake installation. +CMAKE_ROOT:INTERNAL=/usr/share/cmake-3.2 + diff --git a/CMakeFiles/cmake.check_cache b/CMakeFiles/cmake.check_cache new file mode 100644 index 00000000..3dccd731 --- /dev/null +++ b/CMakeFiles/cmake.check_cache @@ -0,0 +1 @@ +# This file is generated by cmake for dependency checking of the CMakeCache.txt file diff --git a/src/bme280/pyupm_bme280.i b/src/bme280/pyupm_bme280.i index 5961c63e..942ad008 100644 --- a/src/bme280/pyupm_bme280.i +++ b/src/bme280/pyupm_bme280.i @@ -1,10 +1,10 @@ -%module pyupm_bmp180 +%module pyupm_bme280 %include "../upm.i" %include "stdint.i" -%include "bmp180.h" +%include "bme280.h" %{ - #include "bmp180.h" + #include "bme280.h" %} diff --git a/src/ds1808lc/CMakeCache.txt b/src/ds1808lc/CMakeCache.txt new file mode 100644 index 00000000..7ced690a --- /dev/null +++ b/src/ds1808lc/CMakeCache.txt @@ -0,0 +1,38 @@ +# This is the CMakeCache file. +# For build in directory: /export/users/malikabh/upm/src/ds1808lc +# It was generated by CMake: /usr/bin/cmake +# You can edit this file to change values found and used by cmake. +# If you do not want to change any of the values, simply exit the editor. +# If you do want to change a value, simply edit, save, and exit the editor. +# The syntax for the file is as follows: +# KEY:TYPE=VALUE +# KEY is the name of a variable in the cache. +# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!. +# VALUE is the current value for the KEY. + +######################## +# EXTERNAL cache entries +######################## + + +######################## +# INTERNAL cache entries +######################## + +//This is the directory where this CMakeCache.txt was created +CMAKE_CACHEFILE_DIR:INTERNAL=/export/users/malikabh/upm/src/ds1808lc +//Major version of cmake used to create the current loaded cache +CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 +//Minor version of cmake used to create the current loaded cache +CMAKE_CACHE_MINOR_VERSION:INTERNAL=2 +//Patch version of cmake used to create the current loaded cache +CMAKE_CACHE_PATCH_VERSION:INTERNAL=2 +//Path to CMake executable. +CMAKE_COMMAND:INTERNAL=/usr/bin/cmake +//Path to cpack program executable. +CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack +//Path to ctest program executable. +CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest +//Path to CMake installation. +CMAKE_ROOT:INTERNAL=/usr/share/cmake-3.2 + diff --git a/src/ds1808lc/CMakeFiles/cmake.check_cache b/src/ds1808lc/CMakeFiles/cmake.check_cache new file mode 100644 index 00000000..3dccd731 --- /dev/null +++ b/src/ds1808lc/CMakeFiles/cmake.check_cache @@ -0,0 +1 @@ +# This file is generated by cmake for dependency checking of the CMakeCache.txt file diff --git a/src/ds1808lc/jsupm_ds1808lc.i b/src/ds1808lc/jsupm_ds1808lc.i index e0cbd16f..2c5197da 100644 --- a/src/ds1808lc/jsupm_ds1808lc.i +++ b/src/ds1808lc/jsupm_ds1808lc.i @@ -1,8 +1,8 @@ -%module jsupm_tubelight +%module jsupm_ds1808lc %include "../upm.i" %{ - #include "tubelight.h" + #include "ds1808lc.h" %} -%include "tubelight.h" +%include "ds1808lc.h" diff --git a/src/ds1808lc/pyupm_ds1808lc.i b/src/ds1808lc/pyupm_ds1808lc.i index e2087c22..08d05920 100644 --- a/src/ds1808lc/pyupm_ds1808lc.i +++ b/src/ds1808lc/pyupm_ds1808lc.i @@ -1,9 +1,9 @@ -%module pyupm_tubelight +%module pyupm_ds1808lc %include "../upm.i" %feature("autodoc", "3"); -%include "tubelight.h" +%include "ds1808lc.h" %{ - #include "tubelight.h" + #include "ds1808lc.h" %}