Changeset 85:ad0ce3502257 in xplra


Ignore:
Timestamp:
05/12/13 05:40:44 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Added a configure switch to enable compilation for X-Plane 9

Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • .hgignore

    r80 r85  
    44aclocal.m4
    55autom4te.cache
    6 configure
     6configure$
    77depcomp
    88install-sh
  • src/plugin/src/xplra/Makefile.am

    r82 r85  
    33AM_CXXFLAGS=$(VSCPL_CFLAGS) $(LIBXPLCOMMON_CFLAGS)
    44
    5 AM_CPPFLAGS=-DXPLM200
     5if XPLANE_9
     6XPLMDEFINES=-DXPLM100
     7else
     8XPLMDEFINES=-DXPLM200 -DXPLM210
     9endif
     10
     11AM_CPPFLAGS=$(XPLMDEFINES)
    612
    713SRCS= \
     
    1824        SetMultiDataRefRequest.cc       \
    1925        ReloadPluginsRequest.cc         \
    20         SaveSituationRequest.cc         \
    2126        Globals.cc                      \
    2227        MessageWindow.cc                \
     
    2429        Menu.cc                         \
    2530        HotkeyHandler.cc
     31
     32if !XPLANE_9
     33SRCS+=SaveSituationRequest.cc
     34endif
    2635
    2736noinst_HEADERS= \
Note: See TracChangeset for help on using the changeset viewer.