Skip to content

Commit

Permalink
Merge pull request #477 from analogdevicesinc/tcollins-merge-matlab-h…
Browse files Browse the repository at this point in the history
…eader

MATLAB bindings cleanup
  • Loading branch information
rgetz authored May 8, 2020
2 parents 5f53691 + 50974b3 commit fcc725d
Show file tree
Hide file tree
Showing 16 changed files with 44 additions and 2,345 deletions.
6 changes: 1 addition & 5 deletions CI/travis/before_deploy
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ check_file tar.gz
if [ -n "${temp}" ] ; then
deploy=$(expr ${deploy} + 1)
if [ -z "${TARGET_TGZ}" ] ; then
echo Add the MATLAB bindings into the tar file
echo updating tar file
(
cd $(dirname ${temp})
if [ -d tarball_fixup ] ; then
Expand All @@ -110,10 +110,6 @@ if [ -n "${temp}" ] ; then
tar -xzf ${TRAVIS_BUILD_DIR}/${temp}
fi

mkdir -p usr/include usr/lib/matlab/iio
cp ${TRAVIS_BUILD_DIR}/bindings/matlab/iio-wrapper.h usr/include/
cp ${TRAVIS_BUILD_DIR}/bindings/matlab/*.m usr/lib/matlab/iio/

if [ "$TRAVIS_OS_NAME" = "osx" ] ; then
cd usr/lib
ln -fs ../../Library/Frameworks/iio.framework/iio libiio.dylib
Expand Down
5 changes: 0 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -450,13 +450,8 @@ endif()

option(CSHARP_BINDINGS "Install C# bindings" OFF)
option(PYTHON_BINDINGS "Install Python bindings" OFF)
option(MATLAB_BINDINGS "Build MATLAB bindings" OFF)
add_subdirectory(bindings)

if (WITH_MATLAB_BINDINGS_API)
list(APPEND LIBIIO_EXTRA_HEADERS bindings/matlab/iio-wrapper.h)
endif()

option(WITH_MAN "Generate on-line reference manuals (man pages)" OFF)
add_subdirectory(man)

Expand Down
1 change: 0 additions & 1 deletion README_BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ when configuring libiio with cmake, there are a few optional settings that you c
Cmake Options | Default | Description |
------------------- | ------- | ---------------------------------------------- |
`CSHARP_BINDINGS` | OFF | Install C# bindings |
`MATLAB_BINDINGS` | OFF | Install MATLAB bindings |
`PYTHON_BINDINGS` | OFF | Install PYTHON bindings |
`WITH_DOC` | OFF | Generate documentation with Doxygen and Sphinx |
`WITH_MAN` | OFF | Generate and install man pages |
Expand Down
8 changes: 0 additions & 8 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,14 +167,6 @@ build_script:

- copy "c:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\redist\x86\Microsoft.VC120.CRT\msvcr120.dll" c:\%ARCHIVE_NAME%\MS32
- copy "c:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\redist\x64\Microsoft.VC120.CRT\msvcr120.dll" c:\%ARCHIVE_NAME%\MS64
- xcopy /S bindings\matlab c:\%ARCHIVE_NAME%\MS32\matlab\
- xcopy /S bindings\matlab c:\%ARCHIVE_NAME%\MS64\matlab\
- xcopy /S bindings\matlab c:\%ARCHIVE_NAME%\MinGW32\matlab\
- xcopy /S bindings\matlab c:\%ARCHIVE_NAME%\MinGW64\matlab\
- del c:\%ARCHIVE_NAME%\MS32\matlab\CMakeLists.txt
- del c:\%ARCHIVE_NAME%\MS64\matlab\CMakeLists.txt
- del c:\%ARCHIVE_NAME%\MinGW32\matlab\CMakeLists.txt
- del c:\%ARCHIVE_NAME%\MinGW64\matlab\CMakeLists.txt

- copy c:\projects\libiio\CI\travis\zip.txt c:\%ARCHIVE_NAME%\README.txt
- 7z a "c:\libiio.zip" c:\%ARCHIVE_NAME%
Expand Down
4 changes: 0 additions & 4 deletions bindings/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ if (CSHARP_BINDINGS)
add_subdirectory(csharp)
endif()

if (MATLAB_BINDINGS)
add_subdirectory(matlab)
endif()

if (PYTHON_BINDINGS)
add_subdirectory(python)
endif()
25 changes: 0 additions & 25 deletions bindings/matlab/CMakeLists.txt

This file was deleted.

46 changes: 0 additions & 46 deletions bindings/matlab/iio-wrapper.h

This file was deleted.

17 changes: 0 additions & 17 deletions bindings/matlab/iio_installer_script.m

This file was deleted.

Loading

0 comments on commit fcc725d

Please sign in to comment.