Commit 153a398b authored by Ian Craggs's avatar Ian Craggs

Create VersionInfo.h on Windows

parent 00bdf989
#*******************************************************************************
# Copyright (c) 2009, 2015 IBM Corp.
# Copyright (c) 2009, 2016 IBM Corp.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
......
<!--*******************************************************************************
Copyright (c) 2012, 2016 IBM Corp.
All rights reserved. This program and the accompanying materials
......@@ -74,12 +73,11 @@
</target>
<target name="version" depends="init" description="replace tags in the source with the right levels">
<target name="version" depends="init" description="replace tags with the right levels">
<property name="build.level" value="${DSTAMP}${TSTAMP}" />
<replace file="src/MQTTClient.c" token="##MQTTCLIENT_BUILD_TAG##" value="${build.level}" />
<replace file="src/MQTTClient.c" token="##MQTTCLIENT_VERSION_TAG##" value="${release.version}" />
<replace file="src/MQTTAsync.c" token="##MQTTCLIENT_BUILD_TAG##" value="${build.level}" />
<replace file="src/MQTTAsync.c" token="##MQTTCLIENT_VERSION_TAG##" value="${release.version}" />
<copy file="src/VersionInfo.h.in" tofile="src/VersionInfo.h" />
<replace file="src/VersionInfo.h" token="@MQTTCLIENT_BUILD_TAG@" value="${build.level}" />
<replace file="src/MQTTClient.c" token="@MQTTCLIENT_VERSION_TAG@" value="${release.version}" />
</target>
<target name="test" >
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment