[CMake] adding program suffix

Michael Wild themiwi at gmail.com
Mon Mar 11 03:04:54 EDT 2013


On Mon, Mar 11, 2013 at 7:56 AM, Chandan Choudhury <iitdckc at gmail.com>wrote:

>
> Dear cmake users,
>
> I am very new to cmake. I really find it interesting. I installed gromacs
> (4.6.1) with it. One simple query regarding its usage is, how do I add
> program suffix to the executables created.
>
>
> Chandan
>

Just set the CMAKE_EXECUTABLE_SUFFIX variable in the CMake cache. Be
careful that on Windows this should include the .exe suffix.

HTH

Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130311/61b0690a/attachment.htm>


More information about the CMake mailing list