Mail Archives: djgpp/2001/02/24/07:21:31.1
Count Mecha wrote:
> I use rhide. every time I open Rhide I have to go into options/libray and
> type "alleg". How do I automate this(have the allegro known each time I run
> RHIDE w/out going into options all the time.
The best way is to use a project file per program you make (It's also a good
practice to save all files of a program in a seperate directory)
When you start a new program, you go to "open project" and type in "myProj" and
click on "open". Now you have created your project file
With that project file, you can save many options of rhide, specified for your
program. e.g. you it has to use the alleg library. It can also remember where
to search for the source files and where to put the object/exe files of this
project (e.g. everything it that seperate directory)
It can also save which *.cpp files that go with the project. You can add a cpp
file with "add item". With the "projet window" (somewhere in the window menu)
you can see what cpp files are included in the project.
If you click on "build all" then rhide will automatically recompile all these
cpp's and build an executable of your program.
If you click on "run" it will check if some of these files are changed since the
last 'build' and if so, it will recompile these and rebuild the executable.
Afterwards, it will always run the executable.
Experiment with these features, it's very handy.
- Raw text -