godot/core
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
..
bind Style: Apply new changes from clang-format 8.0 2019-04-09 17:09:48 +02:00
io Add FileAccess::set_unix_permissions for Unix platforms 2019-04-07 15:45:30 -03:00
math Merge pull request #26064 from JFonS/add_frustum_camera_mode 2019-04-23 06:20:13 +03:00
os Add FileAccess::set_unix_permissions for Unix platforms 2019-04-07 15:45:30 -03:00
array.cpp Don't crash on printing nested types 2019-04-20 02:01:55 +02:00
array.h Don't crash on printing nested types 2019-04-20 02:01:55 +02:00
class_db.cpp Add ability to edit editor feature profiles 2019-04-08 19:18:51 -03:00
class_db.h Add ability to edit editor feature profiles 2019-04-08 19:18:51 -03:00
color_names.inc
color.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
color.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
command_queue_mt.cpp Fix alignment and locking issues with CommandQueueMT 2019-02-16 04:00:19 +01:00
command_queue_mt.h Fix alignment and locking issues with CommandQueueMT 2019-02-16 04:00:19 +01:00
compressed_translation.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
compressed_translation.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
core_builders.py
core_string_names.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
core_string_names.h Core: Ensure classes match their header filename 2019-02-12 13:34:25 +01:00
cowdata.h Repair String lstrip and rstrip. 2019-01-07 17:34:44 +00:00
dictionary.cpp Don't crash on printing nested types 2019-04-20 02:01:55 +02:00
dictionary.h Don't crash on printing nested types 2019-04-20 02:01:55 +02:00
engine.cpp Add hex-encoded version number to Engine singleton for easy comparisons 2019-02-17 13:38:52 +01:00
engine.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
error_list.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
error_macros.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
error_macros.h Typo fix: "the function exists" -> "the function exits" 2019-03-25 04:02:04 +13:00
func_ref.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
func_ref.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
global_constants.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
global_constants.h Core: Ensure classes match their header filename 2019-02-12 13:34:25 +01:00
hash_map.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
hashfuncs.h Core: Ensure classes match their header filename 2019-02-12 13:34:25 +01:00
image.cpp Added ability for multiple images to be imported as an atlas 2019-04-19 15:56:34 -03:00
image.h Ensure ETC2 textures are ALSO compressed to Po2 when have mipmaps. Fixes #26733 2019-03-07 12:16:20 -03:00
input_map.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
input_map.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
int_types.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
list.h Don't crash on printing nested types 2019-04-20 02:01:55 +02:00
make_binders.py
map.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
message_queue.cpp Do not use the workaround for desktop nvidia on mobile and html5. 2019-01-14 11:24:00 -03:00
message_queue.h Do not allow adding tasks while in the middle of flushing a message queue 2019-01-14 11:00:05 -03:00
method_bind.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
method_bind.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
method_ptrcall.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
node_path.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
node_path.h Core: Ensure classes match their header filename 2019-02-12 13:34:25 +01:00
oa_hash_map.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
object.cpp Object::script may not be a valid Ref<Script> 2019-04-20 02:13:28 +02:00
object.h Added ability for multiple images to be imported as an atlas 2019-04-19 15:56:34 -03:00
ordered_hash_map.h Don't crash on printing nested types 2019-04-20 02:01:55 +02:00
packed_data_container.cpp Style: Apply new changes from clang-format 8.0 2019-04-09 17:09:48 +02:00
packed_data_container.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
pair.h Fix many asan and ubsan reported issues 2019-01-30 06:43:56 +01:00
path_remap.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
path_remap.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
pool_allocator.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
pool_allocator.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
pool_vector.cpp Core: Ensure classes match their header filename 2019-02-12 13:34:25 +01:00
pool_vector.h Core: Ensure classes match their header filename 2019-02-12 13:34:25 +01:00
print_string.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
print_string.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
project_settings.cpp Enable object decoding when serializing binary project settings 2019-04-15 15:30:54 +02:00
project_settings.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
ref_ptr.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
ref_ptr.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
reference.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
reference.h Added ability for multiple images to be imported as an atlas 2019-04-19 15:56:34 -03:00
register_core_types.cpp Core: Ensure classes match their header filename 2019-02-12 13:34:25 +01:00
register_core_types.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
resource.cpp No more metadata and dependency indices kept in resources saved. 2019-04-11 14:36:58 -03:00
resource.h No more metadata and dependency indices kept in resources saved. 2019-04-11 14:36:58 -03:00
rid.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
rid.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
ring_buffer.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
safe_refcount.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
safe_refcount.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
script_debugger_local.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
script_debugger_local.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
script_debugger_remote.cpp Revert accidental commits 2019-03-20 21:43:55 +01:00
script_debugger_remote.h Revert accidental commits 2019-03-20 21:43:55 +01:00
script_language.cpp Allow class_name scripts to have nested inheritance 2019-03-09 00:47:27 -03:00
script_language.h Fix -Wnon-virtual-dtor warnings. 2019-04-02 14:07:29 +02:00
SCsub SCons: Review uses of CCFLAGS, CXXFLAGS and CPPFLAGS 2019-04-24 16:57:58 +02:00
self_list.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
set.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
simple_type.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
sort_array.h Core: Ensure classes match their header filename 2019-02-12 13:34:25 +01:00
string_buffer.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
string_builder.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
string_builder.h Use StringBuilder in C# bindings generator 2019-04-19 02:11:39 +02:00
string_name.cpp Core: Ensure classes match their header filename 2019-02-12 13:34:25 +01:00
string_name.h Core: Ensure classes match their header filename 2019-02-12 13:34:25 +01:00
translation.cpp Add -Wshadow=local to warnings and fix reported issues. 2019-02-20 19:44:12 +01:00
translation.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
type_info.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
typedefs.h Fix -Wimplicit-fallthrough warnings from GCC 8 2019-04-05 15:14:53 +02:00
ucaps.h Reorder reverse caps characters table for string lower case conversion 2019-04-05 11:10:15 +03:00
undo_redo.cpp Fix 'UndoRedo' increasing its version on actions that should be merged 2019-04-04 14:37:45 -03:00
undo_redo.h Fix 'UndoRedo' increasing its version on actions that should be merged 2019-04-04 14:37:45 -03:00
ustring.cpp fixed an access after free in OS_X11::set_context. 2019-04-22 13:34:17 +01:00
ustring.h fixed an access after free in OS_X11::set_context. 2019-04-22 13:34:17 +01:00
variant_call.cpp Merge pull request #24269 from xsellier/feature/master-add-sha256 2019-04-23 06:38:03 +03:00
variant_op.cpp Style: Apply new changes from clang-format 8.0 2019-04-09 17:09:48 +02:00
variant_parser.cpp Merge pull request #26787 from ptrojahn/utf8assign 2019-04-22 12:02:05 +02:00
variant_parser.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
variant.cpp Don't crash on printing nested types 2019-04-20 02:01:55 +02:00
variant.h Don't crash on printing nested types 2019-04-20 02:01:55 +02:00
vector.h Core: Ensure classes match their header filename 2019-02-12 13:34:25 +01:00
version.h Add hex-encoded version number to Engine singleton for easy comparisons 2019-02-17 13:38:52 +01:00
vmap.h Replace a few #if/#elif with #ifdef and "#elif defined" 2019-04-05 23:41:51 +02:00
vset.h Replace a few #if/#elif with #ifdef and "#elif defined" 2019-04-05 23:41:51 +02:00