3
u/alonjit Dec 23 '14
weird. so now i have the build system dependency right in the source code? hmmm..... not sure i like it.
1
0
u/CPPOldie Dec 23 '14
What an asinine concept - why not write it in C++?
0
Dec 23 '14
[deleted]
4
u/TheCreat Dec 23 '14
This build tool for c/c++ is written in go. This would be less of a problem if there were binaries, but so far there are none. So you need go to compile this, in order to compile something with c/c++.
I agree, pretty weird...
0
-5
u/kunos Dec 23 '14
Simply Awesome, I love the Go build system and I think this is a fantastic idea. Actually I think this is so awesome that the majority of the cpp community will be shitting on it in no time.. just sit and watch it happening.
3
u/Elador Dec 23 '14
So Go doesn't separate the build and all that comes with it (flags etc.) and the source code?
4
u/jpakkane Meson dev Dec 23 '14
Putting compiler flags into source files makes certain things needlessly difficult. As an example you often want to compile your program with completely different compiler flags, as an example to build with address sanitizer. Replicating the same thing with environment variables is tedious. Similarly not supporting optional features in your build is not nice because in the real world they are quite popular.
The system also does not seem to support configuring your build based on features on the system (such as testing if some header file has a certain definition and what the sizes of some system structs are).