[CMake] FW: building a mixed language programm with CMake

Denis Scherbakov denis_scherbakov at yahoo.com
Thu Jun 11 10:49:34 EDT 2009


> Great, now it works!
> My CMakeLists.txt now looks like this:

I would put everything in an executable, without an intermediate step with
ADD_LIBRARY. When I tested my suggestions for you on my computer, they
worked without any intermediate library. But you might have some other
project in mind, so it might be a matter of taste.

I would also use STATIC instead of SHARED, but it depends on what you need.

Denis



      


More information about the CMake mailing list