[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: cmake.jpg (39 KB, 946x198)
39 KB
39 KB JPG
Here is your build system Chud.
if(condition)
...
else()
...
endif()

How does this become the de facto standard?
>>
>>106658555
Use meson
>>
>>106658567
I'm using Meson and I love it.
>>
File: 1727995988404359.jpg (78 KB, 1125x1147)
78 KB
78 KB JPG
I simply call the compiler from the command line as many times as necessary until I'm done.
>>
my build system is ./build.sh

no incremental building, just a single compilation unit with source files stapled together as a line of #includes. unity builds are the way
>>
chatgpt solved cmake.
I unironically don't even look at my cmake files without asking him first.
>>
>>106658555
>well it's that time of day to create a thread based on a topic i know nothing about
>*reddit screenshot*
absolutely kill yourself.

>>106658837
>a text parrot
>solving things
no amount of ai memeshit will ever make you intelligent or even put you on the same even playing field as op the drooling retard.
>>
>>106658555
No one really knows.
>>
>>106658877
When you're fighting with cmake, I'm coding the next facebook, so really, who's the intelligent one?
>>
>>106658971
no one who wastes their time posting here is making the next anything
>>
>>106658567
>>106658614

I have yet to try Meson. Heard good things about it. Though I typically roll my own "build system" with shell scripts and unity builds with C. What are your thoughts on Cmake?
>>
>meson
>cmake
>niggja
all garbage. if you use anything besides make you're a faggot.
>>
why can't troonix have something like vcxproj?
>>
>>106659344
you can emulate it by putting sleep(30) at the top of your build script
>>
>>106659317
CMake is ass, the only reason to use it is if a project already uses cmake. I have used it professionally and I hate it. Meson is very simple, you should give it a try.
>>
>>106659344
vcxproj is fucking garbage
>>
>>106659344
that's codeblocks (if you want to add .h and .cpp source files to your project in a GUI).
but codeblocks doesn't work well on windows, mainly because after msvc added address sanitizer, and then clang-cl copies mingw's build syntax, it made mingw obsolete.
and the problem with codeblocks is that windows mingw and linux gcc have different build flags and settings. It's usually minor but it forces you to duplicate your targets (-lm -pthreads)
clang-cl doesn't work with codeblocks because codeblocks doesn't care about msvc and clang-cl uses msvc's debug format (which makes it compatible with msvc tools like windbg time travel debugger and profilers) and it lacks a language server like clangd / intellisense which saves time, and also codeblocks lacks git, which saves a lot of time even if you think it doesn't, I had plenty of times where I needed to undo things, and also review my changes / todo's before commiting (Clion warns me about TODO's before commit and it's free for non commerical license but it uses cmake).
I was using codeblocks when I had 2gb of ram, and I believe Visual Studios only became free to use around VS 2013, and at around 2019 msvc officially added address sanitizer which is a godly debugging tool with zero false positives
>>
>>106658555
Just use make on windows.
>>
>>106659992
make is so utterly worthless. Its not fit for any purpose.
>>
CMake is for nerds. The guys in OP's screenshot are dweebs.
>>
> mvn package
> go build
> cargo build
> dotnet build

It can be so much easier
>>
File: poo.png (9 KB, 899x179)
9 KB
9 KB PNG
>>106658555
>build systems
god no, never again
>>
The fuck is chud?
>>
>>106662015
/pol/ slang
>>
I must be a cmake fuckin genius because I just took the time to read a tutorial and have been able to use it without issue for three years
https://cliutils.gitlab.io/modern-cmake/README.html
>>
Its still a lot better than autoconf
>>
>>106658567
Meson is to CMake what Rust is to C++
>>
>>106664489
So it's a worse product fixing imaginary issues?
>>
>>106662029
/lgbt/'s actually
so it comes from preddit
>>
>>106658567
>>106658614
>just make python a dependency of your c++ project bro
lol
lmao even
>>
>>106665256
https://github.com/muon-build/muon
>>
For me it's GNU Make
>>
>>106665256
python is installed on every distro oob
>>
>>106666227
not on windows/arch, the only relevant desktop distros
>>
if you dont understand how cpp build process works, then you're gonna have a hard time with any build system
>>
>>106666389
 cargo build . 
>>
>>106666397
why do you feel the need to insert that language into every thread?
>>
>>106666414
bc marketing and creating a narrative, and grossing out all non rustNIGGERS from a space.
to reinforce narrative-crafting
>>
>>106666414
>>106666456
we counter that with infinite patience and superior craftsmanship which arent neative traits
in a way rust could even be considered a purifying fire for programming forums
>>
>>106666709
you guys are like vegans, no one likes you, but you still force yourself into every discussion
>>
>>106666906
you mean rustniggers?
bc at any time its a safe bet that in a non rust non lisp thread on avarage theres 10% of c-ultists
were everywhere
even lgbt tranies program in c

you thought lgbt infiltrated the world?
well,
c infiltrated lgbt
you cant win
were like cockroaches
were everywhere even if you dont realize it
and even a fukken nuke is not gonna remove us
>>
>>106667396
you're both the same type of cultists, dont just try to move the blame to someone else
you sound like an indian that way
>>
>>106667427
>t. fishing
yes c is a cult
we have that aura of elitism and shit
but the inner circle secret is:
c is actually retard easy
and thats the only reason we program in c
the femtosecond someone finds something that fill c niche, but better
c is gonna lose 80% of its userbase

but that didnt happen
not for a lack of trying
since 50 fucking years
to be honest

i mean
do your best but prepare for the worst
and thats how youre gonna get the optimal product bc you will focus on satisfying a need that actually exists as opposed to creating a need
you fuc king 80 iq marketingroid fucking retard mongoloid detritus of a failed codom
>>
yes i know marketing btw
im not only a good prgrammer but also am fluent in marketing
i didnt do marketing bc im a retard
i didnt do programming bc im a nerd
i did both bc im a polymath
i dominate you in hard sci ences
and i dominate you on soft sciences
bc im just plain superior
im better. its just how it is
>>
File: atf-outplayed.jpg (73 KB, 655x1024)
73 KB
73 KB JPG
self up
fuck marketingroids
fuck corporate
a gooner from fukken aicg is superior to a fukken marketingroid
picnotrel btw
>>
>still on page one
fk n marketingroids, i swear...
insulting and shit
fukken dissing and shit
and also: reedditspacing
fkn scum
death to great satan aka marketingroids
theyre at the root of enshittification, actually
unironically so



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.