-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge of changes from analysis branch
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11552 c8812cc2-4d05-0410-92ff-de0c093fc19c
- Loading branch information
mhugent
committed
Sep 5, 2009
1 parent
29ec481
commit aa71b1e
Showing
38 changed files
with
7,539 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
|
||
|
||
############################################################# | ||
# sources | ||
|
||
SET(QGIS_ANALYSIS_SRCS | ||
interpolation/qgsgridfilewriter.cpp | ||
interpolation/qgsidwinterpolator.cpp | ||
interpolation/qgsinterpolator.cpp | ||
interpolation/qgstininterpolator.cpp | ||
interpolation/DualEdgeTriangulation.cc | ||
interpolation/HalfEdge.cc | ||
interpolation/Line3D.cc | ||
interpolation/LinTriangleInterpolator.cc | ||
interpolation/MathUtils.cc | ||
interpolation/Node.cc | ||
interpolation/Point3D.cc | ||
interpolation/TriangleInterpolator.cc | ||
interpolation/Triangulation.cc | ||
interpolation/Vector3D.cc | ||
vector/qgsgeometryanalyzer.cpp | ||
) | ||
|
||
SET(QGIS_ANALYSIS_MOC_HDRS | ||
) | ||
|
||
QT4_WRAP_CPP(QGIS_ANALYSIS_MOC_SRCS ${QGIS_ANALYSIS_MOC_HDRS}) | ||
|
||
|
||
INCLUDE_DIRECTORIES( | ||
${CMAKE_CURRENT_SOURCE_DIR} | ||
${CMAKE_CURRENT_SOURCE_DIR}/../core/ | ||
interpolation | ||
${PROJ_INCLUDE_DIR} | ||
${GEOS_INCLUDE_DIR} | ||
${GDAL_INCLUDE_DIR} | ||
) | ||
|
||
IF (WIN32) | ||
IF (MSVC) | ||
ADD_DEFINITIONS("-DANALYSIS_EXPORT=__declspec(dllexport)") | ||
ELSE (MSVC) | ||
ADD_DEFINITIONS("-UANALYSIS_EXPORT \"-DANALYSIS_EXPORT=__declspec(dllexport)\"") | ||
ENDIF (MSVC) | ||
ENDIF (WIN32) | ||
|
||
|
||
############################################################# | ||
# qgis_analysis library | ||
|
||
ADD_LIBRARY(qgis_analysis SHARED ${QGIS_ANALYSIS_SRCS} ${QGIS_ANALYSIS_MOC_SRCS} ) | ||
|
||
ADD_DEPENDENCIES(qgis_analysis core) | ||
|
||
SET_TARGET_PROPERTIES(qgis_analysis PROPERTIES | ||
VERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR} | ||
SOVERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}) | ||
|
||
|
||
# because of htonl | ||
IF (WIN32) | ||
SET(PLATFORM_LIBRARIES wsock32) | ||
IF (MSVC) | ||
#needed for linking to gdal which needs odbc | ||
SET(PLATFORM_LIBRARIES ${PLATFORM_LIBRARIES} odbc32 odbccp32) | ||
ENDIF (MSVC) | ||
ENDIF (WIN32) | ||
|
||
TARGET_LINK_LIBRARIES(qgis_analysis | ||
qgis_core | ||
${QT_QTCORE_LIBRARY} | ||
${QT_QTGUI_LIBRARY} | ||
${QT_QTMAIN_LIBRARY} | ||
${PROJ_LIBRARY} | ||
${GEOS_LIBRARY} | ||
${GDAL_LIBRARY} | ||
${PLATFORM_LIBRARIES} | ||
) | ||
|
||
INSTALL(TARGETS qgis_analysis | ||
RUNTIME DESTINATION ${QGIS_BIN_DIR} | ||
LIBRARY DESTINATION ${QGIS_LIB_DIR} | ||
ARCHIVE DESTINATION ${QGIS_LIB_DIR}) | ||
|
||
|
||
# Added by Tim to install headers | ||
|
||
SET(QGIS_ANALYSIS_HDRS | ||
) | ||
|
||
INSTALL(CODE "MESSAGE(\"Installing ANALYSIS headers...\")") | ||
INSTALL(FILES ${QGIS_ANALYSIS_HDRS} ${QGIS_ANALYSIS_MOC_HDRS} DESTINATION ${QGIS_INCLUDE_DIR}) |
Oops, something went wrong.