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 <ty...@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
>
_______________________________________________
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