Changes between Version 87 and Version 88 of AndroidPort
- Timestamp:
- Jan 8, 2012, 3:13:39 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AndroidPort
v87 v88 171 171 $ nano -w ~/android/0ad/jni/src/Android.mk 172 172 }}} 173 Under the comment reading "Add your application source files here...", add the `source/main.cpp` file: 173 Add the full path of the `jni/src/source` directory to the `LOCAL_C_INCLUDES` declaration, e.g.: 174 175 {{{ 176 LOCAL_C_INCLUDES := $(LOCAL_PATH)/$(SDL_PATH)/include \ 177 /home/youruser/android/0ad/jni/src/source 178 179 }}} 180 Add the `source/main.cpp` file to the `LOCAL_SRC_FILES` declaration: 174 181 175 182 {{{ … … 178 185 source/main.cpp 179 186 }}} 187 Then save the file and exit the text editor. 188 180 189 == Installing replacement libraries == 181 190 == Building the application ==