Hi,

I have a library project that I am generating the build system for
using CMake. I would like to have the .lib file generated in one
directory and the .dll file in another directory. Right now I am using
a construct as follows

SET(LIBRARY_OUTPUT_PATH
    ${PROJECT_SOURCE_DIR}/bin CACHE
    PATH "Single output directory for building all libraries." FORCE)

While .dll files show up in PROJECT_SOURCE/bin, .lib files show up
within PROJECT_SOURCE/bin/Debug or Release directory. How can I set
the path of the .lib file to PROJECT_SOURCE/lib?

Can someone please throw a few hints for me please?

Thanks and Warm Regards,
Prashanth N Udupa
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to