Skip to content

Commit

Permalink
Remove all c# and python swig
Browse files Browse the repository at this point in the history
These have not been maintained in years, and their presence only causes
confusion (#405).
  • Loading branch information
gadomski committed Sep 5, 2014
1 parent 4a092de commit fb183be
Show file tree
Hide file tree
Showing 34 changed files with 1 addition and 2,617 deletions.
8 changes: 0 additions & 8 deletions .gitignore
Expand Up @@ -45,14 +45,6 @@ ipch/
*.opensdf
*.sln.docstates

#
# generated swig files
#
csharp/pdal_swig_cs/*.cs
csharp/pdal_swig_cpp/pdal_wrap.h
csharp/pdal_swig_cpp/pdal_wrap.cpp
*.pyc

#
# doxygen cruft
#
Expand Down
29 changes: 0 additions & 29 deletions CMakeLists.txt
Expand Up @@ -415,35 +415,6 @@ endif()
# settings for other 3rd party dependencies
#------------------------------------------------------------------------------

# swig support
if (WIN32)
# keep C# bindings it off by default, even on windows, since not everyone wants it
option(WITH_SWIG_CSHARP "Choose if you want to make C# bindings via Swig" FALSE)
else()
# swig/C# not likely to be supported anytime soon
option(WITH_SWIG_CSHARP "Choose if you want to make C# bindings via Swig" FALSE)
endif()

option(WITH_SWIG_PYTHON "Choose if you want to make Python bindings via Swig" FALSE)

if(WITH_SWIG_CSHARP OR WITH_SWIG_PYTHON)
find_package(SWIG 2.0.1 REQUIRED)
if (SWIG_FOUND)
include("${SWIG_USE_FILE}")
message(STATUS "Found Swig version ${SWIG_VERSION}")
if(WITH_SWIG_CSHARP)
add_subdirectory(csharp)
set(PDAL_HAVE_SWIG_CSHARP 1)
message(STATUS "...enabling swig for csharp")
endif()
if(WITH_SWIG_PYTHON)
add_subdirectory(python)
set(PDAL_HAVE_SWIG_PYTHON 1)
message(STATUS "Enabling swig for python")
endif()
endif()
endif()

# iconv support - optional, default=ON
# GDAL and libxml2 require iconv. The library is supplied by OSGeo4W.
option(WITH_ICONV "Choose if IConv support should be built" TRUE)
Expand Down
3 changes: 1 addition & 2 deletions cmake/examples/hobu-windows.bat
Expand Up @@ -87,7 +87,6 @@ cmake -G %GENERATOR% ^
-DWITH_PGPOINTCLOUD=ON ^
-DWITH_LASZIP=%LASZIP_ENABLED% ^
-DWITH_LIBXML2=%LIBXML2_ENABLED% ^
-DWITH_SWIG_CSHARP=%PDAL_SWIG_ENABLED% ^
-DWITH_ICONV=%ICONV_ENABLED% ^
-DWITH_PYTHON=%PYTHON_ENABLED% ^
-DWITH_NITRO=ON ^
Expand All @@ -105,4 +104,4 @@ cmake -G %GENERATOR% ^
rem -DBOOST_INCLUDEDIR=%BOOST_DIR% ^
rem -DNUMPY_INCLUDE_DIR=%OSGEO4W_DIR%\apps\python27\lib\site-packages\numpy\core\include ^
rem -DPYTHONPATH=%OSGEO4W_DIR%\apps\python27\lib\site-packages ^
rem -DPYTHON_LIBRARY=%PYTHON_LIBRARY% ^
rem -DPYTHON_LIBRARY=%PYTHON_LIBRARY% ^
6 changes: 0 additions & 6 deletions cmake/examples/mpg-config.bat
Expand Up @@ -71,11 +71,6 @@ set PYTHON_ENABLED=ON
set PYTHON_INCLUDE_DIR=c:\Utils\Python27\include
set PYTHON_LIBRARY=c:\Utils\Python27\libs\python27.lib

:: Set this if you are building SWIG bindings for C#. Visual Studio
:: needs to use this env var to find where boost lives.
set PDAL_SWIG_ENABLED=ON
set PDAL_SWIG_BOOST_HOME=%BOOST_DIR%

:: OpenGL support, for pcview
set FREEGLUT_ENABLED=OFF
:: special config for mpg
Expand All @@ -94,7 +89,6 @@ cmake -G %GENERATOR% ^
-DWITH_ORACLE=%ORACLE_ENABLED% ^
-DWITH_LASZIP=%LASZIP_ENABLED% ^
-DWITH_LIBXML2=%LIBXML2_ENABLED% ^
-DWITH_SWIG_CSHARP=%PDAL_SWIG_ENABLED% ^
-DWITH_ICONV=%ICONV_ENABLED% ^
-DWITH_PYTHON=%PYTHON_ENABLED% ^
-DWITH_FREEGLUT=%FREEGLUT_ENABLED% ^
Expand Down
3 changes: 0 additions & 3 deletions csharp/CMakeLists.txt

This file was deleted.

8 changes: 0 additions & 8 deletions csharp/PCView/App.xaml

This file was deleted.

44 changes: 0 additions & 44 deletions csharp/PCView/App.xaml.cs

This file was deleted.

14 changes: 0 additions & 14 deletions csharp/PCView/MainWindow.xaml

This file was deleted.

0 comments on commit fb183be

Please sign in to comment.