Re: [CMake] CMAKE_CXX_COMPILER: problem setting

2007-11-19 Thread Steven Van Ingelgem
Hi Bill, I found the reason, but I have no idea why: in the unix makefiles on mac it uses -isystem to include the directories (as it does on a Linux), but for XCode it uses -I. And with -isystem it gives problems, but if I change those calls in flags.make to -I, it works like a charm... Maybe y

Re: [CMake] CMAKE_CXX_COMPILER: problem setting

2007-11-10 Thread Steven Van Ingelgem
The XCode project works perfectly (except for the target "PACKAGE", but that I still need to work a little on myself first). But at least I am able to build it in both Release & Debug mode. Makefiles: /usr/bin/c++ -O -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc -D__WXMAC__

Re: [CMake] CMAKE_CXX_COMPILER: problem setting

2007-11-10 Thread Bill Hoffman
Steven Van Ingelgem wrote: Hi Bill, You could find more info here as I wrongly submitted it to the wxWidgets mailinglist: http://lists.wxwidgets.org/cgi-bin/ezmlm-cgi?5:sss:94148:200711:hfdpjonhlifnhdjlgfff#b However if you would need more information, I'm always happy to test out stuff! BTW

Re: [CMake] CMAKE_CXX_COMPILER: problem setting

2007-11-10 Thread Bill Hoffman
Steven Van Ingelgem wrote: Hi, I tried today on a Mac: ccmake . & change there the CMAKE_CXX_COMPILER setting from /usr/bin/c++ -> /usr/bin/g++ but it doesn't get saved inside the CMakeCache, and everything is still being compiled with c++ instead of g++ What can I do to fix this or is this a

[CMake] CMAKE_CXX_COMPILER: problem setting

2007-11-10 Thread Steven Van Ingelgem
Hi, I tried today on a Mac: ccmake . & change there the CMAKE_CXX_COMPILER setting from /usr/bin/c++ -> /usr/bin/g++ but it doesn't get saved inside the CMakeCache, and everything is still being compiled with c++ instead of g++ What can I do to fix this or is this an issue in CMake? Thanks __