[vlmc-devel] cmake: Update copyright year automatically
Hugo Beauzée-Luyssen
git at videolan.org
Fri Apr 1 23:56:11 CEST 2016
vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Apr 1 23:17:05 2016 +0200| [720cf9e34d8422cb522506402b07b91550e7644d] | committer: Hugo Beauzée-Luyssen
cmake: Update copyright year automatically
> https://code.videolan.org/videolan/vlmc/commit/720cf9e34d8422cb522506402b07b91550e7644d
---
CMakeLists.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a31c8f9..bf72763 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,7 +8,8 @@
SET(PROJECT_NAME_SHORT "VLMC")
SET(PROJECT_NAME_LONG "VideoLAN Movie Creator")
SET(PROJECT_DESCRIPTION "VLMC (VideoLAN Movie Creator) is a cross-platform, non-linear video editing software based on the VLC Media Player.")
-SET(PROJECT_COPYRIGHT "Copyright (C) 2008-2014 VideoLAN")
+string(TIMESTAMP CURRENT_YEAR "%Y")
+SET(PROJECT_COPYRIGHT "Copyright (C) 2008-${CURRENT_YEAR} VideoLAN")
SET(PROJECT_CONTACT "vlmc-devel at videolan.org")
SET(PROJECT_VENDOR "VLMC Team")
SET(ORG_WEBSITE "videolan.org")
More information about the Vlmc-devel
mailing list