X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FCMakeLists.txt;h=3aa7a985119727ffd96321ffca34bd3cde14c149;hb=e2c075bb656e4e5b0d8e6fcb7e06b5c25f903dee;hp=843f402ec648fe4352336a6281be8a56987df238;hpb=c7c9039d845fb2a5e2eb391139af089b4bed26a5;p=modules%2Fparavis.git diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 843f402e..3aa7a985 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -17,20 +17,27 @@ # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # -SET(SUBDIRS +SET(_subdirs ENGINE PVGUI PV_SWIG Macro ) + +IF(NOT SALOME_PARAVIS_MINIMAL_CORBA) + # Append in first position + LIST(INSERT _subdirs 0 VTKWrapping) + ADD_DEFINITIONS(-DPARAVIS_WITH_FULL_CORBA) +ENDIF() -IF(BUILD_PLUGINS) - SET(SUBDIRS - ${SUBDIRS} - Plugins - ) -ENDIF(BUILD_PLUGINS) +IF(SALOME_PARAVIS_BUILD_PLUGINS) + LIST(APPEND _subdirs Plugins) +ENDIF() -FOREACH(dir ${SUBDIRS}) +FOREACH(dir ${_subdirs}) ADD_SUBDIRECTORY(${dir}) -ENDFOREACH(dir ${SUBDIRS}) +ENDFOREACH() + +SET(WRAP_IDL_I_HH "${WRAP_IDL_I_HH}" PARENT_SCOPE) +SET(WRAP_IDL_I_CC "${WRAP_IDL_I_CC}" PARENT_SCOPE) +