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