You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
317 B
CMake
11 lines
317 B
CMake
|
|
# Writes the filename to ${CURRENT_FILENAME}
|
|
macro(print_git_tag GIT_TAG)
|
|
|
|
# get current filename
|
|
set(_CURRENT_FILENAME "")
|
|
get_filename_component(_CURRENT_FILENAME ${CMAKE_CURRENT_LIST_FILE} NAME)
|
|
|
|
# print message
|
|
message(STATUS "${_CURRENT_FILENAME}:> Fetching Version-[${GIT_TAG}]")
|
|
endmacro() |