mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-08-06 23:40:17 +00:00
Show source version in the cmake logs
This commit is contained in:
@@ -413,6 +413,12 @@ if (WHEREAMI_FOUND)
|
||||
endif (WHEREAMI_FOUND)
|
||||
|
||||
message(STATUS "===================================================================")
|
||||
execute_process(
|
||||
COMMAND sh ${PM3_ROOT}/tools/mkversion.sh --short
|
||||
OUTPUT_VARIABLE version_pm3
|
||||
)
|
||||
string(STRIP ${version_pm3} version_pm3)
|
||||
message(STATUS "Version info: ${version_pm3}")
|
||||
if (SKIPQT EQUAL 1)
|
||||
message(STATUS "GUI support: skipped")
|
||||
else (SKIPQT EQUAL 1)
|
||||
|
||||
@@ -403,6 +403,12 @@ if (WHEREAMI_FOUND)
|
||||
endif (WHEREAMI_FOUND)
|
||||
|
||||
message(STATUS "===================================================================")
|
||||
execute_process(
|
||||
COMMAND sh ${PM3_ROOT}/tools/mkversion.sh --short
|
||||
OUTPUT_VARIABLE version_pm3
|
||||
)
|
||||
string(STRIP ${version_pm3} version_pm3)
|
||||
message(STATUS "Version info: ${version_pm3}")
|
||||
if (SKIPQT EQUAL 1)
|
||||
message(STATUS "GUI support: skipped")
|
||||
else (SKIPQT EQUAL 1)
|
||||
|
||||
Reference in New Issue
Block a user