[CMake] Universal Binary with architecture-specific sources lists

Nicolas Tisserand nicolas.tisserand at gmail.com
Wed Mar 26 15:42:17 EDT 2008


On Wed, Mar 26, 2008 at 6:12 PM, Alexander Neundorf
<a.neundorf-work at gmx.net> wrote:

>  Maybe using #ifdefs in the code ?

This could work, indeed, but is what I was trying to avoid :-)

Moreover, I'm CMake-ing an external project that I don't maintain,
which contains both (non-inline) x86 AT&T style assembly sources and
altivec-dependent c code in separate files.
And I don't see how I could mix the assembly and the c code in one
single translation unit.

Any thoughts?
--
Nicolas


More information about the CMake mailing list