IDE would accept Harbour directive

Creative ideas/suggestions for HMG

Moderator: Rathinagiri

Post Reply
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

IDE would accept Harbour directive

Post by Pablo César »

Hola Claudio,

Recientemente levantaron una cuestion muy útil en el fórum de PCToledo (aqui) sobre definir en el archivo .hbp la inclusion de un archivo de directiva (por ejemplo: InKey.ch) que sirva para TODOS los módulos PRG sin necesidad de incluir uno por uno. Si nuestra IDE pudiera acceptar archivos include en el Modules\Project Browser seria genial.

Cuando intento adicionarlo con Project\Import File me remite este error:
 
Screen89.png
Screen89.png (7.05 KiB) Viewed 2740 times
 
Cuando insiro y grabo manualmente el archivo .hbp del projecto y compilo, el própio IDE me lo apaga... :|

Pero si compilo en la linea de comandos con el Build.bat, me funciona perfectamente.

La informacin que se tiene es que si pones el el archivo .hbp:

-u+inkey.ch

Incluirá el inkey.ch para todos los módulos. Habria lugar a esta inclusion para nuestro IDE para el futuro ?

Aquí está la prueba hecha pero se debe probar por la linea prompt de comando a través del Build.bat porque por el archivo .hbp será recreado por la IDE durante el proceso de compilación... :|
 
Teste5.rar
Executable a sources files for testing
(1.24 MiB) Downloaded 215 times
 
Googled
Hello Claudio

They recently leveled a very useful question in the PCToledo (here) forum about defining in the .hbp file the inclusion of the directive file (for example: InKey.ch) that serves for all PRG modules without having to include one by one. If our IDE could accept include files in the Modules\Project Browser would be great.

When I try to add it with Project\Import File it sends me this error:
Screen89.png
Screen89.png (7.05 KiB) Viewed 2740 times
When I manually insert and save the project's .hbp file and compile, the IDE itself deletes it... :|

But if I compile in the command line with the Build.bat, it works perfectly.

The information you put into .hbp file is:

-u+inkey.ch

Then It will include the inkey.ch for all modules. Would this lead to this inclusion for our IDE for the future?

Here's the test made but must be tested by line command thru Build.bat because by IDE .hbp file will be re-created during the building process... :|
Teste5.rar
Executable a sources files for testing
(1.24 MiB) Downloaded 215 times
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: IDE would accept Harbour directive

Post by srvet_claudio »

I will check
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

IDE would accept Harbour directive

Post by Pablo César »

Please, Claudio.

Very usefull option, at least for me is because I use a lot the IDE.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Post Reply