Compilation Time - Tiempo de Compilacion

Projeto [x]Harbour - Compilador de código aberto compatível com o Clipper.

Moderador: Moderadores

winca
Usuário Nível 1
Usuário Nível 1
Mensagens: 24
Registrado em: 17 Ago 2015 15:15
Localização: santiago

Compilation Time - Tiempo de Compilacion

Mensagem por winca »

Hola a todos;

Necesito saber si existe alguna función o switch al momento de compilar, para poder
mostrar en alguna parte, la fecha y hora de compilación del ejecutable ( EXE) realizado.

Requiero ver esa información, para así saber, en que fecha y hora fue realizado ese programa,
que puede estar usando el usuario.

Si alguien sabe o tiene alguna idea, agradecería esa información.

Saludos,
Winca
Avatar do usuário
JoséQuintas
Administrador
Administrador
Mensagens: 20267
Registrado em: 26 Fev 2007 11:59
Localização: São Paulo-SP

Compilation Time - Tiempo de Compilacion

Mensagem por JoséQuintas »

Opção do HBMK2:
-bldhead=<file>

generate .ch header file with build information, like build sequence number and timestamp. Generated header will define preprocessor constants _HBMK_BUILD_ID_ and _HBMK_BUILD_ID_NUM_ with sequence number (incremented on each build), _HBMK_BUILD_YEAR_, _HBMK_BUILD_DATE_, _HBMK_BUILD_TIME_, _HBMK_BUILD_TIMESTAMP_ with the date/time of build and _HBMK_BUILD_RANDSTR_32_ with a random string of 32 bytes in hexadecimal format
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2)
"The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell"

https://github.com/JoseQuintas/
winca
Usuário Nível 1
Usuário Nível 1
Mensagens: 24
Registrado em: 17 Ago 2015 15:15
Localização: santiago

Compilation Time - Tiempo de Compilacion

Mensagem por winca »

Don José,

Muchas gracias por la respuesta , lo voy a probar.

Saludos,
Winca
Responder