Skip to content
Permalink
Browse files

Declare all plugins and providers as MODULE rather then SHARED librar…

…ies for Mac compatibility.

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6418 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
telwertowski
telwertowski committed Jan 9, 2007
1 parent e8d3464 commit 7b63c5656222dd61486498a96b3a7638c41e3075
@@ -22,7 +22,7 @@ QT4_WRAP_CPP (COPYRIGHT_MOC_SRCS ${COPYRIGHT_MOC_HDRS})

QT4_ADD_RESOURCES(COPYRIGHT_RCC_SRCS ${COPYRIGHT_RCCS})

ADD_LIBRARY (copyrightlabelplugin SHARED ${COPYRIGHT_SRCS} ${COPYRIGHT_MOC_SRCS} ${COPYRIGHT_RCC_SRCS} ${COPYRIGHT_UIS_H})
ADD_LIBRARY (copyrightlabelplugin MODULE ${COPYRIGHT_SRCS} ${COPYRIGHT_MOC_SRCS} ${COPYRIGHT_RCC_SRCS} ${COPYRIGHT_UIS_H})

INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_BINARY_DIR}
@@ -25,7 +25,7 @@ QT4_WRAP_CPP (DLTEXT_MOC_SRCS ${DLTEXT_MOC_HDRS})

QT4_ADD_RESOURCES(DLTEXT_RCC_SRCS ${DLTEXT_RCCS})

ADD_LIBRARY (delimitedtextplugin SHARED ${DLTEXT_SRCS} ${DLTEXT_MOC_SRCS} ${DLTEXT_RCC_SRCS} ${DLTEXT_UIS_H})
ADD_LIBRARY (delimitedtextplugin MODULE ${DLTEXT_SRCS} ${DLTEXT_MOC_SRCS} ${DLTEXT_RCC_SRCS} ${DLTEXT_UIS_H})

INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_BINARY_DIR}
@@ -21,7 +21,7 @@ QT4_WRAP_UI (GEOPROC_UIS_H ${GEOPROC_UIS})

QT4_WRAP_CPP (GEOPROC_MOC_SRCS ${GEOPROC_MOC_HDRS})

ADD_LIBRARY (pggeoprocessingplugin SHARED ${GEOPROC_SRCS} ${GEOPROC_MOC_SRCS} ${GEOPROC_UIS_H})
ADD_LIBRARY (pggeoprocessingplugin MODULE ${GEOPROC_SRCS} ${GEOPROC_MOC_SRCS} ${GEOPROC_UIS_H})

INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_BINARY_DIR}
@@ -40,7 +40,7 @@ QT4_WRAP_CPP (GEOREF_MOC_SRCS ${GEOREF_MOC_HDRS})

QT4_ADD_RESOURCES(GEOREF_RCC_SRCS ${GEOREF_RCCS})

ADD_LIBRARY (georefplugin SHARED ${GEOREF_SRCS} ${GEOREF_MOC_SRCS} ${GEOREF_RCC_SRCS} ${GEOREF_UIS_H})
ADD_LIBRARY (georefplugin MODULE ${GEOREF_SRCS} ${GEOREF_MOC_SRCS} ${GEOREF_RCC_SRCS} ${GEOREF_UIS_H})

