Skip to content

Commit

Permalink
Added copyright notices to CMake modules, BSD license has been set to…
Browse files Browse the repository at this point in the history
… the modules (typical license for CMake modules).

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13756 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Jun 20, 2010
1 parent 9c196bb commit c9b0800
Show file tree
Hide file tree
Showing 14 changed files with 117 additions and 25 deletions.
6 changes: 6 additions & 0 deletions cmake/Bison.cmake
@@ -1,3 +1,9 @@
# Macros for Bison
# ~~~~~~~~~~~~~~~~
# Copyright (c) 2007, Martin Dobias <wonder.sk at gmail.com>
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.

# use bison for .yy files

# search for bison
Expand Down
22 changes: 22 additions & 0 deletions cmake/COPYING-CMAKE-SCRIPTS
@@ -0,0 +1,22 @@
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

1. Redistributions of source code must retain the copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. The name of the author may not be used to endorse or promote products
derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
7 changes: 6 additions & 1 deletion cmake/FindExpat.cmake
@@ -1,4 +1,9 @@

# Find Expat
# ~~~~~~~~~~
# Copyright (c) 2007, Martin Dobias <wonder.sk at gmail.com>
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
#
# CMake module to search for Expat library
# (library for parsing XML files)
#
Expand Down
24 changes: 15 additions & 9 deletions cmake/FindGDAL.cmake
@@ -1,12 +1,18 @@
## Once run this will define:
##
## GDAL_FOUND = system has GDAL lib
##
## GDAL_LIBRARY = full path to the library
##
## GDAL_INCLUDE_DIR = where to find headers
##
## Magnus Homann
# Find GDAL
# ~~~~~~~~~
# Copyright (c) 2007, Magnus Homann <magnus at homann dot se>
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
#
#
# Once run this will define:
#
# GDAL_FOUND = system has GDAL lib
#
# GDAL_LIBRARY = full path to the library
#
# GDAL_INCLUDE_DIR = where to find headers



IF(WIN32)
Expand Down
10 changes: 8 additions & 2 deletions cmake/FindGEOS.cmake
@@ -1,12 +1,18 @@
# Find GEOS
# ~~~~~~~~~
# Copyright (c) 2008, Mateusz Loskot <mateusz@loskot.net>
# (based on FindGDAL.cmake by Magnus Homann)
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
#
# CMake module to search for GEOS library
#
# If it's found it sets GEOS_FOUND to TRUE
# and following variables are set:
# GEOS_INCLUDE_DIR
# GEOS_LIBRARY
#
# Mateusz Loskot <mateusz@loskot.net>
# (based in FindGDAL.cmake by Magnus Homann)


IF(WIN32)

Expand Down
5 changes: 5 additions & 0 deletions cmake/FindGRASS.cmake
@@ -1,3 +1,8 @@
# Find GRASS
# ~~~~~~~~~~
# Copyright (c) 2007, Martin Dobias <wonder.sk at gmail.com>
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.

# macro that checks for grass installation in specified directory

Expand Down
6 changes: 6 additions & 0 deletions cmake/FindIconv.cmake
@@ -1,3 +1,9 @@
# Find Iconv
# ~~~~~~~~~~
# Copyright (c) 2009, Juergen E. Fischer <jef at norbit dot de>
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
#
# CMake module to search for iconv library
#
# If it's found it sets ICONV_FOUND to TRUE
Expand Down
7 changes: 6 additions & 1 deletion cmake/FindPostgres.cmake
@@ -1,4 +1,9 @@

# Find PostgreSQL
# ~~~~~~~~~~~~~~~
# Copyright (c) 2007, Martin Dobias <wonder.sk at gmail.com>
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
#
# CMake module to search for PostgreSQL library
#
# pg_config is searched for in POSTGRES_CONFIG dir,
Expand Down
7 changes: 6 additions & 1 deletion cmake/FindProj.cmake
@@ -1,4 +1,9 @@

# Find Proj
# ~~~~~~~~~
# Copyright (c) 2007, Martin Dobias <wonder.sk at gmail.com>
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
#
# CMake module to search for Proj library
#
# If it's found it sets PROJ_FOUND to TRUE
Expand Down
23 changes: 14 additions & 9 deletions cmake/FindQWT.cmake
@@ -1,12 +1,17 @@
## Once run this will define:
##
## QWT_FOUND = system has QWT lib
##
## QWT_LIBRARY = full path to the QWT library
##
## QWT_INCLUDE_DIR = where to find headers
##
## Tim Sutton
# Find Qwt
# ~~~~~~~~
# Copyright (c) 2010, Tim Sutton <tim at linfiniti.com>
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
#
# Once run this will define:
#
# QWT_FOUND = system has QWT lib
#
# QWT_LIBRARY = full path to the QWT library
#
# QWT_INCLUDE_DIR = where to find headers
#


#MESSAGE("Searching for QWT")
Expand Down
7 changes: 6 additions & 1 deletion cmake/FindSPATIALITE.cmake
@@ -1,4 +1,9 @@

# Find SpatiaLite
# ~~~~~~~~~~~~~~~
# Copyright (c) 2009, Sandro Furieri <a.furieri at lqt.it>
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
#
# CMake module to search for SpatiaLite library
#
# If it's found it sets SPATIALITE_FOUND to TRUE
Expand Down
7 changes: 6 additions & 1 deletion cmake/FindSqlite3.cmake
@@ -1,4 +1,9 @@

# Find Sqlite3
# ~~~~~~~~~~~~
# Copyright (c) 2007, Martin Dobias <wonder.sk at gmail.com>
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
#
# CMake module to search for Sqlite3 library
#
# If it's found it sets SQLITE3_FOUND to TRUE
Expand Down
6 changes: 6 additions & 0 deletions cmake/Flex.cmake
@@ -1,3 +1,9 @@
# Macros for Bison
# ~~~~~~~~~~~~~~~~
# Copyright (c) 2007, Martin Dobias <wonder.sk at gmail.com>
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.

# flex a .ll file

# search flex
Expand Down
5 changes: 5 additions & 0 deletions cmake/PyQt4Macros.cmake
@@ -1,3 +1,8 @@
# Macros for PyQt4
# ~~~~~~~~~~~~~~~~
# Copyright (c) 2009, Juergen E. Fischer <jef at norbit dot de>
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.


IF(NOT PYUIC4_PROGRAM)
Expand Down

0 comments on commit c9b0800

Please sign in to comment.