3 file(GLOB frontends_qt3_sources ${TOP_SRC_DIR}/src/frontends/qt3/*.C)
4 file(GLOB frontends_qt3_headers ${TOP_SRC_DIR}/src/frontends/qt3/*.h)
5 file(GLOB frontend_qt3_UI ${TOP_SRC_DIR}/src/frontends/qt3/ui/*.ui)
7 lyx_add_ui_files(dummy_gen_in_ui ${frontend_qt3_UI})
9 QT_WRAP_UI(frontend_qt3 qt3_uic_h qt3_uic_cxx ${frontend_qt3_UI})
11 qt_wrap_cpp(frontend_qt3 qt3_moc ${frontends_qt3_headers})
13 source_group("Uic files" FILES ${frontend_qt3_UI})
15 add_definitions(-DQT_NO_STL)
17 include_directories( ${QT_INCLUDE_DIR}
18 ${TOP_SRC_DIR}/src/frontends/qt3
19 ${TOP_SRC_DIR}/src/frontends/controllers
20 ${CMAKE_CURRENT_BINARY_DIR})
22 add_library(frontend_qt3 STATIC
23 ${frontends_qt3_sources}
24 ${frontends_qt3_headers}
30 target_link_libraries(frontend_qt3 ${QT_QT_LIBRARY} controllers)
35 target_link_libraries(frontend_qt3 Gdi32)
38 source_group("${CODE_GROUP_NAME}" FILES ${frontends_qt3_sources} ${frontends_qt3_headers})
39 source_group("Uic files" FILES ${frontend_qt3_UI})