Skip to content
Permalink
Browse files

build grass dlls from sources for msvc

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7363 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Nov 10, 2007
1 parent 8a46850 commit 4da60dba87e83b3ef21062aaf0cab8109cc22474
Showing with 5,941 additions and 4 deletions.
  1. +11 −4 cmake/FindGRASS.cmake
  2. +2 −0 src/providers/grass/CMakeLists.txt
  3. +479 −0 src/providers/grass/vc/CMakeLists.txt
  4. +26 −0 src/providers/grass/vc/XDR-copyright.txt
  5. +249 −0 src/providers/grass/vc/dirent.h
  6. +279 −0 src/providers/grass/vc/grass_dbmibase.def
  7. +59 −0 src/providers/grass/vc/grass_dbmiclient.def
  8. +247 −0 src/providers/grass/vc/grass_dgl.def
  9. +177 −0 src/providers/grass/vc/grass_dig2.def
  10. +733 −0 src/providers/grass/vc/grass_gis.def
  11. +29 −0 src/providers/grass/vc/grass_gproj.def
  12. +11 −0 src/providers/grass/vc/grass_linkm.def
  13. +38 −0 src/providers/grass/vc/grass_rtree.def
  14. +311 −0 src/providers/grass/vc/grass_vect.def
  15. +119 −0 src/providers/grass/vc/rpc.h
  16. +212 −0 src/providers/grass/vc/rpc/auth.h
  17. +89 −0 src/providers/grass/vc/rpc/auth_uni.h
  18. +101 −0 src/providers/grass/vc/rpc/auth_unix.h
  19. +22 −0 src/providers/grass/vc/rpc/bcopy.h
  20. +364 −0 src/providers/grass/vc/rpc/clnt.h
  21. +10 −0 src/providers/grass/vc/rpc/index.html
  22. +51 −0 src/providers/grass/vc/rpc/netdb.h
  23. +215 −0 src/providers/grass/vc/rpc/rpc_msg.h
  24. +291 −0 src/providers/grass/vc/rpc/svc.h
  25. +53 −0 src/providers/grass/vc/rpc/svc_auth.h
  26. +99 −0 src/providers/grass/vc/rpc/types.h
  27. +281 −0 src/providers/grass/vc/rpc/xdr.h
  28. +1 −0 src/providers/grass/vc/unistd.h
  29. +599 −0 src/providers/grass/vc/xdr.c
  30. +302 −0 src/providers/grass/vc/xdr_float.c
  31. +243 −0 src/providers/grass/vc/xdr_mem.c
  32. +238 −0 src/providers/grass/vc/xdr_stdio.c
@@ -26,10 +26,17 @@ MACRO (CHECK_GRASS G_PREFIX)
# LIB_PATH is only temporary variable, so hide it (is it possible to delete a variable?)
MARK_AS_ADVANCED(LIB_PATH)

IF (GRASS_INCLUDE_DIR AND GRASS_LIBRARIES)
SET (GRASS_FOUND TRUE)
SET (GRASS_PREFIX ${G_PREFIX})
ENDIF (GRASS_INCLUDE_DIR AND GRASS_LIBRARIES)
IF (NOT MSVC)
IF (GRASS_INCLUDE_DIR AND GRASS_LIBRARIES)
SET (GRASS_FOUND TRUE)
SET (GRASS_PREFIX ${G_PREFIX})
ENDIF (GRASS_INCLUDE_DIR AND GRASS_LIBRARIES)
ELSE (NOT MSVC)
IF (GRASS_INCLUDE_DIR)
SET (GRASS_FOUND TRUE)
SET (GRASS_LIBRARIES "")
ENDIF (GRASS_INCLUDE_DIR)
ENDIF (NOT MSVC)

MARK_AS_ADVANCED (
GRASS_INCLUDE_DIR
@@ -17,6 +17,8 @@ IF (NOT MSVC)
SET_SOURCE_FILES_PROPERTIES(qgsgrassprovider.cpp PROPERTIES COMPILE_FLAGS -Wno-error )
SET_SOURCE_FILES_PROPERTIES(qgsgrass.cpp PROPERTIES COMPILE_FLAGS -Wno-error )
SET_SOURCE_FILES_PROPERTIES(provider.cpp PROPERTIES COMPILE_FLAGS -Wno-error )
ELSE (NOT MSVC)
SUBDIRS(vc)
ENDIF (NOT MSVC)

########################################################

0 comments on commit 4da60db

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