[CMake] Watcom Support

J Decker d3ck0r at gmail.com
Thu Mar 4 22:38:23 EST 2010


but then, for every project that already exists, it won't build
correctly using watcom, because the options just aren't set in the
generator, or 3 more flavors of generators aren't added to support
static library, executlable and dynamic library with correct compile
time options.

But then additionally, unlike GNUc and CC who's linker uses the same
-g option for compile and link to get debug information, addtional,
different options, need to be passed to the linker.

On Thu, Mar 4, 2010 at 10:51 AM, Tyler Roscoe <tyler at cryptio.net> wrote:
> On Wed, Mar 03, 2010 at 09:55:39AM -0800, J Decker wrote:
>> OKay these should work great, but have to be done on a per-target
>> basis, rather than being built into the generator.  How would the
>> ...\share\cmake-2.8\Modules\Platform\Windows-wcl386.cmake get modified
>> to set link_flags?
>
> I would write a macro that wraps add_library()/add_executable() and also
> calls the appropriate set_target_properties() command.
>
> tyler
>


More information about the CMake mailing list