[CMake] Get path to release folder

Lloyd lloydkl.tech at gmail.com
Fri Apr 19 03:08:58 EDT 2013


Hi,

My project hierarchy is as shown below

Code                  ;Root cmake file
Code/Src            ;Main Source code and the cmake file
Code/lib/reverse   ; Library source code and the cmake file

When I compile the project I get the outputs in these folder structure

BuildDir\src\Debug                        ;Main executable
BuildDir\src\lib\reverse\Debug         ; reverse.dll library directory

What is the right method to get the path to the library (reverse.dll)
directory? or can you please suggest a method to get this path in a
portable (crossplatform) way?

Thanks,
  Lloyd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130419/8680bd76/attachment.htm>


More information about the CMake mailing list