diff options
-rw-r--r-- | common.cmake | 6 |
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>) |