-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from SeppahBaws/fix/warning-lvl-4
Fix warning lvl 4 errors + fix g++ compile error
- Loading branch information
Showing
5 changed files
with
16 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
*.sln | ||
*.vcxproj | ||
*.vcxproj.* | ||
Makefile | ||
|
||
# Output | ||
bin/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
./premake5 gmake2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,11 @@ | ||
# To build: simply call ./build.sh | ||
# To also run when build completed pass the flag `-r` or `--run` | ||
|
||
# Make build folder | ||
mkdir -p ./bin | ||
# To also run when build completed pass the flag `-r` | ||
|
||
# Compile | ||
g++ -std=c++17 ./logtools/src/main.cpp -o ./bin/program.o | ||
make | ||
|
||
# Run if requested | ||
if echo $* | grep -e "--run" -q | ||
if echo $* | grep -e "-r" -q | ||
then | ||
./bin/program.o | ||
./bin/Debug-x86_64-linux/logtools | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters