[CMake] MSVC project names
Brandon Van Every
bvanevery at gmail.com
Fri Aug 3 11:00:17 EDT 2007
On 8/3/07, Michal Čihař <michal at cihar.com> wrote:
> Is there
> some workaround for this so that I can produce library and executable of
> same name in one build tree?
Your CMake *target* names must be unique inside your CMakeLists.txt.
Otherwise dependency checking would fail. But the name of the
target's output can be changed. See SET_TARGET_PROPERTIES in the
docs. Chicken has examples of how it's done, we have both chicken.exe
and libchicken.dll. http://www.call-with-current-continuation.org
Cheers,
Brandon Van Every
More information about the CMake
mailing list