Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added dllexports for win compilation support
git-svn-id: http://svn.osgeo.org/qgis/trunk@7154 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Aug 27, 2007
1 parent 43e9a0e commit 86a99d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/core/CMakeLists.txt
Expand Up @@ -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)

Expand Down

0 comments on commit 86a99d6

Please sign in to comment.