]> Kevux Git Server - fll/commitdiff
Cleanup: remove project_level setting
authorKevin Day <thekevinday@gmail.com>
Sun, 7 Jun 2020 19:59:08 +0000 (14:59 -0500)
committerKevin Day <thekevinday@gmail.com>
Sun, 7 Jun 2020 19:59:08 +0000 (14:59 -0500)
Remove this stale code.
This was mostly removed already in previous commits from the settings.
This was replaced by the path_headers setting.

level_3/fake/c/private-build.c
level_3/fake/c/private-build.h

index 0aa64d57c526b3867b3cc961e2f90654f6b256e0..763e0fc019d3c4487e20d5d12efc7046eb11fc94 100644 (file)
@@ -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);
index ddb66304434de7a566f4228bb211460659b0afa1..e3e25d011a1a03a92ba1f2cb0a98fe93972b7a44 100644 (file)
@@ -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"