2 include(../../CMake/Common.cmake)
3 include(../../CMake/UseQT4EXT.cmake)
7 # additional include directories
10 ${PTHREAD_INCLUDE_DIR}
12 ${KERNEL_INCLUDE_DIRS}
13 ${GEOM_ROOT_DIR}/include/salome
14 ${GUI_ROOT_DIR}/include/salome
17 # additional preprocessor / compiler flags
19 -DCURVECREATOR_EXPORTS
24 # libraries to link to
31 ${CAS_TKV3d} ${CAS_TKBRep} ${CAS_TKService}
36 # header files / to be processed by moc
38 CurveCreator_NewSectionDlg.h
39 CurveCreator_TreeView.h
40 # CurveCreator_UndoOptsDlg.h
44 # header files / no processing
47 CurveCreator_Curve.hxx
49 CurveCreator_ICurve.hxx
50 CurveCreator_Listener.hxx
51 CurveCreator_Macro.hxx
52 CurveCreator_Operation.hxx
53 CurveCreator_Section.hxx
56 # header files / to install
57 SET(CurveCreator_HEADERS ${_moc_HEADERS} ${_other_HEADERS})
61 # sources / moc wrappings
62 QT4_WRAP_CPP(_moc_SOURCES ${_moc_HEADERS})
66 CurveCreator_Curve.cxx
68 CurveCreator_Operation.cxx
71 LIST(APPEND _other_SOURCES
72 CurveCreator_NewSectionDlg.cxx
73 CurveCreator_TreeView.cxx
74 # CurveCreator_UndoOptsDlg.cxx
75 CurveCreator_Widget.cxx
78 # sources / to compile
79 SET(CurveCreator_SOURCES ${_other_SOURCES} ${_moc_SOURCES})
83 ADD_LIBRARY(HYDROCurveCreator SHARED ${CurveCreator_SOURCES} ${CurveCreator_HEADERS})
84 TARGET_LINK_LIBRARIES(HYDROCurveCreator ${_link_LIBRARIES})
86 set(PROJECT_HEADERS ${CurveCreator_SOURCES})
87 set(PROJECT_LIBRARIES HYDROCurveCreator)
89 include(../../CMake/CommonInstall.cmake)