Changes between Version 87 and Version 88 of AndroidPort


Ignore:
Timestamp:
Jan 8, 2012, 3:13:39 PM (12 years ago)
Author:
Anders Feder
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AndroidPort

    v87 v88  
    171171$ nano -w ~/android/0ad/jni/src/Android.mk
    172172}}}
    173 Under the comment reading "Add your application source files here...", add the `source/main.cpp` file:
     173Add the full path of the `jni/src/source` directory to the `LOCAL_C_INCLUDES` declaration, e.g.:
     174
     175{{{
     176LOCAL_C_INCLUDES := $(LOCAL_PATH)/$(SDL_PATH)/include \
     177        /home/youruser/android/0ad/jni/src/source
     178
     179}}}
     180Add the `source/main.cpp` file to the `LOCAL_SRC_FILES` declaration:
    174181
    175182{{{
     
    178185        source/main.cpp
    179186}}}
     187Then save the file and exit the text editor.
     188
    180189== Installing replacement libraries ==
    181190== Building the application ==