[CMake] Watcom Support
J Decker
d3ck0r at gmail.com
Fri Mar 5 22:44:24 EST 2010
Is there
CMAKE_C_FLAGS_EXE_INIT and CMAKE_C_FLAGS_SHARED_INIT ?
I also just tried exporting the blow mentioned values on 2.8.1-RC4,
with the same result.
(sory to branch conversation to 3 heads)
On Fri, Mar 5, 2010 at 6:15 AM, Bill Hoffman <bill.hoffman at kitware.com> wrote:
> J Decker wrote:
>>
>> 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.
>>
>
> It should go in Modules/Platform/Windows-wcl386.cmake.
>
> Just set these:
> CMAKE_EXE_LINKER_FLAGS_DEBUG_INIT
> CMAKE_SHARED_LINKER_FLAGS_INIT
> CMAKE_SHARED_LINKER_FLAGS_DEBUG_INIT
>
>
> See Windows-cl.cmake for an example, you will also want to set
> RELWITHDEBINFO to have the same flag. If you can verify this works, I will
> merge into git master for CMake.
>
> -Bill
>
More information about the CMake
mailing list