# Automatic build version?

**URL:** <https://forum.sierrawireless.com/t/automatic-build-version/4751>\
**Category:** Development tools\
**Created:** [November 17, 2010, 10:59pm UTC](https://forum.sierrawireless.com/t/automatic-build-version/4751 "2010-11-17T22:59:04Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.sierrawireless.com/u/awneil)\
**Post date:** [November 18, 2010, 7:04am UTC](https://forum.sierrawireless.com/t/automatic-build-version/4751/3 "2010-11-18T07:04:47Z")

</div>

> [@blackyblack](#):
>
> What about date/time macro? It makes an unique build stamp.

But that requires that you can force the file containing the macro to build every time - and there is no easy way to do that in DS:

> [@Always build a file](https://forum.sierrawireless.com/t/always-build-a-file/2908/1):
>
> Is it possible to set the options for a particular source file so that it always gets recompiled, even if it hasn’t changed since the last build? I have a file that uses the TIME and DATE macros, but unless I make changes to that file or do a clean build, these values never get updated. If I right-click on a file in the project explorer and select properties, I can find an option to exclude the file from the build, but I can’t see anything for making sure it gets compiled every time.

---

_[View the full topic](https://forum.sierrawireless.com/t/automatic-build-version/4751)._
