PROPOSAL: Use Cmake as the build system for Samba

Andreas Schneider asn at redhat.com
Wed Feb 17 15:35:04 MST 2010


On Wednesday 17 February 2010 22:40:24 you wrote:
> Next, what happens to all of our ./configure options? We need some
> equivalent for all (or maybe just most?) of the existing options. How
> is that done with cmake?

Ok, I think you wanted to see an example.

./configure --prefix=/usr --debug --with-socket-wrapper

cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug \
      -DWITH_SOCKET_WRAPPER=ON

There are several default build types (Debug, RelWithDebInfo, Release, ...), 
but you can define your own.

	-- andreas


More information about the samba-technical mailing list