This is an automated email from the ASF dual-hosted git repository.

mmartell pushed a commit to branch GEMNC-429-copyright-notice
in repository https://gitbox.apache.org/repos/asf/geode-native.git

commit be8b3b889564a397c4a4b1d3b7c8c47534895fef
Author: Mike Martell <[email protected]>
AuthorDate: Wed Mar 6 13:51:27 2019 -0800

    GEMNC-429: Converted copyright to a cmake variable.
    
    Co-authored-by: Matthew Reddington <[email protected]>
---
 CMakeLists.txt                        | 1 +
 clicache/src/impl/AssemblyInfo.cpp.in | 2 +-
 cppcache/src/apache-geode.rc          | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 22c801c..d643084 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -62,6 +62,7 @@ set(PRODUCT_BITS "${BUILD_BITS}bit")
 
 set(PRODUCT_LIB_NAME "apache-geode" CACHE STRING "Binary name")
 set(PRODUCT_DLL_NAME "${PRODUCT_VENDOR}.${PRODUCT_BASE_NAME}" CACHE STRING 
".Net Binary name")
+set(PRODUCT_COPYRIGHT "Licensed to the Apache Software Foundation (ASF) under 
one or more contributor license agreements.  See the NOTICE file distributed 
with this work for additional information regarding copyright ownership.")
 
 if(CMAKE_SYSTEM_NAME STREQUAL "SunOS")
   if (CMAKE_SYSTEM_PROCESSOR STREQUAL "sparc")
diff --git a/clicache/src/impl/AssemblyInfo.cpp.in 
b/clicache/src/impl/AssemblyInfo.cpp.in
index 4d80e02..92a16b8 100644
--- a/clicache/src/impl/AssemblyInfo.cpp.in
+++ b/clicache/src/impl/AssemblyInfo.cpp.in
@@ -31,7 +31,7 @@ using namespace System::Security::Permissions;
 [assembly:AssemblyConfigurationAttribute("")];
 [assembly:AssemblyCompanyAttribute("@PRODUCT_VENDOR_NAME@")];
 [assembly:AssemblyProductAttribute("@[email protected]")];
-[assembly:AssemblyCopyrightAttribute("Licensed to the Apache Software 
Foundation (ASF) under one or more contributor license agreements.  See the 
NOTICE file distributed with this work for additional information regarding 
copyright ownership.")];
+[assembly:AssemblyCopyrightAttribute("@PRODUCT_COPYRIGHT@")];
 [assembly:AssemblyTrademarkAttribute("All Rights Reserved")];
 [assembly:AssemblyCultureAttribute("")];
 [assembly:AssemblyVersionAttribute("@PRODUCT_VERSION_DOTTED@")];
diff --git a/cppcache/src/apache-geode.rc b/cppcache/src/apache-geode.rc
index 04b7d71..17d2171 100644
--- a/cppcache/src/apache-geode.rc
+++ b/cppcache/src/apache-geode.rc
@@ -35,7 +35,7 @@ BEGIN
             VALUE "FileDescription",  PRODUCT_NAME " C++ Library"
             VALUE "FileVersion",      PRODUCT_VERSION
             VALUE "InternalName",     PRODUCT_LIB_NAME
-            VALUE "LegalCopyright",   "Licensed to the Apache Software 
Foundation (ASF) under one or more contributor license agreements.  See the 
NOTICE file distributed with this work for additional information regarding 
copyright ownership."
+            VALUE "LegalCopyright",   PRODUCT_COPYRIGHT
             VALUE "OriginalFilename", PRODUCT_LIB_NAME".dll"
             VALUE "ProductName",      PRODUCT_NAME
             VALUE "ProductVersion",   PRODUCT_VERSION

Reply via email to