[cmake-developers] dry-run support

Honggyu Kim hong.gyu.kim at lge.com
Wed Jul 1 08:25:23 EDT 2015


> From: Eric Noulard [mailto:eric.noulard at gmail.com] 
> Sent: Wednesday, July 01, 2015 6:14 PM
> To: Honggyu Kim
> Cc: CMake Developers
> Subject: Re: [cmake-developers] dry-run support

> What you already have with CMake is the --trace option which can be very useful
> to understand what happen at CMake time.

I will try --trace option later.


> Then it may also be useful to dry-run the resulting build files produced by CMake.
> i.e.:
> make --dry-run
> ninja -n -v
> ...

You're right. There's no such dry-running in CMake and it just generates the
normal Makefile.
I got the list of execution commands by running dry-run on generated Makefile 
with --dry-run and --always-make options.
--always-make forces to show the entire command list regardless it is already 
compiled or not.
So my problem is solved anyway.


> -- 
> Eric

I appreciate your comment.

Thanks,
Honggyu



More information about the cmake-developers mailing list