]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
Getting rid of specific Python backend to use SALOME's official one. abn/cleanup
authorabn <adrien.bruneton@cea.fr>
Mon, 16 Mar 2015 14:49:47 +0000 (15:49 +0100)
committerabn <adrien.bruneton@cea.fr>
Mon, 16 Mar 2015 14:49:47 +0000 (15:49 +0100)
idl/CMakeLists.txt

index ae091f6ce4963013163ac4d7c9a42dc1de7c71df..4e31c6b0110bf99f570b948c5364d23616db231f 100644 (file)
@@ -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})