From: Kevin Day Date: Sun, 7 Jun 2020 19:59:08 +0000 (-0500) Subject: Cleanup: remove project_level setting X-Git-Tag: 0.5.0~186 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=41b32bf11e306e76a0db6bd93f603f15330e9ab6;p=fll Cleanup: remove project_level setting Remove this stale code. This was mostly removed already in previous commits from the settings. This was replaced by the path_headers setting. --- diff --git a/level_3/fake/c/private-build.c b/level_3/fake/c/private-build.c index 0aa64d5..763e0fc 100644 --- a/level_3/fake/c/private-build.c +++ b/level_3/fake/c/private-build.c @@ -1321,7 +1321,6 @@ extern "C" { fake_build_setting_name_path_program_static, fake_build_setting_name_process_post, fake_build_setting_name_process_pre, - fake_build_setting_name_project_level, fake_build_setting_name_project_name, fake_build_setting_name_search_exclusive, fake_build_setting_name_search_shared, @@ -1366,7 +1365,6 @@ extern "C" { fake_build_setting_name_path_program_static_length, fake_build_setting_name_process_post_length, fake_build_setting_name_process_pre_length, - fake_build_setting_name_project_level_length, fake_build_setting_name_project_name_length, fake_build_setting_name_search_exclusive_length, fake_build_setting_name_search_shared_length, @@ -1393,7 +1391,6 @@ extern "C" { f_string_dynamics path_program_static = f_string_dynamics_initialize; f_string_dynamics process_post = f_string_dynamics_initialize; f_string_dynamics process_pre = f_string_dynamics_initialize; - f_string_dynamics project_level = f_string_dynamics_initialize; f_string_dynamics project_name = f_string_dynamics_initialize; f_string_dynamics search_exclusive = f_string_dynamics_initialize; f_string_dynamics search_shared = f_string_dynamics_initialize; @@ -1437,7 +1434,6 @@ extern "C" { &path_program_static, &process_post, &process_pre, - &project_level, &project_name, &search_exclusive, &search_shared, @@ -1561,7 +1557,6 @@ extern "C" { fake_build_setting_name_path_program_static, fake_build_setting_name_process_post, fake_build_setting_name_process_pre, - fake_build_setting_name_project_level, fake_build_setting_name_project_name, fake_build_setting_name_search_exclusive, fake_build_setting_name_search_shared, @@ -1589,7 +1584,6 @@ extern "C" { &path_program_static, &process_post, &process_pre, - &project_level, &project_name, &search_exclusive, &search_shared, @@ -1618,7 +1612,6 @@ extern "C" { 0, 0, 0, - 0, &setting->search_exclusive, &setting->search_shared, &setting->search_static, @@ -1641,7 +1634,6 @@ extern "C" { &setting->path_program_static, &setting->process_post, &setting->process_pre, - &setting->project_level, &setting->project_name, 0, 0, @@ -1680,7 +1672,6 @@ extern "C" { 0, 0, 0, - 0, &setting->version_target, }; @@ -1703,7 +1694,6 @@ extern "C" { 3, 3, 3, - 3, 1, 1, 1, @@ -1713,7 +1703,7 @@ extern "C" { 5, }; - for (f_array_length i = 0; i < 25; i++) { + for (f_array_length i = 0; i < 24; i++) { if (settings_single_source[i]->used == 0) continue; if (settings_single_source[i]->used > 1) { @@ -1857,7 +1847,6 @@ extern "C" { f_macro_string_dynamics_delete_simple(path_program_static); f_macro_string_dynamics_delete_simple(process_post); f_macro_string_dynamics_delete_simple(process_pre); - f_macro_string_dynamics_delete_simple(project_level); f_macro_string_dynamics_delete_simple(project_name); f_macro_string_dynamics_delete_simple(search_exclusive); f_macro_string_dynamics_delete_simple(search_shared); diff --git a/level_3/fake/c/private-build.h b/level_3/fake/c/private-build.h index ddb6630..e3e25d0 100644 --- a/level_3/fake/c/private-build.h +++ b/level_3/fake/c/private-build.h @@ -54,7 +54,6 @@ extern "C" { f_string_dynamic path_program_static; f_string_dynamic process_post; f_string_dynamic process_pre; - f_string_dynamic project_level; f_string_dynamic project_name; f_string_dynamic version_major; f_string_dynamic version_micro; @@ -104,7 +103,6 @@ extern "C" { f_string_dynamic_initialize, \ f_string_dynamic_initialize, \ f_string_dynamic_initialize, \ - f_string_dynamic_initialize, \ f_string_dynamics_initialize, \ f_string_dynamics_initialize, \ f_string_dynamics_initialize, \ @@ -137,7 +135,6 @@ extern "C" { f_macro_string_dynamic_delete_simple(setting.path_program_static) \ f_macro_string_dynamic_delete_simple(setting.process_post) \ f_macro_string_dynamic_delete_simple(setting.process_pre) \ - f_macro_string_dynamic_delete_simple(setting.project_level) \ f_macro_string_dynamic_delete_simple(setting.project_name) \ f_macro_string_dynamic_delete_simple(setting.version_major) \ f_macro_string_dynamic_delete_simple(setting.version_micro) \ @@ -193,7 +190,6 @@ extern "C" { #define fake_build_setting_name_path_program_static "path_program_static" #define fake_build_setting_name_process_post "process_post" #define fake_build_setting_name_process_pre "process_pre" - #define fake_build_setting_name_project_level "project_level" #define fake_build_setting_name_project_name "project_name" #define fake_build_setting_name_search_exclusive "search_exclusive" #define fake_build_setting_name_search_shared "search_shared" @@ -236,7 +232,6 @@ extern "C" { #define fake_build_setting_name_path_program_static_length 19 #define fake_build_setting_name_process_post_length 12 #define fake_build_setting_name_process_pre_length 11 - #define fake_build_setting_name_project_level_length 13 #define fake_build_setting_name_project_name_length 12 #define fake_build_setting_name_search_exclusive_length 16 #define fake_build_setting_name_search_shared_length 13 @@ -246,7 +241,7 @@ extern "C" { #define fake_build_setting_name_version_minor_length 13 #define fake_build_setting_name_version_target_length 14 - #define fake_build_setting_total 42 + #define fake_build_setting_total 41 #define fake_build_setting_bool_yes "yes" #define fake_build_setting_bool_no "no"