Another argument for a command is that the user may want...
Military time (24 hr)
UTC instead of local timezone
Months/Dates/Hours with leading 0's
By making it a command it is extensible and customizable. If it's a set of
variables you've already limited some of your options.
.. Original
Michael Jackson wrote:
I don't think you could do this as a set of variables. It would be
better as some sort of command. file(GETDATE result) or something.
-Bill
Well, I could but I am really interested in _why_ I would _not_ want to?
Besides the obvious that the variables would basicall
On Mar 20, 2009, at 10:12 AM, Bill Hoffman wrote:
Michael Jackson wrote:
On Mar 20, 2009, at 5:30 AM, Eric Noulard wrote:
2009/3/20 Philip Lowman :
On Thu, Mar 19, 2009 at 11:18 PM, Michael Jackson
wrote:
I am trying to find a nice portable solution for generating
version
strings based
Michael Jackson wrote:
On Mar 20, 2009, at 5:30 AM, Eric Noulard wrote:
2009/3/20 Philip Lowman :
On Thu, Mar 19, 2009 at 11:18 PM, Michael Jackson
wrote:
I am trying to find a nice portable solution for generating version
strings based on the date (seems reasonable). I even have my own c+
On Friday 20 March 2009 13:26:36 Michael Jackson wrote:
> After all of this I'll probably put in a feature request for this
> functionality to be a part of CMake. Actually, if we could just get
> the following variables set by CMake it would be great:
>
> CMAKE_CURRENT_YEAR
> CMAKE_CURRENT_MONTH
>
On Mar 20, 2009, at 5:30 AM, Eric Noulard wrote:
2009/3/20 Philip Lowman :
On Thu, Mar 19, 2009 at 11:18 PM, Michael Jackson
wrote:
I am trying to find a nice portable solution for generating version
strings based on the date (seems reasonable). I even have my own c+
+ code
that can genera
2009/3/20 Philip Lowman :
> On Thu, Mar 19, 2009 at 11:18 PM, Michael Jackson
> wrote:
>>
>> I am trying to find a nice portable solution for generating version
>> strings based on the date (seems reasonable). I even have my own c++ code
>> that can generate the proper string for me. The problem t
On Thu, Mar 19, 2009 at 11:18 PM, Michael Jackson <
mike.jack...@bluequartz.net> wrote:
> I am trying to find a nice portable solution for generating version strings
> based on the date (seems reasonable). I even have my own c++ code that can
> generate the proper string for me. The problem that I
I am trying to find a nice portable solution for generating version
strings based on the date (seems reasonable). I even have my own c++
code that can generate the proper string for me. The problem that I
can not seem to get my head around is that I need to compile and run
the program at cm