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:
parent
388d714fdc
commit
0b2a45e256
2 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue