1
0
Fork 0

Add the command-line yasim compiler to the automake configuration. It

installs into the build directory as "yasim".  Simply run it with the
xml file as its only argument.
This commit is contained in:
andy 2002-11-30 06:28:18 +00:00
parent 388d714fdc
commit 0b2a45e256
2 changed files with 7 additions and 1 deletions

View file

@ -23,4 +23,10 @@ libYASim_a_SOURCES = \
Vector.hpp \
Wing.cpp Wing.hpp
bin_PROGRAMS = yasim
yasim_SOURCES = yasim-test.cpp
yasim_LDADD = libYASim.a -lsgxml -lsgmisc -lsgdebug
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src

View file

@ -45,7 +45,7 @@ int main(int argc, char** argv)
printf(" Cruise AoA: %f\n", aoa);
printf(" Tail Incidence: %f\n", tail);
printf("Approach Elevator: %f\n", a->getApproachElevator());
printf(" CG: %.1f, %.1f, %.1f\n", cg[0], cg[1], cg[2]);
printf(" CG: %.3f, %.3f, %.3f\n", cg[0], cg[1], cg[2]);
if(a->getFailureMsg())
printf("SOLUTION FAILURE: %s\n", a->getFailureMsg());