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
34 # header files / to be processed by moc
36 CurveCreator_NewSectionDlg.h
37 CurveCreator_TreeView.h
38 # CurveCreator_UndoOptsDlg.h
42 # header files / no processing
45 CurveCreator_Curve.hxx
47 CurveCreator_ICurve.hxx
48 CurveCreator_Listener.hxx
49 CurveCreator_Macro.hxx
50 CurveCreator_Operation.hxx
51 CurveCreator_Section.hxx
54 # header files / to install
55 SET(CurveCreator_HEADERS ${_moc_HEADERS} ${_other_HEADERS})
59 # sources / moc wrappings
60 QT4_WRAP_CPP(_moc_SOURCES ${_moc_HEADERS})
64 CurveCreator_Curve.cxx
66 CurveCreator_Operation.cxx
69 LIST(APPEND _other_SOURCES
70 CurveCreator_NewSectionDlg.cxx
71 CurveCreator_TreeView.cxx
72 # CurveCreator_UndoOptsDlg.cxx
73 CurveCreator_Widget.cxx
76 # sources / to compile
77 SET(CurveCreator_SOURCES ${_other_SOURCES} ${_moc_SOURCES})
81 ADD_LIBRARY(HYDROCurveCreator ${CurveCreator_SOURCES} ${CurveCreator_HEADERS})
82 TARGET_LINK_LIBRARIES(HYDROCurveCreator ${_link_LIBRARIES})
84 set(PROJECT_HEADERS ${CurveCreator_SOURCES})
85 set(PROJECT_LIBRARIES HYDROCurveCreator)
87 include(../../CMake/CommonInstall.cmake)