mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 13:23:51 -07:00
Show source version in the cmake logs
This commit is contained in:
parent
0ed190936d
commit
5ce9450c3a
2 changed files with 12 additions and 0 deletions
|
@ -413,6 +413,12 @@ if (WHEREAMI_FOUND)
|
||||||
endif (WHEREAMI_FOUND)
|
endif (WHEREAMI_FOUND)
|
||||||
|
|
||||||
message(STATUS "===================================================================")
|
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)
|
if (SKIPQT EQUAL 1)
|
||||||
message(STATUS "GUI support: skipped")
|
message(STATUS "GUI support: skipped")
|
||||||
else (SKIPQT EQUAL 1)
|
else (SKIPQT EQUAL 1)
|
||||||
|
|
|
@ -403,6 +403,12 @@ if (WHEREAMI_FOUND)
|
||||||
endif (WHEREAMI_FOUND)
|
endif (WHEREAMI_FOUND)
|
||||||
|
|
||||||
message(STATUS "===================================================================")
|
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)
|
if (SKIPQT EQUAL 1)
|
||||||
message(STATUS "GUI support: skipped")
|
message(STATUS "GUI support: skipped")
|
||||||
else (SKIPQT EQUAL 1)
|
else (SKIPQT EQUAL 1)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue