virtualx-engine/platform/android
Rémi Verschelde c2a669a9f0 SCons: Review uses of CCFLAGS, CXXFLAGS and CPPFLAGS
Many contributors (me included) did not fully understand what CCFLAGS,
CXXFLAGS and CPPFLAGS refer to exactly, and were thus not using them
in the way they are intended to be.

As per the SCons manual: https://www.scons.org/doc/HTML/scons-user/apa.html

- CCFLAGS: General options that are passed to the C and C++ compilers.
- CFLAGS: General options that are passed to the C compiler (C only;
  not C++).
- CXXFLAGS: General options that are passed to the C++ compiler. By
  default, this includes the value of $CCFLAGS, so that setting
  $CCFLAGS affects both C and C++ compilation.
- CPPFLAGS: User-specified C preprocessor options. These will be
  included in any command that uses the C preprocessor, including not
  just compilation of C and C++ source files [...], but also [...]
  Fortran [...] and [...] assembly language source file[s].

TL;DR: Compiler options go to CCFLAGS, unless they must be restricted
to either C (CFLAGS) or C++ (CXXFLAGS). Preprocessor defines go to
CPPFLAGS.
2019-04-24 16:57:58 +02:00
..
export Android now (optionally) builds the template when exporting 2019-04-07 15:46:52 -03:00
java Android now (optionally) builds the template when exporting 2019-04-07 15:46:52 -03:00
audio_driver_jandroid.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
audio_driver_jandroid.h Restructuring glue code to make it easier to extend 2019-04-05 21:44:06 +11:00
audio_driver_opensl.cpp Use mix rate and output latency constants in audio drivers 2019-04-06 12:37:25 +02:00
audio_driver_opensl.h Request Android record permission when needed 2019-03-08 12:38:36 -03:00
detect.py SCons: Review uses of CCFLAGS, CXXFLAGS and CPPFLAGS 2019-04-24 16:57:58 +02:00
dir_access_jandroid.cpp Android: Fixed problems with memory leaks due to absent ReleaseStringUTFChars calls. 2019-02-27 15:11:08 +03:00
dir_access_jandroid.h Restructuring glue code to make it easier to extend 2019-04-05 21:44:06 +11:00
file_access_android.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
file_access_android.h Add FileAccess::set_unix_permissions for Unix platforms 2019-04-07 15:45:30 -03:00
file_access_jandroid.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
file_access_jandroid.h Add FileAccess::set_unix_permissions for Unix platforms 2019-04-07 15:45:30 -03:00
java_class_wrapper.cpp Android: Fixed problems with memory leaks due to absent ReleaseStringUTFChars calls. 2019-02-27 15:11:08 +03:00
java_class_wrapper.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
java_godot_io_wrapper.cpp Restructuring glue code to make it easier to extend 2019-04-05 21:44:06 +11:00
java_godot_io_wrapper.h Restructuring glue code to make it easier to extend 2019-04-05 21:44:06 +11:00
java_godot_lib_jni.cpp Restructuring glue code to make it easier to extend 2019-04-05 21:44:06 +11:00
java_godot_lib_jni.h Restructuring glue code to make it easier to extend 2019-04-05 21:44:06 +11:00
java_godot_wrapper.cpp Restructuring glue code to make it easier to extend 2019-04-05 21:44:06 +11:00
java_godot_wrapper.h Restructuring glue code to make it easier to extend 2019-04-05 21:44:06 +11:00
logo.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2018-06-28 19:17:41 +02:00
os_android.cpp Add Input::get_current_cursor_shape 2019-04-15 15:22:09 -03:00
os_android.h Add Input::get_current_cursor_shape 2019-04-15 15:22:09 -03:00
platform_config.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
power_android.cpp Platform: Ensure classes match their header filename 2019-02-12 16:56:25 +01:00
power_android.h Platform: Ensure classes match their header filename 2019-02-12 16:56:25 +01:00
run_icon.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2018-06-28 19:17:41 +02:00
SCsub Android now (optionally) builds the template when exporting 2019-04-07 15:46:52 -03:00
string_android.h Android: Fixed problems with memory leaks due to absent ReleaseStringUTFChars calls. 2019-02-27 15:11:08 +03:00
thread_jandroid.cpp Improve custom thread numbering for POSIX 2019-01-25 00:59:07 +01:00
thread_jandroid.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00