diff --git a/.gitignore b/.gitignore index 7d14e76..0fd4ad8 100644 --- a/.gitignore +++ b/.gitignore @@ -8,4 +8,6 @@ building/main building/*.png building/*.svg -.idea/ \ No newline at end of file +.idea/ +compile_commands.json +local.sh diff --git a/building/main.cpp b/building/main.cpp index 761c5ca..0893b5e 100644 --- a/building/main.cpp +++ b/building/main.cpp @@ -108,7 +108,7 @@ struct Libregexis024BuildSystem { "libregexis024tools/stringmatching.h", }; - CTarget T("libregexis024", "shared_library"); + CTarget T{"libregexis024", "shared_library"}; T.additional_compilation_flags = getSomeRadFlags(); array_concat(T.units, compilation_units_release); if (build_type == "debug") @@ -121,9 +121,9 @@ struct Libregexis024BuildSystem { my_targets.push_back(T); } if (build_tests) { - CTarget T("libregexis024_test4", "executable"); + CTarget T{"libregexis024_test4", "executable"}; T.additional_compilation_flags = getSomeRadFlags(); - T.proj_deps = {CTargetDependenceOnProjectsLibrary("libregexis024")}; + T.proj_deps = {CTargetDependenceOnProjectsLibrary{"libregexis024"}}; T.units = {"libregexis024test/test4.cpp"}; my_targets.push_back(T); } @@ -143,8 +143,6 @@ int main(int argc, char** argv) { NormalCBuildSystemCommandMeaning cmd; regular_bs_cli_cmd_interpret(args, cmd); Libregexis024BuildSystem bs("debug", cmd); - show_build_units_array_with_image_viewer(bs.runlevel_1, "true"); - show_build_units_array_with_image_viewer(bs.runlevel_2, "true"); if (cmd.need_to_build) complete_tasks_of_build_units(bs.runlevel_1); if (cmd.need_to_install) @@ -152,4 +150,4 @@ int main(int argc, char** argv) { } catch (const buildSystemFailure& e) { printf("Build system failure\n""%s\n", e.toString().c_str()); } -} \ No newline at end of file +}