HYDROData
)
-# --- resources ---
-
-# sip files / to be processed by sip
-SET(_sip_input_file
- HYDROData.sip
-)
-
SET(_add_SOURCES
sipHYDROPycmodule.cc
sipHYDROPyNCollection_Sequence0600opencascadehandle0100HYDROData_Entity.cc
sipHYDROPyTCollection_AsciiString.cc
)
+set_source_files_properties( ${_add_SOURCES} PROPERTIES GENERATED TRUE )
+
# sources / sip wrappings
-PYQT_WRAP_SIP(_sip_SOURCES ${_sip_files} SOURCES ${_add_SOURCES})
+PYQT_WRAP_SIP( _sip_SOURCES HYDROData.sip )
# sources / to compile
-SET(HYDROPy_SOURCES ${_sip_SOURCES})
-
-ADD_LIBRARY(HYDROPy ${HYDROPy_SOURCES})
+ADD_LIBRARY( HYDROPy ${_sip_SOURCES} ${_add_SOURCES} )
TARGET_LINK_LIBRARIES(HYDROPy ${_link_LIBRARIES})
INSTALL(TARGETS HYDROPy EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})