diff --git a/config/competitest.nix b/config/competitest.nix index 0de896b..04ff0d6 100644 --- a/config/competitest.nix +++ b/config/competitest.nix @@ -1 +1,27 @@ -{ plugins = { competitest = { enable = true; }; }; } +{ + plugins = { + competitest = { + enable = true; + settings = { + compile_command = { + cpp = { + exec = "g++"; + args = [ + "-Wall" + "$(FNAME)" + "-o" + "$(FNOEXT)" + "-g" + "-Wextra" + "-Wshadow" + "-Wconversion" + "-Wfloat-equal" + "-Wduplicated-cond" + "-Wlogical-op" + ]; + }; + }; + }; + }; + }; +}