Okay. I sort of thought that might be the case. I think I could work
around the whole problem if there were configuration-specific versions
of COMPILE_FLAGS... oh well.
Now I'm just working out a way to get this to compile two versions of
the library without having to list the source files in
I love cmake, but I am still a bit of a novice, so perhaps there is a
better way to approach this problem. I am building a library using
cmake. On Windows I need to be able to build two versions: one that
links statically to the CRT (/MT) and one that links dynamically to
the CRT (/MD). I would
Hi Dan,
I don't think it's possible to set compiler flags on a
per-configuration, per-target basis without splitting your project.
There was a very similar discussion recently [1],[2] which indicated a
couple of options. However the first option can't be used on a
per-configuration basis,