I've gotten the new JSBSim code to build in FlightGear. But, I had to rename the
JSBSim.cxx file to JSBSim.cpp in order to get the Makefile that was generated 
from
Makefile.am to work. I also had to refer to the JSBSim.cxx file as JSBSim.cpp 
in my
Makefile.am. This all seems to work fine when I build JSBSim in standalone 
mode, but with
FlightGear I can't seem to get the .cxx extension to be recognized. Does anyone 
know what
kind of special considerations need to be made in order to get .cxx files to be
recognized.

This is what I am using as Makefile.am in src/FDM/JSBSim/ now:

--- start ---
SUBDIRS = initialization models input_output math
noinst_LIBRARIES = libJSBSim.a
libJSBSim_a_SOURCES =  JSBSim.cpp FGFDMExec.cpp FGJSBBase.cpp FGState.cpp
INCLUDES = -I$(top_srcdir)/src/FDM/JSBSim -I$(top_srcdir)/src
AM_CXXFLAGS = -DFGFS
--- end ---

Jon


_______________________________________________
Flightgear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to