gnulag / circ

#gnulag's IRC bot
BSD 2-Clause "Simplified" License
3 stars 3 forks source link

Build setup; environment variable-based config #1

Closed flotwig closed 5 years ago

flotwig commented 5 years ago

This PR:

My C-fu is weak, but this is better than nothing!

flotwig commented 5 years ago

Split up the log so I could respond to changes:

  1. Nice - updated it to do exactly that. This is way better.
  2. Hmm, I like the glob, I think it makes more sense to do it that way vs. updating the CMakeLists.txt for every new file. Is there a technical reason that we shouldn't?
  3. Let's break away from C style and use braces on the same line, I think most people in #gnulag prefer it. I'd also be open to using an autoformatter on pre-commit or something, but that'd probably be a separate PR.
  4. Fixed.
rkitover commented 5 years ago

Various reasons not to use GLOB see:

https://stackoverflow.com/questions/32411963/why-is-cmake-file-glob-evil

flotwig commented 5 years ago

Makes sense. Updated.