]> SALOME platform Git repositories - modules/paravis.git/commitdiff
Salome HOME
Fix problem of last improvements:
authorvsr <vsr@opencascade.com>
Thu, 24 Oct 2013 07:46:37 +0000 (07:46 +0000)
committervsr <vsr@opencascade.com>
Thu, 24 Oct 2013 07:46:37 +0000 (07:46 +0000)
- add missing -DPARAVIS_WITH_FULL_CORBA to Python flags for omniidl
- use PARAVIS specific backend instead of standard one

idl/CMakeLists.txt

index 3789eb188cbf40e04e7b25f397ec45a5925b458f..6ea44df26d8b083ad8a3d28859fad9dcb0bded72 100644 (file)
@@ -24,11 +24,15 @@ INCLUDE_DIRECTORIES(
   ${PROJECT_BINARY_DIR}/idl
 )
 
+# we use PARAVIS specific back-end
+SET(OMNIORB_IDLPYFLAGS -bpythonIDL -p${CMAKE_CURRENT_SOURCE_DIR})
+
 IF(NOT SALOME_PARAVIS_MINIMAL_CORBA)
   INCLUDE(wrap.cmake) 
   # Hack to have a -D on the omniidl command line:
   # (again, this shouldn't last for long ...) 
   SET(OMNIORB_IDLCXXFLAGS "${OMNIORB_IDLCXXFLAGS};-DPARAVIS_WITH_FULL_CORBA")
+  SET(OMNIORB_IDLPYFLAGS "${OMNIORB_IDLPYFLAGS};-DPARAVIS_WITH_FULL_CORBA")
   ADD_DEFINITIONS(-DPARAVIS_WITH_FULL_CORBA)
 ENDIF()