On Thu, Feb 2, 2012 at 4:34 PM, Bill Hoffman <bill.hoff...@kitware.com> wrote:
> On 2/2/2012 8:30 AM, Brad King wrote:
>>
>> On 2/1/2012 10:23 PM, Bill Hoffman wrote:
>>>
>>> On 2/1/2012 4:19 PM, Peter Kümmel wrote:
>>>>
>>>> We can't use cmd. Maybe ninja could be fixed.
>>>
>>>
>>> If not, you could come up with something that uses CMake scripts.
>>>
>>> cmake -E foo.cmake
>>> ----foo.cmake----
>>> execute_process(....)
>>>
>>> Not ideal, but until ninja figures it out, cmake can become the shell
>>> for ninja.
>>
>>
>> That won't handle the && problem currently facing Ninja.
>>
>
> Why not?   CMake does not handle && in custom commands either.  It is
> expected that custom commands are run one by one.  So, a CMake Ninja
> generator should be able to handle all cases, it might have to create some
> CMake scripts to do it, but I don't see why we would need anything more from
> Ninja than the ability to run a single command.
>

When you use scripts or file like link.txt you lose the power of the
special $in and $out variables or variable in general that are
expanded in the rule.

-- 
Nicolas Desprès
--

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

Reply via email to