[CMake] How can I avoid the addition of Debug/Release to the link path?

Ben Ratzlaff cmake at daishiva.com
Tue Oct 9 15:31:49 EDT 2007


On 10/9/07, David Cole <david.cole at kitware.com> wrote:
>
> The problem (from a CMake perspective) is how to go about giving
> override control of that setting to CMakeLists.txt files / developers
> using CMake. If anybody has a reasonable suggestion of how to achieve
> this in a non-Xcode-centric way (i.e., one that also works for Visual
> Studio on Windows and makefile generators), please feel free to
> continue this discussion here, or better yet, submit a feature request
> to the CMake bug tracker.
>
>
> David Cole
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>


Well, my first thought is to add another variable. Instead of using
$(CONFIGURATION) as the folder to append, why not $(CONFIGURATION_SUBFOLDER)
that by default is set to "/$(CONFIGURATION)"

That way the user can:
SET (CONFIGURATION_SUBFOLDER "")

if they so desire.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20071009/32652d15/attachment.html


More information about the CMake mailing list