[CMake] From one top level project, is there's a way to produce log files on Linux ( Unix Makefiles) in the same fashion a Windows Visual Studio build does?

Eric Noulard eric.noulard at gmail.com
Mon Mar 30 03:13:55 EDT 2009


2009/3/30  <david_bjornbak at agilent.com>:
> From one top level project, is there’s a way to produce log files on Linux (
> Unix Makefiles) in the same fashion a Windows Visual Studio build does?
>
> For example, on Windows when you run ALL_BUILD, you will generated the
> following files
>
>                 ./projectA/source/target1.dir/Debug/BuildLog.htm
>                 ./projectB/source/target2.dir/Debug/BuildLog.htm
>                 ./projectB/source/target3.dir/Debug/BuildLog.htm
>
> In other words, on Linux with GNU make, is there’s a way to redirect output
> while building only the target for that directory to log files on a per
> target basis e.g.
>
> projectA/source/CMakeFiles/target1.dir/buildlog
> projectB/source/CMakeFiles/target2.dir/buildlog
> projectB/source/CMakeFiles/target2.dir/buildlog

I would say this is request feature for "make" and not really for CMake.
I don't know any option of make that may help to do this,
you'll have to redirect output and I don't know how to do it on a
per-target basis.


-- 
Erk


More information about the CMake mailing list