[x264-devel] cmake based build system for x264?

Steve Borho steve at borho.org
Mon Sep 19 20:57:23 CEST 2016


> On Sep 9, 2016, at 10:46 AM, Peter Steinbach <steinbach at scionics.de> wrote:
> 
> Dear x264 devs,
> 
> For one of my projects, I have x264 as a dependency through ffmpeg. As there is "only" autotools/configure based build support for x264, I had quite some troubles building x264 on windows 7 with visual studio 14. No trouble at all with building x264 on Linux and/or OSX.
> 
> After quite some trial and error, I thought that it'd be nice to have "native" build support on Windows 7 (or other Windows flavors). So I sat down and hacked together some lines of cmake code to build x264. I am currently able to build the static library and the command line app (I hope to have the DLL done early next week).
> 
> I was wondering if this community would be interested in using this cmake setup for x264. My cmake files are not yet feature comparable with the existing configure script. But that is more a matter of time than of possibility.
> 
> Looking forward to your feedback,
> Peter
> 
> PS. the windows app appears to be producing the same outputs as on Linux/OSX. But a couple of features don't work yet (CPU features etc).

FWIW this has been done before

https://mailman.videolan.org/pipermail/x264-devel/2014-March/010483.html

I made no attempt at auto-detecting all the various build options, and it only supports Windows targets.  it was good enough to fit my needs at the time.

—
Steve Borho



More information about the x264-devel mailing list