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

2012-07-19 Thread Bill Hoffman

On 7/19/2012 12:30 AM, Claus Klein wrote:

I am happy to see it works now and Ninja is eanabled and Mac
Yes, it is passing all test on the Mac.  There was one build error last 
night but I see that has been fixed this morning.  So, thanks to Nico 
and Peter for all the hard work in getting this working!  I am pretty 
sure CMake is now the only ninja generator that works on linux, Windows 
and Mac, and can create OSX bundles and apps, and do depend information 
on Windows!


The only thing left that I would like todo someday is to figure out how 
to get Fortran depends to work.


-Bill
--

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


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

2012-07-18 Thread Claus Klein

I am happy to see it works now and Ninja is eanabled and Mac

Thanks to all

Claus

  CMakeLists.txt Revision:  
52160bf68f2d3b948efda5a7a64642e7e0969d9e by Peter Kümmel
Ninja: enable ninja on Mac so all Mac CDash-builds are  
tested, cleanup later



On 14.07.2012, at 19:40, Nicolas Desprès wrote:


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

Cheers,
Nico


--

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

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

2012-07-14 Thread Nicolas Desprès
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  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
--

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


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

2012-07-14 Thread Richard Wackerbarth
By default, Ninja is disabled on Darwin because it has NEVER worked for a 
number of the scenarios in the test suite.
These have to do with building OSX packages, etc.) If YOU need to use certain 
ninja capabilities and are not affected by those shortcomings, you can easily 
build a version with ninja enabled.

As far as "same problems with Unix Makefile generator", then that is because 
you are trying to do something out of the mainstream and THAT aspect (MacPorts 
gcc-4.7 ?) is broken. It doesn't really have to do with ninja support.

However, CMake never claimed to support compilers other than the ones released 
by the vendor. It's a nice extra when it does. But failing to do so is not 
"mission critical".

Correctly building Mac OSX packaging IS a requirement.

Richard

--

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


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

2012-07-14 Thread Claus Klein

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