Also fixed potentially erroneous macro MAX_STRIP (would have problems with operation order in operations)
Btw used regex "((//|\;)[^ \t]|(for|while|if|while|do|void|int|bool)\(|(for|while|if|while|do)\ \(.*\)\;|\(\ |\ \)|//\ [a-z])" for this
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
Also fixed potentially erroneous macro MAX_STRIP (would have problems with operation order in operations)
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
Changed a few notes (such as for exes or for converted res files
Removed VS Code stuff because this is the kind of stuff that should go into people's global .gitignore and not in local ones
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
Basically for all "( expr )" I removed the spaces to be consistent with the rest
Also I used this enormous regex here : "((//|\;)[^ \t]|(for|while|if|while|do|void|int|bool)\(|(for|while|if|while|do)\ \(.*\)\;|\(\ |\ \))"
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
(intended to do this for all bosses but found nothing lol)
(btw changed my regex to "((//|\;)[^ \t]|(for|while|if|while|do|void|int|bool)\(|(for|while|if|while|do)\ \(.*\)\;)")
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
Just added a space if there was no space after "//"
Also I changed my regex to "((//|\;)[^ ]|(for|while|if|while|do|void|int|bool)\(|(for|while|if|while|do)\ \(.*\)\;)"
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
Also removed a few trailing spaces
Also added spaces after // and ; where it improves readability (also yes I used a regex for this : "(//|\;)[^\ ]")
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
-Og is because "It is a better choice than -O0 for producing debuggable code because some compiler passes that collect debug information are disabled at -O0." and for making the code at least optimized a little bit
-g3 is for adding maximum debug information (such as macro information)
Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
Now the Makefile and CMake build systems are identical:
Release builds are named CSE2, and debug builds are named CSE2d.
Language no longer has an effect on filename for the Makefile.
It's annoying, but vcpkg *really* didn't agree with it (it would just
build Debug anyway). The instructions provided with the repo already
tell you to manually define Release builds anyway.