Re: [CMake] Need suggestions for implementation of new feature in cmake.

2020-03-27 Thread Carlo Wood
On Fri, 27 Mar 2020 07:18:11 +0100 Hendrik Sattler wrote: > Hi Carlo, > > The answer is already right in front of you: "a && b" executes b only > if a returns positive (zero exit code). This is already done for the > mkdir. > > And to answer the other question: no, you cannot assume a POSIX

Re: [CMake] Need suggestions for implementation of new feature in cmake.

2020-03-27 Thread Hendrik Sattler
Hi Carlo, The answer is already right in front of you: "a && b" executes b only if a returns positive (zero exit code). This is already done for the mkdir. And to answer the other question: no, you cannot assume a POSIX shell in a Makefile. HS Am 27. März 2020 05:53:39 MEZ schrieb Carlo