[ / / / / / / / / / / / / / ] [ dir / animu / arepa / cafechan / general / htg / late / leftpol / sw ][Options][ watchlist ]

/tech/ - Technology

You can now write text to your AI-generated image at https://aiproto.com It is currently free to use for Proto members.
Email
Comment *
File
Select/drop/paste files here
Password (Randomized for file and post deletion; you may also set your own.)
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Expand all images

File (hide): 22d733d28bb3ac8⋯.gif (90.12 KB, 460x460, 1:1, 43107265.gif) (h) (u)

[–]

 No.999354[Watch Thread][Show All Posts]

Can someone explain me why aren't we using CMake yet for most projects? Seriously, it solves most portability build system problems by abstracting the underlying utilities. Also argument that it can't generate standalone makefiles is incorrect, as the CMake system is not made to solely create makefiles, but rather create building procedure suitable for any operating system. The only argument against is that the CMake should not create makefiles but instead use them as the actual build system. But there isn't anything better. Right now, we have only two choices - use CMake or create our own build system capable of solving its problems.

Pic not related.

 No.999358>>999368 >>999370

Scons > CMake


 No.999359

Because BSD Make is only succeeded by 9 mk?


 No.999361>>999367

Introducing a C++ dependency via the build systems is retarded. Make and its successors/improvements (mk, bmake, GNU make) are already good enough.


 No.999367>>999379 >>999381

>>999361

Except portability. Try to write a makefile that would work automatically on Windows, Linux, BSD and OSX, also including some library(eg. SDL2). Clue: You'd need to write very large amounts of code in order to accomplish it.


 No.999368

>>999358

Slow as hell. Moreover, it's dependent on Python.


 No.999370

>>999358

Please, fucking kill yourself.


 No.999377

File (hide): 275286846288e05⋯.jpg (119.92 KB, 1024x683, 1024:683, steve klabnik 7.jpg) (h) (u)

I'm using cargo tbh.


 No.999379>>999382

>>999367

Instead of writing portable makefiles, why not use a portable Make?


 No.999381

>>999367

>automatically on Windows, Linux, BSD and OSX

Only support POSIX. If you really need a different OS, make a "Makefile.os".

>also including some library(eg. SDL2)

You retarded? Either you let the compiler do the job of finding it via -l or you can just do like Cmake does: user a SDL2_PATH variable. You know make has variables, right?


 No.999382

>>999379

Kinda like Cmake huh?


 No.999384

Use GN




[Return][Go to top][Catalog][Screencap][Nerve Center][Cancer][Update] ( Scroll to new posts) ( Auto) 5
11 replies | 1 images | Page ?
[Post a Reply]
[ / / / / / / / / / / / / / ] [ dir / animu / arepa / cafechan / general / htg / late / leftpol / sw ][ watchlist ]