[CMake] Building both a .com and .exe executable on Windows.

Rick McGuire object.rexx at gmail.com
Tue May 6 10:25:49 EDT 2014


Working on converting an existing project to cmake, which is going fairly
well.  I've found answers to most of questions with some quick google
searches, but I've run into an issue where I've not managed to find any
answers yet.

One part of the project generates two executables with the same name.  The
first is a non-console executable with a .exe extension, the second is a
console version with a .com extension.  I know how to build the first, and
I can build the second if I give it a different name and use a .exe
extension, but I've not found a means of getting cmake to generate an
executable with a .com extension.  Has anybody needed to deal with this
issue before?

Rick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20140506/4ee2a9f7/attachment.html>


More information about the CMake mailing list