|
From: BERNDT, J. S. (J. (JSC-E. (LM) <jon...@js...> - 2001-08-30 14:23:06
|
I have placed in JSBSim CVS (for my benefit, if no one elses) a script called createfgfs.pl. This script has worked for me quite well for about half a year. Being that my memory is so bad I can't even remember my ... my ... dang! I can't remember what I was going to say that I forgot ... Anyhow ... I can't remember to do all the steps in order for all the parts. SO, I created this script to do it for me. To build the whole shebang: ./createfgfs.pl update all This downloads everything. I do mean Everything. Then it builds it. You need to stick around during the first part as you will be prompted to enter passwords for the various cvs repositories. The above command *also* works to update an already existing installation which has been created by the script previously. Run the command the same way, come back when it's done and you should have an executable. No need to monitor this one. Works for me. Your mileage may suck. Say that you only want to make flightgear, because you have mad a change only to some code in one or two files. You could type this: ./createfgfs.pl make fgfs This will make flightgear only. What if you want to update some files from simgear cvs (and also from flightgear cvs) and then rebuild? Typeing this accomplishes it: ./createfgfs.pl update simgear If you have questions or problems drop a note here. This may not work for everyone, I just don't know for sure. And you may have your own methods to build flightgear yourself. This script is made for those who want a sort of plug and play script that does it all for them. It has worked for me and others and I wanted to make it available to whoever wants it. Jon |