On Wednesday 26 March 2008, Nicolas Tisserand wrote:
> Hi CMakers,
>
> I gathered that setting this: CMAKE_OSX_ARCHITECTURES=ppc;i386 enables
> universal binary building on MacOSX.
>
> What I could not figure out, however, is how to specify different
> sources list for a target, depending on the architecture being
> compiled.
>
> My goal is to include intel-specific assembly sources in the x86 chunk
> and altivec ones in the ppc one.
>
> Is that possible ? Maybe some SET_SOURCE_FILES_PROPERTIES magic ?

Maybe using #ifdefs in the code ?

Alex
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to