summaryrefslogtreecommitdiff
path: root/CMake/CurlSymbolHiding.cmake
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-03-23 14:44:29 +0100
committerDaniel Stenberg <daniel@haxx.se>2020-03-24 15:05:59 +0100
commit9a8b3b3e131359aea1cac650fb6ac331fbe2047c (patch)
tree1446d8ae1e3126d4e7678da04542244c9fe17899 /CMake/CurlSymbolHiding.cmake
parent18c7084c7dd393f344cb4f4b9698264283d9353a (diff)
downloadcurl-9a8b3b3e131359aea1cac650fb6ac331fbe2047c.tar.gz
copyright: fix out-of-date copyright ranges and missing headers
Reported by the new script 'scripts/copyright.pl'. The script has a regex whitelist for the files that don't need copyright headers. Removed three (mostly usesless) README files from docs/ Closes #5141
Diffstat (limited to 'CMake/CurlSymbolHiding.cmake')
-rw-r--r--CMake/CurlSymbolHiding.cmake21
1 files changed, 21 insertions, 0 deletions
diff --git a/CMake/CurlSymbolHiding.cmake b/CMake/CurlSymbolHiding.cmake
index 8e5fd67a0..aaac9fead 100644
--- a/CMake/CurlSymbolHiding.cmake
+++ b/CMake/CurlSymbolHiding.cmake
@@ -1,3 +1,24 @@
+#***************************************************************************
+# _ _ ____ _
+# Project ___| | | | _ \| |
+# / __| | | | |_) | |
+# | (__| |_| | _ <| |___
+# \___|\___/|_| \_\_____|
+#
+# Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
+#
+# This software is licensed as described in the file COPYING, which
+# you should have received as part of this distribution. The terms
+# are also available at https://curl.haxx.se/docs/copyright.html.
+#
+# You may opt to use, copy, modify, merge, publish, distribute and/or sell
+# copies of the Software, and permit persons to whom the Software is
+# furnished to do so, under the terms of the COPYING file.
+#
+# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+# KIND, either express or implied.
+#
+###########################################################################
include(CheckCSourceCompiles)
option(CURL_HIDDEN_SYMBOLS "Set to ON to hide libcurl internal symbols (=hide all symbols that aren't officially external)." ON)