[CMake] One source file, different arch
邓尧
torshie at gmail.com
Thu Jun 30 21:14:23 EDT 2011
Hi,
I'm new to CMake. My project is a little different from the projects found
in the tutorials. I have to compile some of the source files into two
different archs(32-bit & 64-bit). It's like the following:
Given 4 source files: A.c, B.c, C.c, D.c, I need to compile a 32-bit
executable with source file A.c, B.c and C.c, I also need to compile a
64-bit executable with source file A.c B.c and D.c.
How to write the CMake script in this situation?
Thanks
-Yao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110701/ce97d84c/attachment-0001.htm>
More information about the CMake
mailing list