You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by mm...@apache.org on 2019/03/06 21:53:24 UTC
[geode-native] 02/02: GEMNC-429: Converted copyright to a cmake
variable.
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 <mm...@pivotal.io>
AuthorDate: Wed Mar 6 13:51:27 2019 -0800
GEMNC-429: Converted copyright to a cmake variable.
Co-authored-by: Matthew Reddington <mr...@pivotal.io>
---
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("@PRODUCT_BASE_NAME@.NETCache")];
-[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