[m-users.] How to Specify Compile Time Defines??

Charles Shuller charles.shuller at gmail.com
Sun Mar 17 23:54:55 AEDT 2019


Hello,

Is there a mechanism in Mercury for specifying compile time defines, or
something with analogous functionality?

I want to specify the version number in the build system, and then
reference it in source (for answering the --version flag mostly).


Thanks!

Charles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurylang.org/archives/users/attachments/20190317/8cf0b57c/attachment.html>


More information about the users mailing list