[CMake] lib/exe output within various levels of the binary directory

Alexander Neundorf a.neundorf-work at gmx.net
Wed Jul 11 08:23:58 EDT 2007


On Tuesday 10 July 2007 15:17, Jon W wrote:
> I am trying to get the following directory configuration for lib/exe
> output within visual studio:
>
>   bin/Debug/aa.dll
>   bin/Release/aa.dll
>   bin/Release/models/bb.dll
>   bin/Release/models/bb.dll
>
> The bin/Debug and bin/Release directories are the defaults when using
> "bin" as the binary directory.  How can I get bb.dll and related files
> to be generated in the bin/debug/models directory?
>
> If I set LIBRARY_OUTPUT_PATH, it will always append a Debug or Release
> after whatever directory I specify.  For example,
> bin/Release/models/Release.
>
> Does anybody know how to get files to be generated within different
> levels within the "bin" directory?

I think this is not possible, but I don't know if it's a limitation of MSVC or 
the MSVC generator in cmake.

Alex


More information about the CMake mailing list