aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-05-19 17:31:14 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-05-19 17:31:14 +0300
commit9456011a633f1c1a87083f4ace3b95eb0d5e932d (patch)
tree0b75c17ff195a4b6320844907248968381fead8b
parenthardening (diff)
downloadwinapi-debug-9456011a633f1c1a87083f4ace3b95eb0d5e932d.tar.gz
winapi-debug-9456011a633f1c1a87083f4ace3b95eb0d5e932d.zip
common.cmake update
-rw-r--r--common.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/common.cmake b/common.cmake
index 474deb4..d719542 100644
--- a/common.cmake
+++ b/common.cmake
@@ -1,6 +1,12 @@
+# Copyright (c) 2017 Egor Tensin <Egor.Tensin@gmail.com>
# It's a CMake code snippet I use in all of my CMake projects.
# It makes targets link the runtime statically by default + strips debug
# symbols in release builds.
+# The latest version can be found at
+# https://gist.github.com/egor-tensin/cmake-common.
+# Distributed under the MIT License.
+
+# Version: 2017-05-19T13:51:22+00:00
get_directory_property(parent_directory PARENT_DIRECTORY)
set(is_root_project $<NOT:parent_directory>)