Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 committed Nov 10, 2007
1 parent 8a46850 commit 4da60db
Show file tree
Hide file tree
Showing 32 changed files with 5,941 additions and 4 deletions.
15 changes: 11 additions & 4 deletions cmake/FindGRASS.cmake
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/providers/grass/CMakeLists.txt
Expand Up @@ -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)

########################################################
Expand Down

0 comments on commit 4da60db

Please sign in to comment.