curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Does the source tree need to be clean for an out-of-source cmake build?

From: Sergei Nikulov via curl-library <curl-library_at_cool.haxx.se>
Date: Thu, 7 Sep 2017 10:50:04 +0300

2017-09-07 10:45 GMT+03:00 Daniel Stenberg <daniel_at_haxx.se>:
> On Thu, 7 Sep 2017, Ray Satiro via curl-library wrote:
>
>> My question is, is this expected? I thought if I did an out-of-source
>> build tree that it would not use build files from the source tree.
>
>
> I think as a general rule, mixing in-tree and out-of-tree builds will cause
> problems and I don't think it is worth it trying to make that work.
> configure will even detect it and refuse to run until the in-tree build is
> cleaned.
>

BTW, we can enforce out-of-source build rule for cmakeable builds, as
LLVM does...

-- 
Best Regards,
Sergei Nikulov
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2017-09-07