Functions |
| find_package (Qt4 COMPONENTS QtCore QtGui QtOpenGL) if(QT4_FOUND) BuildParserScanner(SeExprSpecParserLex SeExprSpecParser SeExprSpec editor_parser_cpp) set(SeExprEd_MOC_HDRS SeExprEdBrowser.h SeExprEdColorCurve.h SeExprEdControlCollection.h SeExprEdControl.h SeExprEdCurve.h SeExprEdDialog.h SeExprEditor.h SeExprEdFileDialog.h SeExprEdGrapher2d.h SeExprEdPopupDocumentation.h SeExprEdShortEdit.h) set(SeExprEd_CPPS SeExprEdFileDialog.cpp SeExprEdControl.cpp SeExprEditor.cpp SeExpressionEditor.cpp SeExprEdShortEdit.cpp SeExprEdCurve.cpp SeExprEdColorCurve.cpp SeExprEdEditableExpression.cpp SeExprEdPopupDocumentation.cpp SeExprEdCompletionModel.cpp SeExprEdDialog.cpp SeExprEdControlCollection.cpp SeExprEdGrapher2d.cpp SeExprEdBrowser.cpp SeExprEdExpression.cpp) qt4_wrap_cpp(SeExprEd_MOC_SRCS $ |
| add_library (SeExprEditor SHARED ${SeExprEd_CPPS}${SeExprEd_MOC_SRCS}${editor_parser_cpp}) install(TARGETS SeExprEditor DESTINATION $ |
| install (FILES ${CMAKE_CURRENT_SOURCE_DIR}/${SeExprEd_MOC_HDRS}DESTINATION include/SeExprEditor) include_directories($ |