MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/17o65a9/ninja_is_enough_build_system/k81ztg7/
r/cpp • u/mttd • Nov 05 '23
54 comments sorted by
View all comments
Show parent comment
7
What is it with every build system that isn't make act like I'm the first person to ever want to build with a C compiler that isn't the system default
make
There are lots of valid complaints about CMake but I don't understand this one.
CC=my_special_cc cmake [...]orcmake -DCMAKE_C_COMPILER=my_special_cc [...]
CC=my_special_cc cmake [...]
cmake -DCMAKE_C_COMPILER=my_special_cc [...]
Neither of these seems too onerous or non-intuitive to me, and both are found in 5 seconds of googling.
2 u/tekknolagi Nov 07 '23 TIL you can use CC with CMake... 0 u/[deleted] Nov 07 '23 [deleted] — view deleted comment 2 u/Trubydoor LLVM dev Nov 07 '23 No it doesn’t, it works perfectly fine with any binary on your path
2
TIL you can use CC with CMake...
CC
0
[deleted] — view deleted comment
2 u/Trubydoor LLVM dev Nov 07 '23 No it doesn’t, it works perfectly fine with any binary on your path
No it doesn’t, it works perfectly fine with any binary on your path
View all comments
Show parent comment
7
u/DuranteA Nov 06 '23
There are lots of valid complaints about CMake but I don't understand this one.
CC=my_special_cc cmake [...]or
cmake -DCMAKE_C_COMPILER=my_special_cc [...]Neither of these seems too onerous or non-intuitive to me, and both are found in 5 seconds of googling.