On Tue, Nov 15, 2011 at 06:54:01PM +0100, Nicolas Desprès wrote: > On Tue, Nov 15, 2011 at 5:29 PM, Bill Hoffman <bill.hoff...@kitware.com>wrote: > > > On 11/11/2011 9:36 PM, Peter Collingbourne wrote: > > > > Note that this generator is *nix only (it relies on POSIX shell > >> functionality), and will only be built on *nix platforms. I am not > >> interested in Windows support, but I understand that others have > >> expressed an interest in adding support. > >> > >> How much of the POSIX shell stuff can be done with cmake -E stuff? It > > would be good to use as little POSIX stuff as possible as someday when > > someone does the inevitable windows port it is easier... > > > > > Too much in my opinion. Specially the && operator of the shell. Using cmake > -E is the first step. I am planning to suggest an evolution of Ninja to fix > this issue. Actually, it is the main issue which stop me while writing the > beginning of this generator.
Other than && we also have: rm -f $file -- used to delete static library archives before rebuilding : -- used as a no-op command I think that for the Windows port we can simply select the appropriate command (e.g. rm vs del) since we know which platform we are building for. Thanks, -- Peter -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers