Skip to content
Permalink
Browse files

adding support fo share folder

  • Loading branch information
mbernasocchi committed Aug 19, 2011
1 parent 904c893 commit 94ff04b70ed9deef63345187265aeb6a0d36c8b6
Showing with 198 additions and 189 deletions.
  1. +4 −0 CMakeLists.txt
  2. +1 −1 src/app/CMakeLists.txt
  3. +191 −186 src/app/main.cpp
  4. +2 −2 src/app/qtmain_android.cpp
@@ -329,6 +329,10 @@ ELSE (WIN32)

ENDIF (WIN32)

IF (ANDROID)
SET (DEFAULT_PLUGIN_SUBDIR lib)
SET (DEFAULT_DATA_SUBDIR files/share)
ENDIF (ANDROID)

#assume we have escaped compiler directives
#eventually we want to change this to new
@@ -393,7 +393,7 @@ ENDIF (POSTGRES_FOUND)

#############
IF (ANDROID)
ADD_LIBRARY(${QGIS_APP_NAME} SHARED ${QGIS_APP_SRCS} ${QGIS_APP_MOC_SRCS} ${INDEX_SRC} ${QGIS_APP_HDRS} ${QGIS_APP_MOC_HDRS})
ADD_LIBRARY(${QGIS_APP_NAME} SHARED ${QGIS_APP_SRCS} ${QGIS_APP_MOC_SRCS} ${INDEX_SRC} ${QGIS_APP_HDRS} ${QGIS_APP_MOC_HDRS} ${IMAGE_RCC_SRCS})
ELSE (ANDROID)
ADD_EXECUTABLE(${QGIS_APP_NAME} MACOSX_BUNDLE WIN32 ${QGIS_APP_SRCS} ${QGIS_APP_MOC_SRCS})
ENDIF (ANDROID)

0 comments on commit 94ff04b

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