Skip to content
Permalink
Browse files
fix r12732
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12733 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Jan 11, 2010
1 parent 4d95341 commit 4c0f066bf9eea1a7e0634a11cbbf0ac74e5dc8e0
Showing with 41 additions and 40 deletions.
  1. +38 −40 src/core/CMakeLists.txt
  2. +2 −0 src/core/gps/qextserialport/qextserialenumerator.h
  3. +1 −0 src/core/gps/qgsgpsconnection.cpp
@@ -152,18 +152,12 @@ IF(WIN32)
gps/qextserialport/win_qextserialport.cpp
)
ADD_DEFINITIONS(-D_TTY_WIN_)
TARGET_LINK_LIBRARIES(qgis_core setupapi)
ELSE(WIN32)
SET(QGIS_CORE_SRCS
${QGIS_CORE_SRCS}
gps/qextserialport/posix_qextserialport.cpp
)
ADD_DEFINITIONS(-D_TTY_POSIX_)

IF(APPLE)
FIND_LIBRARY(IOKIT_LIBRARY IOKit)
TARGET_LINK_LIBRARIES(qgis_core ${IOKIT_LIBRARY))
ENDIF(APPLE)
ENDIF(WIN32)

IF (WITH_INTERNAL_SPATIALITE)
@@ -218,36 +212,38 @@ SET_SOURCE_FILES_PROPERTIES(
ENDIF (MSVC AND PEDANTIC)

SET(QGIS_CORE_MOC_HDRS
qgsapplication.h
qgscontexthelp.h
qgscoordinatetransform.h
qgsdataprovider.h
qgshttptransaction.h
qgsmaplayer.h
qgsmaplayerregistry.h
qgsmaprenderer.h
qgsmessageoutput.h
qgsproject.h
qgsrunprocess.h
qgsvectorlayer.h
qgsrasterdataprovider.h

qgsapplication.h
qgscontexthelp.h
qgscoordinatetransform.h
qgsdataprovider.h
qgshttptransaction.h
qgsmaplayer.h
qgsmaplayerregistry.h
qgsmaprenderer.h
qgsmessageoutput.h
qgsproject.h
qgsrunprocess.h
qgsvectorlayer.h
qgsrasterdataprovider.h
composer/qgscomposerlegend.h
composer/qgscomposermap.h
composer/qgscomposerpicture.h
composer/qgscomposerscalebar.h
composer/qgscomposeritem.h
composer/qgscomposeritemgroup.h
composer/qgscomposershape.h
composer/qgscomposertable.h
composer/qgscomposition.h
composer/qgslegendmodel.h
gps/qgsgpsconnection.h
gps/qgsnmeaconnection.h
gps/qextserialport/qextserialenumerator.h
gps/qextserialport/qextserialport.h
symbology/qgsmarkercatalogue.h
raster/qgsrasterlayer.h
composer/qgscomposerlegend.h
composer/qgscomposermap.h
composer/qgscomposerpicture.h
composer/qgscomposerscalebar.h
composer/qgscomposeritem.h
composer/qgscomposeritemgroup.h
composer/qgscomposershape.h
composer/qgscomposertable.h
composer/qgscomposition.h

composer/qgslegendmodel.h
symbology/qgsmarkercatalogue.h
raster/qgsrasterlayer.h

gps/qgsgpsconnection.h
gps/qgsnmeaconnection.h
gps/qextserialport/qextserialport.h
gps/qextserialport/qextserialenumerator.h
)

QT4_WRAP_CPP(QGIS_CORE_MOC_SRCS ${QGIS_CORE_MOC_HDRS})
@@ -321,13 +317,15 @@ ADD_DEPENDENCIES(qgis_core svnversion)

# because of htonl
IF (WIN32)
TARGET_LINK_LIBRARIES(qgis_core wsock32)
IF (MSVC)
# needed for linking to gdal which needs odbc
# TARGET_LINK_LIBRARIES(qgis_core odbc32 odbccp32)
ENDIF (MSVC)
FIND_LIBRARY(SETUPAPI_LIBRARY setupapi)
TARGET_LINK_LIBRARIES(qgis_core wsock32 ${SETUPAPI_LIBRARY})
ENDIF (WIN32)

IF(APPLE)
FIND_LIBRARY(IOKIT_LIBRARY IOKit)
TARGET_LINK_LIBRARIES(qgis_core ${IOKIT_LIBRARY})
ENDIF(APPLE)

TARGET_LINK_LIBRARIES(qgis_core
${QT_QTMAIN_LIBRARY}
${QT_QTXML_LIBRARY}
@@ -34,6 +34,8 @@ struct QextPortInfo {
int productID; ///< Product ID
};

#undef QT_GUI_LIB

#ifdef Q_OS_WIN
#ifdef QT_GUI_LIB
#include <QWidget>
@@ -20,6 +20,7 @@
#include <QCoreApplication>
#include <QTime>
#include <QIODevice>
#include <QStringList>

#include "qextserialport.h"
#include "qextserialenumerator.h"

0 comments on commit 4c0f066

Please sign in to comment.