I have just updated my compilation scripts. I figured that maybe they can be helpful to users or developpers of GMAT.
All you need to do is unzip the file in the root dir of GMAT. You'll get one CMakeLists.txt file in directories /build, /src/base, /src/gui and /src/console.
Then go in the build directory, in a console window,
- Code: Select all
cmake .
if no error at this stage,
- Code: Select all
make
and eventually
- Code: Select all
make install
For advanced settings, just edit the CMakeLists.txt in the /build dir, and set ON or OFF for the options, or change the path to F2C or SPICE libs. The script automatically locates DevIL and wxWidgets

In the script, I put some safeguard options such that even if some optional libs are missing, it will simply disable the option and continue.
The script has been tested on Linux and Win/cygwin (but not thouroughly for all possible options). The Mac installation part may be missing but the compilation should work. For VC, these are useless even though it is possible to convert them to VC project files,but I do not think it is useful since VC project files are already provided...
Just let me know if you encounter any difficulties.
Joris
edit: small (flag) corrections for compilation under Linux/Ubuntu