From: abn Date: Mon, 16 Mar 2015 14:49:47 +0000 (+0100) Subject: Getting rid of specific Python backend to use SALOME's official one. X-Git-Tag: V7_6_0a1~8^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=42d74f6565cce9614a3db3c9fc5ccd4917c71ca5;p=modules%2Fparavis.git Getting rid of specific Python backend to use SALOME's official one. --- diff --git a/idl/CMakeLists.txt b/idl/CMakeLists.txt index ae091f6c..4e31c6b0 100644 --- a/idl/CMakeLists.txt +++ b/idl/CMakeLists.txt @@ -26,9 +26,6 @@ INCLUDE_DIRECTORIES( ADD_DEFINITIONS(${OMNIORB_DEFINITIONS}) -# we use PARAVIS specific back-end -SET(OMNIORB_IDLPYFLAGS -bpythonIDL -p${CMAKE_CURRENT_SOURCE_DIR}) - SET(SalomeIDLPARAVIS_IDLSOURCES ${CMAKE_CURRENT_SOURCE_DIR}/PVSERVER_Gen.idl ) @@ -40,5 +37,7 @@ SET(_idl_link_flags ${KERNEL_SalomeIDLKernel} ) +# Demand Python generation: +SET(OMNIORB_PYTHON_BACKEND 1) OMNIORB_ADD_MODULE(SalomeIDLPVServer "${SalomeIDLPARAVIS_IDLSOURCES}" "${_idl_include_dirs}" "${_idl_link_flags}") INSTALL(TARGETS SalomeIDLPVServer EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})