Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c7ed320
commit eddf6fe
Showing
145 changed files
with
3,418 additions
and
3,418 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -1,29 +1,29 @@ | ||
SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${QGIS_OUTPUT_DIRECTORY}/${QGIS_PLUGIN_SUBDIR}/sqldrivers) | ||
SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${QGIS_OUTPUT_DIRECTORY}/${QGIS_PLUGIN_SUBDIR}/sqldrivers) | ||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${QGIS_OUTPUT_DIRECTORY}/${QGIS_PLUGIN_SUBDIR}/sqldrivers) | ||
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${QGIS_OUTPUT_DIRECTORY}/${QGIS_PLUGIN_SUBDIR}/sqldrivers) | ||
|
||
ADD_DEFINITIONS(${QT_DEFINITIONS}) | ||
ADD_DEFINITIONS(-DQT_PLUGIN) | ||
ADD_DEFINITIONS(-DQT_NO_DEBUG) | ||
ADD_DEFINITIONS(-DQT_SHARED) | ||
add_definitions(${QT_DEFINITIONS}) | ||
add_definitions(-DQT_PLUGIN) | ||
add_definitions(-DQT_NO_DEBUG) | ||
add_definitions(-DQT_SHARED) | ||
|
||
INCLUDE_DIRECTORIES(SYSTEM | ||
include_directories(SYSTEM | ||
${SQLITE3_INCLUDE_DIR} | ||
${Qt5Sql_PRIVATE_INCLUDE_DIRS} | ||
) | ||
|
||
SET(QSQLSPATIALITE_SRC qsql_spatialite.cpp smain.cpp) | ||
set(QSQLSPATIALITE_SRC qsql_spatialite.cpp smain.cpp) | ||
QT5_WRAP_CPP(QSQLSPATIALITE_SRC qsql_spatialite.h smain.h) | ||
|
||
ADD_LIBRARY(qsqlspatialite SHARED ${QSQLSPATIALITE_SRC}) | ||
TARGET_LINK_LIBRARIES(qsqlspatialite | ||
add_library(qsqlspatialite SHARED ${QSQLSPATIALITE_SRC}) | ||
target_link_libraries(qsqlspatialite | ||
${Qt5Core_LIBRARIES} | ||
${Qt5Sql_LIBRARIES} | ||
${SQLITE3_LIBRARY} | ||
${SPATIALITE_LIBRARY} | ||
qgis_core | ||
) | ||
|
||
INSTALL(TARGETS qsqlspatialite | ||
install(TARGETS qsqlspatialite | ||
RUNTIME DESTINATION ${QT_PLUGINS_DIR}/sqldrivers | ||
LIBRARY DESTINATION ${QT_PLUGINS_DIR}/sqldrivers | ||
) |
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
Oops, something went wrong.