[cmake-developers] Why not disable the Unix Makefiles generator for Darwin?

Nicolas Desprès nicolas.despres at gmail.com
Sat Jul 14 13:40:28 EDT 2012


I am almost ready to push a branch fixing all the failing tests on
Darwin with Ninja. So it is coming soon.

Cheers,
Nico

On Sat, Jul 14, 2012 at 2:33 PM, Claus Klein <claus.klein at arcormail.de> wrote:
> I am wondering why Nina generator is disabled on Darwin.
> I have just the same problems with Unix Makefile generator?
>
> Or it would be nice to enable Ninja too for Darwin, I need it to cross
> compile my projects ...
>
> Claus
>
> See
>
> http://open.cdash.org/index.php?project=CMake&display=project&filtercount=3&showfilters=1&filtercombine=and&field1=buildname/string&compare1=65&value1=Darwin-i386&field2=site/string&compare2=61&value2=claus-kleins-macbook-pro.local&field3=buildstamp/string&compare3=66&value3=Experimental&collapse=0
>
> The test is based on current nightly build.
>
> But I use the newest MacPorts gcc-4.7:
>
> $ sw_vers
> ProductName: Mac OS X
> ProductVersion: 10.5.8
> BuildVersion: 9L30
>
> $ i386-apple-darwin9-gcc-4.7.1 --version
> i386-apple-darwin9-gcc-4.7.1 (MacPorts gcc47 4.7.1_1) 4.7.1
> Copyright (C) 2012 Free Software Foundation, Inc.
>
> I make sure, that this generator and tools are used while cmake selftest!
>
> export CC=/opt/local/bin/i386-apple-darwin9-gcc-mp-4.7
> export CXX=/opt/local/bin/i386-apple-darwin9-g++-mp-4.7
> export MAKECOMMAND=/opt/local/bin/gmake
>
> # configure
> /opt/local/bin/cmake -G "Unix Makefiles" -DCMAKE_TEST_GENERATOR:STRING="Unix
> Makefiles" \
>     -DCMAKE_TEST_MAKEPROGRAM:FILEPATH="${MAKECOMMAND}"
> -DCMAKE_ENABLE_NINJA:BOOL="ON" \
>     -DCMAKE_C_COMPILER=${CC} -DCMAKE_CXX_COMPILER=${CXX} \
>     -DCMAKE_LINKER:FILEPATH=/opt/local/bin/ld \
>     -DCMAKE_AR:FILEPATH=/opt/local/bin/i386-apple-darwin9-gcc-ar-mp-4.7 \
>
> -DCMAKE_RANLIB:FILEPATH=/opt/local/bin/i386-apple-darwin9-gcc-ranlib-mp-4.7
> \
>     -DMAKECOMMAND:STRING="${MAKECOMMAND}" \
>
> -DCMAKE_FIND_ROOT_PATH="/opt/local/libexec/gcc/i386-apple-darwin9/4.7.1/;/opt/local/bin"
> \
>     \
>     -DBUILD_CursesDialog:BOOL="ON" -DBUILD_QtDialog:BOOL="OFF" \
>     ../cmake
>
>
> gmake Experimental
> ...
>
>
>
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers



-- 
Nicolas Desprès



More information about the cmake-developers mailing list