Boost logo

Boost :

Subject: Re: [boost] CMake Announcement from Boost Steering Committee
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2017-07-19 14:54:21


On 19/07/2017 14:30, Sergei Nikulov via Boost wrote:
> 2017-07-19 15:19 GMT+03:00 Ion Gaztañaga via Boost <boost_at_[hidden]>:
>> On 19/07/2017 3:48, John McFarlane via Boost wrote:
>>
>>> I'm sure this is how a lot of C++ users out there feel. Yes, anyone who
>>> can learn C++ can learn another build system. But why require more burden
>>> than is strictly necessary? CMake is the very clear trend across the
>>> broader community. Yes, it's far from perfect -- despite a monumental
>>> clean-up effort. But more developer systems have CMake installed already.
>>
>>
>> CMake, for instance, does not really build. AFAIK, it generates build
>> instructions for the real build system.
>>
>> This is unacceptable to me, I want something that really builds the program
>> and also runs tests from the command line, I want to use the same commands
>> in Windows, Linux, FreeBSD and other systems where I test my software.
>
> JFYI, same commands used on every system
> 1. generate> cmake ..
> 2. build> cmake --build .
> 3. test> ctest

Many thanks. I've seen the build option was added in CMake 3.0 a couple
of years ago. Good to know, because there are many internet tutorials
calling "MsBuild" and "make".

Ion


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk