Skip to content

Instantly share code, notes, and snippets.

@iori-yja
Last active August 29, 2015 14:06
Show Gist options
  • Save iori-yja/773c9d095b71eb7bdb77 to your computer and use it in GitHub Desktop.
Save iori-yja/773c9d095b71eb7bdb77 to your computer and use it in GitHub Desktop.
#/bin/sh
SRC=../libs/iovm/source/IoVersion.h
DST=_build/headers/IoVersion.h
sed -e "s;^\(#define IO_BUILTDATE_STRING\) .*;\1 \"`date '+%H\:%M %d/%m/%Y'`\";" $SRC > $DST
execute_process(
COMMAND /bin/sh ${CMAKE_TOOL_DIR}/shell/embedBuildInfo.sh
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment