Skip to content

Commit

Permalink
Added sound to main application
Browse files Browse the repository at this point in the history
  • Loading branch information
GhostVaibhav committed Mar 28, 2021
1 parent 4e5302f commit 5911c9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ int main(int argc,char* argv[]) {
string cmd;
cmd = "g++ -Isrc/include -c " + fileName + ".cpp";
system(cmd.c_str());
cmd = "g++ " + fileName + ".o -o " + fileName + " -Lsrc/lib -lsfml-graphics -lsfml-window -lsfml-system";
cmd = "g++ " + fileName + ".o -o " + fileName + " -Lsrc/lib -lsfml-audio -lsfml-graphics -lsfml-window -lsfml-system icon.res";
system(cmd.c_str());
cmd = "del " + fileName + ".o";
system(cmd.c_str());
Expand Down

0 comments on commit 5911c9c

Please sign in to comment.