[vlc-devel] [PATCH 3/4] contrib: protoc: build the protoc exe to run locally

Steve Lhomme robux4 at ycbcr.xyz
Fri Feb 15 09:53:27 CET 2019


On 15/02/2019 09:29, Rémi Denis-Courmont wrote:
> You can't reuse the same build dir. This breaks incremental builds. 
> The same bug was in Lua before.

OK

Right now the CMAKE variable has the folder to build from/to harcoded 
(cmake .). We might have to change that.

Also it seems that it's possible to tell CMake which folder to build to 
https://cmake.org/cmake/help/v3.14/manual/cmake.1.html#generate-a-project-buildsystem

I'll give this a try.  In many case the CMake folder is not in the root 
of the source, this should also help running CMake from the root rather 
than having to "cd" in a specific folder as well.


More information about the vlc-devel mailing list