summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxantares <xantares09@hotmail.com>2014-04-19 10:48:14 +0200
committerxantares <xantares09@hotmail.com>2014-04-19 10:48:14 +0200
commite1785cd3e60f10041ee7ccdfb51c3564f5f199d1 (patch)
treec6acc1c122e8b65f585d2b388f940a890da1e5bb
parent6a8f56d42603b67687e6f9f1f29cbd430d74dbfb (diff)
downloadswig-e1785cd3e60f10041ee7ccdfb51c3564f5f199d1.tar.gz
Added octave support.
-rw-r--r--Examples/test-suite/CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/Examples/test-suite/CMakeLists.txt b/Examples/test-suite/CMakeLists.txt
index 1490fcee6..de6217c6f 100644
--- a/Examples/test-suite/CMakeLists.txt
+++ b/Examples/test-suite/CMakeLists.txt
@@ -446,7 +446,10 @@ macro(add_tests language)
set_target_properties(${SWIG_MODULE_${name}_REAL_NAME} PROPERTIES SUFFIX ".pyd")
endif()
elseif(${language} STREQUAL lua)
- set_target_properties(${SWIG_MODULE_${name}_REAL_NAME} PROPERTIES PREFIX "")
+ set_target_properties(${SWIG_MODULE_${name}_REAL_NAME} PROPERTIES PREFIX "")
+ elseif (${language} STREQUAL octave)
+ set_target_properties(${SWIG_MODULE_${name}_REAL_NAME} PROPERTIES PREFIX "")
+ set_target_properties(${SWIG_MODULE_${name}_REAL_NAME} PROPERTIES SUFFIX ".oct")
elseif(${language} STREQUAL ruby)
set_target_properties(${SWIG_MODULE_${name}_REAL_NAME} PROPERTIES PREFIX "")
endif ()
@@ -488,7 +491,7 @@ if ( USE_LUA )
add_subdirectory ( lua )
endif()
-option ( USE_OCTAVE "octave" OFF )
+option ( USE_OCTAVE "octave" ON )
if ( USE_OCTAVE )
add_subdirectory ( octave )
endif()