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

Jon W knowdat at gmail.com
Tue Jul 10 15:17:09 EDT 2007


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?

Thanks,
Jon


More information about the CMake mailing list