Page 1 of 1

IDE would accept Harbour directive

Posted: Thu Feb 09, 2017 10:00 am
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 2808 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 220 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 2808 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 220 times

Re: IDE would accept Harbour directive

Posted: Thu Feb 09, 2017 10:16 pm
by srvet_claudio
I will check

IDE would accept Harbour directive

Posted: Thu Feb 09, 2017 10:40 pm
by Pablo César
Please, Claudio.

Very usefull option, at least for me is because I use a lot the IDE.