INCLUDE_DIRECTORIES(
.
@@ -35,7 +35,7 @@ QT4_WRAP_CPP (GPS_MOC_SRCS ${GPS_MOC_HDRS})

QT4_ADD_RESOURCES(GPS_RCC_SRCS ${GPS_RCCS})

ADD_LIBRARY (gpsimporterplugin SHARED ${GPS_SRCS} ${GPS_MOC_SRCS} ${GPS_RCC_SRCS} ${GPS_UIS_H})
ADD_LIBRARY (gpsimporterplugin MODULE ${GPS_SRCS} ${GPS_MOC_SRCS} ${GPS_RCC_SRCS} ${GPS_UIS_H})

INCLUDE_DIRECTORIES(
.
@@ -64,7 +64,7 @@ QT4_WRAP_CPP (GRASS_PLUGIN_MOC_SRCS ${GRASS_PLUGIN_MOC_HDRS})

#QT4_ADD_RESOURCES(GRASS_PLUGIN_RCC_SRCS ${GRASS_PLUGIN_RCCS})

ADD_LIBRARY (grassplugin SHARED ${GRASS_PLUGIN_SRCS} ${GRASS_PLUGIN_MOC_SRCS} ${GRASS_PLUGIN_UIS_H})
ADD_LIBRARY (grassplugin MODULE ${GRASS_PLUGIN_SRCS} ${GRASS_PLUGIN_MOC_SRCS} ${GRASS_PLUGIN_UIS_H})

INCLUDE_DIRECTORIES(
.
@@ -39,7 +39,7 @@ QT4_WRAP_CPP (GRID_MOC_SRCS ${GRID_MOC_HDRS})

QT4_ADD_RESOURCES(GRID_RCC_SRCS ${GRID_RCCS})

ADD_LIBRARY (gridmakerplugin SHARED ${GRID_SRCS} ${GRID_MOC_SRCS} ${GRID_COMMON_MOC_SRCS} ${GRID_RCC_SRCS} ${GRID_UIS_H})
ADD_LIBRARY (gridmakerplugin MODULE ${GRID_SRCS} ${GRID_MOC_SRCS} ${GRID_COMMON_MOC_SRCS} ${GRID_RCC_SRCS} ${GRID_UIS_H})

INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_BINARY_DIR}
@@ -36,7 +36,7 @@ QT4_WRAP_CPP (NAVIGATION_MOC_SRCS ${NAVIGATION_MOC_HDRS})

QT4_ADD_RESOURCES(NAVIGATION_RCC_SRCS ${NAVIGATION_RCCS})

ADD_LIBRARY (navigationplugin SHARED ${NAVIGATION_SRCS} ${NAVIGATION_UIS_H} ${NAVIGATION_MOC_SRCS} ${NAVIGATION_RCC_SRCS})
ADD_LIBRARY (navigationplugin MODULE ${NAVIGATION_SRCS} ${NAVIGATION_UIS_H} ${NAVIGATION_MOC_SRCS} ${NAVIGATION_RCC_SRCS})

INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_BINARY_DIR}
@@ -25,7 +25,7 @@ QT4_WRAP_CPP (NORTH_MOC_SRCS ${NORTH_MOC_HDRS})

QT4_ADD_RESOURCES(NORTH_RCC_SRCS ${NORTH_RCCS})

ADD_LIBRARY (northarrowplugin SHARED ${NORTH_SRCS} ${NORTH_MOC_SRCS} ${NORTH_RCC_SRCS} ${NORTH_UIS_H})
ADD_LIBRARY (northarrowplugin MODULE ${NORTH_SRCS} ${NORTH_MOC_SRCS} ${NORTH_RCC_SRCS} ${NORTH_UIS_H})

INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_BINARY_DIR}
@@ -25,7 +25,7 @@ QT4_WRAP_CPP (SCALE_MOC_SRCS ${SCALE_MOC_HDRS})

QT4_ADD_RESOURCES(SCALE_RCC_SRCS ${SCALE_RCCS})

ADD_LIBRARY (scalebarplugin SHARED ${SCALE_SRCS} ${SCALE_MOC_SRCS} ${SCALE_RCC_SRCS} ${SCALE_UIS_H})
ADD_LIBRARY (scalebarplugin MODULE ${SCALE_SRCS} ${SCALE_MOC_SRCS} ${SCALE_RCC_SRCS} ${SCALE_UIS_H})

INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_BINARY_DIR}
@@ -51,7 +51,7 @@ QT4_WRAP_CPP (SPIT_EXE_MOC_SRCS ${SPIT_EXE_MOC_HDRS})

QT4_ADD_RESOURCES(DLTEXT_RCC_SRCS ${SPIT_RCCS})

ADD_LIBRARY (spitplugin SHARED ${SPIT_PLUGIN_SRCS} ${SPIT_PLUGIN_MOC_SRCS} ${SPIT_RCC_SRCS} ${SPIT_UIS_H})
ADD_LIBRARY (spitplugin MODULE ${SPIT_PLUGIN_SRCS} ${SPIT_PLUGIN_MOC_SRCS} ${SPIT_RCC_SRCS} ${SPIT_UIS_H})

INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_BINARY_DIR}
@@ -27,7 +27,7 @@ QT4_WRAP_CPP (WFS_MOC_SRCS ${WFS_MOC_HDRS})

#QT4_ADD_RESOURCES(WFS_RCC_SRCS ${WFS_RCCS})

ADD_LIBRARY (wfsplugin SHARED ${WFS_SRCS} ${WFS_MOC_SRCS} ${WFS_UIS_H})
ADD_LIBRARY (wfsplugin MODULE ${WFS_SRCS} ${WFS_MOC_SRCS} ${WFS_UIS_H})

INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_BINARY_DIR}
@@ -45,7 +45,6 @@ TARGET_LINK_LIBRARIES(wfsplugin
${QT_LIBRARIES}
qgis_core
qgis_gui
wfsprovider
)


@@ -15,7 +15,7 @@ INCLUDE_DIRECTORIES(
${GEOS_INCLUDE_DIR}
)

ADD_LIBRARY(delimitedtextprovider SHARED ${DTEXT_SRCS})
ADD_LIBRARY(delimitedtextprovider MODULE ${DTEXT_SRCS})

TARGET_LINK_LIBRARIES(delimitedtextprovider
${QT_LIBRARIES}
@@ -14,7 +14,7 @@ INCLUDE_DIRECTORIES(
${EXPAT_INCLUDE_DIR}
)

ADD_LIBRARY(gpxprovider SHARED ${OGR_SRCS})
ADD_LIBRARY(gpxprovider MODULE ${OGR_SRCS})

TARGET_LINK_LIBRARIES(gpxprovider
${QT_LIBRARIES}
@@ -27,7 +27,7 @@ TARGET_LINK_LIBRARIES (qgisgrass
qgis_core
)

ADD_LIBRARY (grassprovider SHARED ${GRASS_PROVIDER_SRCS})
ADD_LIBRARY (grassprovider MODULE ${GRASS_PROVIDER_SRCS})

TARGET_LINK_LIBRARIES (grassprovider
${QT_LIBRARIES}
@@ -8,7 +8,7 @@ INCLUDE_DIRECTORIES(
${GEOS_INCLUDE_DIR}
)

ADD_LIBRARY(ogrprovider SHARED ${OGR_SRCS})
ADD_LIBRARY(ogrprovider MODULE ${OGR_SRCS})

TARGET_LINK_LIBRARIES(ogrprovider
${QT_LIBRARIES}
@@ -23,7 +23,7 @@ INCLUDE_DIRECTORIES (
${POSTGRES_INCLUDE_DIR}
)

ADD_LIBRARY (postgresprovider SHARED ${PG_SRCS} ${PG_MOC_SRCS})
ADD_LIBRARY (postgresprovider MODULE ${PG_SRCS} ${PG_MOC_SRCS})

TARGET_LINK_LIBRARIES (postgresprovider
${QT_LIBRARIES}
@@ -16,7 +16,7 @@ INCLUDE_DIRECTORIES (
${GEOS_INCLUDE_DIR}/geos
)

ADD_LIBRARY (wfsprovider SHARED ${WFS_SRCS})
ADD_LIBRARY (wfsprovider MODULE ${WFS_SRCS})

TARGET_LINK_LIBRARIES (wfsprovider
${QT_LIBRARIES}
@@ -6,7 +6,7 @@ QT4_WRAP_CPP (WMS_MOC_SRCS ${WMS_MOC_HDRS})

INCLUDE_DIRECTORIES( . ../../core)

ADD_LIBRARY(wmsprovider SHARED ${WMS_SRCS} ${WMS_MOC_SRCS})
ADD_LIBRARY(wmsprovider MODULE ${WMS_SRCS} ${WMS_MOC_SRCS})

TARGET_LINK_LIBRARIES(wmsprovider
${QT_LIBRARIES}

0 comments on commit 7b63c56

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