diff options
author | xantares <xantares09@hotmail.com> | 2014-04-19 10:48:14 +0200 |
---|---|---|
committer | xantares <xantares09@hotmail.com> | 2014-04-19 10:48:14 +0200 |
commit | e1785cd3e60f10041ee7ccdfb51c3564f5f199d1 (patch) | |
tree | c6acc1c122e8b65f585d2b388f940a890da1e5bb | |
parent | 6a8f56d42603b67687e6f9f1f29cbd430d74dbfb (diff) | |
download | swig-e1785cd3e60f10041ee7ccdfb51c3564f5f199d1.tar.gz |
Added octave support.
-rw-r--r-- | Examples/test-suite/CMakeLists.txt | 7 |
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() |