This is an automated email from the git hooks/post-receive script. sebastic pushed a commit to branch master in repository qmapshack.
commit 56577b4ff3248eacc9e944fabffcb93732db45f6 Author: Bas Couwenberg <sebas...@xs4all.nl> Date: Sat Mar 7 13:38:16 2015 +0100 Imported Upstream version 1.0.0+ds1 --- CMakeLists.txt | 102 +++++++++++++++++++++++++++++++++++++++++++++ GpxExamples/COPYRIGHT | 19 +++++++++ GpxExamples/qlandkarte.gpx | Bin 3185 -> 3185 bytes 3 files changed, 121 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..95b1823 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,102 @@ +cmake_minimum_required(VERSION 3.0.0) + +project(QMapShack) + +# has to be removed later on + +if(UNIX) +#set(CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} /opt/Qt/5.3/gcc_64) +endif(UNIX) + + +if(WIN32) +set(QT_DEV_PATH "" CACHE PATH "Path to directory containing Qt5 include and lib, e.g. C:\\Qt5\\5.3\\msvc2013_64") +set(GDAL_DEV_PATH "" CACHE PATH "Path to directory containing GDAL include and lib, e.g. M:\\lib\\gdal") +set(PROJ_DEV_PATH "" CACHE PATH "Path to directory containing PROJ.4 include and lib, e.g. M:\\lib\\PROJ") +set(CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} ${QT_DEV_PATH}) +endif(WIN32) + + +set(APPLICATION_NAME qmapshack) + +set(APPLICATION_VERSION_MAJOR "1") +set(APPLICATION_VERSION_MINOR "0") +set(APPLICATION_VERSION_PATCH "0") + +add_definitions(-DVER_MAJOR=${APPLICATION_VERSION_MAJOR} -DVER_MINOR=${APPLICATION_VERSION_MINOR} -DVER_STEP=${APPLICATION_VERSION_PATCH} -DAPPLICATION_NAME=${PROJECT_NAME}) + + +if (APPLE) + set(PROGNAME "QMapShack") + set(CONFIGDIR "Library/Application Support/${PROGNAME}/") + set(MAC_BUNDLE_PATH ${EXECUTABLE_OUTPUT_PATH}/${PROGNAME}.app) + set(MAC_ICON_FILE qmapshack.icns) + set(MACOSX_BUNDLE_SHORT_VERSION_STRING ${APPLICATION_VERSION_MAJOR}.${APPLICATION_VERSION_MINOR}.${APPLICATION_VERSION_PATCH}) + set(MACOSX_BUNDLE_ICON_FILE ${MAC_ICON_FILE}) + set(MACOSX_BUNDLE_BUNDLE_NAME ${PROGNAME}) + set(MACOSX_BUNDLE_BUNDLE_VERSION ${APPLICATION_VERSION_MAJOR}.${APPLICATION_VERSION_MINOR}) + set(MACOSX_BUNDLE_GUI_IDENTIFIER org.qlandkarte.QMapShack) +else(APPLE) + set(PROGNAME qmapshack) + set(CONFIGDIR ".config/QLandkarte/") +endif(APPLE) +if(MSVC) + # Add link-time code generation to improve performance + set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /GL") + set(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} /LTCG") + set(CMAKE_MODULE_LINKER_FLAGS_RELEASE "${CMAKE_MODULE_LINKER_FLAGS_RELEASE} /LTCG") + set(CMAKE_SHARED_LINKER_FLAGS_RELEASE "${CMAKE_SHARED_LINKER_FLAGS_RELEASE} /LTCG") +endif(MSVC) + +# where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked +set(CMAKE_MODULE_PATH + ${CMAKE_SOURCE_DIR}/cmake/Modules +) + +# add definitions +include(DefineCMakeDefaults) +include(DefineCompilerFlags) +include(DefineInstallationPaths) +include(CPackConfig.cmake) + +include(ConfigureChecks.cmake) +configure_file(config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h) + + +set(EXECUTABLE_OUTPUT_PATH ${CMAKE_BINARY_DIR}/bin) +add_subdirectory(3rdparty/CGetOpt) +#add_subdirectory(3rdparty/DBConverter) +add_subdirectory(src) + + +if (UNIX AND NOT WIN32 AND NOT APPLE) + install( + FILES + qmapshack.desktop + DESTINATION + ${XDG_APPS_DIR} + ) + + install( + FILES + src/icons/48x48/QMapShack.png + DESTINATION + ${DATA_INSTALL_PREFIX}/pixmaps + ) + + install( + FILES + qmapshack.1 + DESTINATION + ${MAN_INSTALL_DIR}/man1 + ) +endif (UNIX AND NOT WIN32 AND NOT APPLE) + +CONFIGURE_FILE( + "${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake.in" + "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake" + IMMEDIATE @ONLY) + +ADD_CUSTOM_TARGET(uninstall + "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake") + diff --git a/GpxExamples/COPYRIGHT b/GpxExamples/COPYRIGHT new file mode 100644 index 0000000..fff30ea --- /dev/null +++ b/GpxExamples/COPYRIGHT @@ -0,0 +1,19 @@ +*.gpx files in this dir are created by Oliver Eichler <oliver.eich...@gmx.de> and released under GPL-3.0+ license + +/********************************************************************************************** + Copyright (C) 2014 Oliver Eichler oliver.eich...@gmx.de + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. + +**********************************************************************************************/ diff --git a/GpxExamples/qlandkarte.gpx b/GpxExamples/qlandkarte.gpx index 491ad43..c51649e 100644 Binary files a/GpxExamples/qlandkarte.gpx and b/GpxExamples/qlandkarte.gpx differ -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/qmapshack.git _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel