INCLUDE_DIRECTORIES(
${QT_INCLUDES}
${PYTHON_INCLUDE_DIRS}
+ ${PROJECT_SOURCE_DIR}/src/PyConsole
+ ${PROJECT_SOURCE_DIR}/src/PyConsoleBase
${PROJECT_SOURCE_DIR}/src/Qtx
${PROJECT_SOURCE_DIR}/src/SUIT
${PROJECT_SOURCE_DIR}/src/Event
ADD_DEFINITIONS(${QT_DEFINITIONS} ${PYTHON_DEFINITIONS})
# libraries to link to
-SET(_link_LIBRARIES ${QT_LIBRARIES} ${PYTHON_LIBRARIES} qtx suit PyInterp Event)
+SET(_link_LIBRARIES ${QT_LIBRARIES} ${PYTHON_LIBRARIES} qtx suit PyConsoleBase)
# --- headers ---
# header files / no moc processing
SET(_other_HEADERS
PyConsole.h
- PyConsole_EnhInterp.h
- PyConsole_Event.h
- PyConsole_Interp.h
- PyConsole_Request.h
)
# header files / to install
# --- resources ---
+# --- sources ---
# resource files / to be processed by lrelease
+
SET(_ts_RESOURCES
resources/PyConsole_msg_en.ts
resources/PyConsole_msg_fr.ts
resources/PyConsole_msg_ja.ts
)
-# --- sources ---
-
# sources / moc wrappings
QT4_WRAP_CPP(_moc_SOURCES ${_moc_HEADERS})
# sources / static
SET(_other_SOURCES
PyConsole_Console.cxx
- PyConsole_Editor.cxx
PyConsole_EnhEditor.cxx
- PyConsole_EnhInterp.cxx
- PyConsole_Event.cxx
- PyConsole_Interp.cxx
- PyConsole_Request.cxx
+ PyConsole_Editor.cxx
)
# sources / to compile
INSTALL(FILES ${PyConsole_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})
QT4_INSTALL_TS_RESOURCES("${_ts_RESOURCES}" "${SALOME_GUI_INSTALL_RES_DATA}")
-