Warning, /office/kexi/src/formeditor/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 add_definitions(-DKDE_DEFAULT_DEBUG_AREA=44010)
0002 
0003 include_directories(
0004     ${CMAKE_SOURCE_DIR}/src/widget
0005     ${CMAKE_SOURCE_DIR}/src/widget/utils
0006     ${CMAKE_SOURCE_DIR}/src/widget/tableview
0007     ${CMAKE_SOURCE_DIR}/src/widget/properties
0008     ${CMAKE_SOURCE_DIR}/src/core
0009     ${CMAKE_SOURCE_DIR}/src/kexiutils/style
0010 )
0011 
0012 # enable to add signal/slot connections
0013 # set(KFD_SIGSLOTS true)
0014 
0015 ########### next target ###############
0016 
0017 set(kformdesigner_LIB_SRCS
0018    container.cpp
0019    resizehandle.cpp
0020    widgetfactory.cpp
0021    widgetlibrary.cpp
0022    KexiFormWidgetsPluginMetaData.cpp
0023    WidgetInfo.cpp
0024    libactionwidget.cpp
0025    form.cpp
0026    form_p.cpp
0027    objecttree.cpp
0028    formIO.cpp
0029    FormWidget.cpp
0030    FormWidgetInterface.cpp
0031    WidgetTreeWidget.cpp
0032    commands.cpp
0033    events.cpp
0034    richtextdialog.cpp
0035    tabstopdialog.cpp
0036 #KEXI_LIST_FORM_WIDGET_SUPPORT:   editlistviewdialog.cpp
0037    utils.cpp
0038 #todo   kfdpixmapedit.cpp
0039    widgetwithsubpropertiesinterface.cpp
0040    kexiformeventhandler.cpp # from libkexiformutils
0041    kexiactionselectiondialog.cpp # from libkexiformutils
0042 )
0043 
0044 set(kformdesigner_LIBS
0045   kexiutils
0046   kexicore
0047   kexiextendedwidgets
0048   kexiundo
0049 )
0050 
0051 if(KFD_SIGSLOTS)
0052   add_definitions(
0053     -DKFD_SIGSLOTS=1
0054   )
0055   list(APPEND kformdesigner_LIB_SRCS connectiondialog.cpp)
0056   list(APPEND kformdesigner_LIBS kexiextendedwidgets kexidatatable)
0057 endif()
0058 
0059 kexi_add_library(kformdesigner SHARED ${kformdesigner_LIB_SRCS})
0060 
0061 generate_export_header(kformdesigner)
0062 
0063 target_link_libraries(kformdesigner ${kformdesigner_LIBS})
0064 
0065 install(TARGETS kformdesigner  ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})