hi,

I'm new on cmake and tried it for the 2nd time this day. I want to
build both: a static and a shared object from my code and tried it
this way:

ADD_LIBRARY(cmle SHARED
        src/libcmle.C
        src/libcmle_int.C
)

ADD_LIBRARY(cmle STATIC
        src/libcmle.C
        src/libcmle_int.C
)

But this didn't work, only the shared object was created. What
went wrong?

regards
Steffen
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to