Skip to content
Permalink
Browse files

New GRASS shell - first commit - dev Lorenzo Masini

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10664 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
pcav
pcav committed Apr 27, 2009
1 parent d13cda6 commit 91372e4d328e8dc87950b12a1de701fae860f343
@@ -16,9 +16,9 @@ IF (NOT MSVC)
ENDIF (NOT MSVC)

IF (WIN32)
ADD_DEFINITIONS("\"-DGRASS_EXPORT=__declspec(dllimport)\"")
ADD_DEFINITIONS("\"-DHAVE_GETPT -DGRASS_EXPORT=__declspec(dllimport)\"")
ELSE (WIN32)
ADD_DEFINITIONS("-DGRASS_EXPORT=")
ADD_DEFINITIONS("-DHAVE_POSIX_OPENPT -DGRASS_EXPORT=")
ENDIF (WIN32)

########################################################
@@ -39,6 +39,24 @@ SET (GRASS_PLUGIN_SRCS
qgsgrassattributes.cpp
qgsgrassregion.cpp
qgsgrassutils.cpp
qtermwidget/BlockArray.cpp
qtermwidget/Emulation.cpp
qtermwidget/Filter.cpp
qtermwidget/History.cpp
qtermwidget/KeyboardTranslator.cpp
qtermwidget/Pty.cpp
qtermwidget/Screen.cpp
qtermwidget/ScreenWindow.cpp
qtermwidget/Session.cpp
qtermwidget/ShellCommand.cpp
qtermwidget/TerminalCharacterDecoder.cpp
qtermwidget/TerminalDisplay.cpp
qtermwidget/Vt102Emulation.cpp
qtermwidget/k3process.cpp
qtermwidget/k3processcontroller.cpp
qtermwidget/konsole_wcwidth.cpp
qtermwidget/kpty.cpp
qtermwidget/qtermwidget.cpp
)

SET (GRASS_PLUGIN_UIS
@@ -48,7 +66,6 @@ SET (GRASS_PLUGIN_UIS
qgsgrassmapcalcbase.ui
qgsgrassmodulebase.ui
qgsgrassnewmapsetbase.ui
qgsgrassshellbase.ui
qgsgrassattributesbase.ui
qgsgrassregionbase.ui
../../ui/qgsprojectionselectorbase.ui
@@ -69,6 +86,16 @@ SET (GRASS_PLUGIN_MOC_HDRS
qgsgrassregion.h
qgsgrassutils.h
qgsgrassedittools.h
qtermwidget/Emulation.h
qtermwidget/Filter.h
qtermwidget/Pty.h
qtermwidget/ScreenWindow.h
qtermwidget/Session.h
qtermwidget/TerminalDisplay.h
qtermwidget/Vt102Emulation.h
qtermwidget/k3process.h
qtermwidget/k3processcontroller.h
qtermwidget/qtermwidget.h
)

SET (GRASS_PLUGIN_RCCS qgsgrass_plugin.qrc)
@@ -106,9 +133,9 @@ INCLUDE_DIRECTORIES(
${GRASS_INCLUDE_DIR}
${GDAL_INCLUDE_DIR}
${PROJ_INCLUDE_DIR}
qtermwidget
)

SET( QT_USE_QT3SUPPORT TRUE )
INCLUDE( ${QT_USE_FILE} )

TARGET_LINK_LIBRARIES(grassplugin

0 comments on commit 91372e4

Please sign in to comment.
You can’t perform that action at this time.