Cmake Parameters?

Hey,
So anyone know all the parameters req with cmake for building blender properly. somehow my build gets no sound:( /And how do you skip building makesdna and makesrna.
Thanks

Especially if you are new, it’s probably best to let CMake do it’s thing and not try to disable the building of anything. :slight_smile:

As for the sound, try enabling WITH_OPENAL and WITH_JACK.

With CMake you can’t really properly skip the rebuild of RNA. Instead you could use SCons which builds only what is necessary (and buildinfo.c, which I still should make optional). For SCons on Windows the following sound-related flags I use for official builds:

WITH_BF_OPENAL=True
WITH_BF_JACK=True #False on Win64
WITH_BF_LIBSAMPLERATE=True
WITH_BF_SNDFILE=True
WITH_BF_FFMPEG=True

Try looking of CMake has similarly named flags.

/Nathan

Thanks everyone.