[...]
1. Note that I had to name the exe chicken_d. I could easily rename it
in a
later step, but the point is that CMake doesn't seem to easily support
custom file names. Files will be named for the target plus the
appropriate
extension.
2. Setting source file properties is a global operation where the last
set
wins. So I haven't found an easy way to combine both static and dynamic
linking. I even tried listing the source files twice and setting
properties
differently on each listing. The file sets seem to be global entities
that
can accept only one set of properties.
[...]