1 include(../../CMake/Common.cmake)
4 # additional include directories
10 ${CMAKE_CURRENT_SOURCE_DIR}
11 ${PROJECT_SOURCE_DIR}/src/HYDROData
14 # additional preprocessor / compiler flags
19 ${OMNIORB_DEFINITIONS}
22 # libraries to link to
30 sipHYDROPyNCollection_Sequence0600opencascadehandle0100HYDROData_Entity.cc
33 sipHYDROPyHYDROData_AltitudeObject.cc
34 sipHYDROPyHYDROData_Application.cc
35 sipHYDROPyHYDROData_ArtificialObject.cc
36 sipHYDROPyHYDROData_BathymetryAltitudePoint.cc
37 sipHYDROPyHYDROData_Bathymetry.cc
38 sipHYDROPyHYDROData_CalculationCase.cc
39 sipHYDROPyHYDROData_Channel.cc
40 sipHYDROPyHYDROData_Confluence.cc
41 sipHYDROPyHYDROData_Digue.cc
42 sipHYDROPyHYDROData_Document.cc
43 sipHYDROPyHYDROData_Entity.cc
44 sipHYDROPyHYDROData_IAltitudeObject.cc
45 sipHYDROPyHYDROData_IInterpolator.cc
46 sipHYDROPyHYDROData_Image.cc
47 sipHYDROPyHYDROData_ImmersibleZone.cc
48 sipHYDROPyHYDROData_IPolyline.cc
49 sipHYDROPyHYDROData_IProfilesInterpolator.cc
50 sipHYDROPyHYDROData_LandCoverMap.cc
51 sipHYDROPyHYDROData_NaturalObject.cc
52 sipHYDROPyHYDROData_Object.cc
53 sipHYDROPyHYDROData_ObstacleAltitude.cc
54 sipHYDROPyHYDROData_Obstacle.cc
55 sipHYDROPyHYDROData_Polyline3D.cc
56 sipHYDROPyHYDROData_PolylineXY.cc
57 sipHYDROPyHYDROData_Profile.cc
58 sipHYDROPyHYDROData_ProfileUZ.cc
59 sipHYDROPyHYDROData_Region.cc
60 sipHYDROPyHYDROData_River.cc
61 sipHYDROPyHYDROData_ShapesGroup.cc
62 sipHYDROPyHYDROData_SplitShapesGroup.cc
63 sipHYDROPyHYDROData_StreamAltitude.cc
64 sipHYDROPyHYDROData_Stream.cc
65 sipHYDROPyHYDROData_StricklerTable.cc
66 sipHYDROPyHYDROData_Zone.cc
67 sipHYDROPyHYDROData_BCPolygon.cc
68 sipHYDROPyNCollection_Sequence0100gp_XY.cc
69 sipHYDROPyNCollection_Sequence0100gp_XYZ.cc
70 sipHYDROPyNCollection_Sequence0100HYDROData_IPolylineSectionType.cc
71 sipHYDROPyNCollection_Sequence0100TCollection_AsciiString.cc
72 sipHYDROPyNCollection_Sequence1800.cc
73 sipHYDROPyNCollection_Sequence2400.cc
74 sipHYDROPyNCollection_Sequence2600.cc
75 sipHYDROPystdvector0100HYDROData_BathymetryAltitudePoint.cc
76 sipHYDROPystdvector1800.cc
77 sipHYDROPystdvector2400.cc
78 sipHYDROPystdvector2600.cc
79 sipHYDROPyTCollection_AsciiString.cc
82 set_source_files_properties( ${_add_SOURCES} PROPERTIES GENERATED TRUE )
84 # sources / sip wrappings
85 PYQT_WRAP_SIP( _sip_SOURCES HYDROData.sip )
87 # sources / to compile
88 ADD_LIBRARY( HYDROPy ${_sip_SOURCES} ${_add_SOURCES} )
90 TARGET_LINK_LIBRARIES(HYDROPy ${_link_LIBRARIES} ${CAS_OCAF} ${CAS_TKKernel} ${CAS_TKBRep} ${QT_LIBRARIES} ${OMNIORB_LIBRARIES} ${GEOM_GEOM} ${GEOM_GEOMBase})
91 INSTALL(TARGETS HYDROPy EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
94 SET_TARGET_PROPERTIES(HYDROPy PROPERTIES SUFFIX ".pyd" DEBUG_OUTPUT_NAME HYDROPy_d RELEASE_OUTPUT_NAME HYDROPy)
96 SET_TARGET_PROPERTIES(HYDROPy PROPERTIES PREFIX "")