Added warning instead of running the version_detail script

This commit is contained in:
hunbernd 2018-09-15 18:21:02 +02:00
parent eece958aa0
commit 05537d89cb
2 changed files with 4 additions and 21 deletions

View File

@ -228,16 +228,8 @@ linux-g++-64 {
} }
version_detail_bash_script { version_detail_bash_script {
linux-* { warning("Version detail script is deprecated.")
QMAKE_EXTRA_TARGETS += write_version_detail warning("Remove references to version_detail_bash_script from all of your build scripts!")
PRE_TARGETDEPS = write_version_detail
write_version_detail.commands = $$PWD/version_detail.sh
}
win32-* {
QMAKE_EXTRA_TARGETS += write_version_detail
PRE_TARGETDEPS = write_version_detail
write_version_detail.commands = $$PWD/version_detail.bat
}
} }
#################### Cross compilation for windows under Linux #################### #################### Cross compilation for windows under Linux ####################

View File

@ -105,17 +105,8 @@ linux-g++-64 {
} }
version_detail_bash_script { version_detail_bash_script {
linux-* { warning("Version detail script is deprecated.")
DEFINES += ADD_LIBRETROSHARE_VERSION_INFO warning("Remove references to version_detail_bash_script from all of your build scripts!")
QMAKE_EXTRA_TARGETS += write_version_detail
PRE_TARGETDEPS = write_version_detail
write_version_detail.commands = $$PWD/version_detail.sh
}
win32-* {
QMAKE_EXTRA_TARGETS += write_version_detail
PRE_TARGETDEPS = write_version_detail
write_version_detail.commands = $$PWD/version_detail.bat
}
} }
#################### Cross compilation for windows under Linux ################### #################### Cross compilation for windows under Linux ###################