I try to use this little script to compile FlightGear (debug release) against a debug version (already compiled and installed to /opt/debug) of SimGear:
- Code: Select all
#!/bin/sh
export SIMGEAR_DIR=/opt/debug
cmake ../../../flightgear/ -DCMAKE_BUILD_TYPE:STRING=Debug
But it keeps using /opt as prefix (which holds the release builds).
I use latest master of both.
Regards,
Roland