Skip to content
Permalink
Browse files

Added dllexports for win compilation support

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7154 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux
timlinux committed Aug 27, 2007
1 parent c01d062 commit 42944e662d6eac11f3b666e4d6560003701af57c
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/src/core/CMakeLists.txt
@@ -21,10 +21,10 @@ IF (WIN32)
#next needed for qgis gui includes
ADD_DEFINITIONS("-DGUI_EXPORT=__declspec(dllexport)")
ELSE (MSVC)
ADD_DEFINITIONS("\"-DCORE_EXPORT=__declspec(dllimport)\"")
ADD_DEFINITIONS("-UCORE_EXPORT \"-DCORE_EXPORT=__declspec(dllimport)\"")
#ADD_DEFINITIONS("\"-DPLUGIN_EXPORT=__declspec(dllimport)\"")
#next needed for qgis gui includes
ADD_DEFINITIONS("\"-DGUI_EXPORT=__declspec(dllexport)\"")
ADD_DEFINITIONS("-UGUI_EXPORT \"-DGUI_EXPORT=__declspec(dllexport)\"")
ENDIF (MSVC)
ENDIF (WIN32)

0 comments on commit 42944e6

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