One source file, different arch
2011-07-01 01:14:23 GMT
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?
_______________________________________________ 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://www.cmake.org/mailman/listinfo/cmake