>> And I am allergic to Windows, so there will need to be a "CMake on Windows"
>> champion to step up and take this bull by the horns.
>>
>
> Good luck finding that one :)
>
Not my job. I don't use Windows. But I think the folks that do have
found their champion. :)
>
>
> I found two problems with that, first the whole block of if's needs to
> be moved up, before the configure_file() call. And the set() functions
> in that block all have a superfluous comma in them.
>
Thanks, I'll fix my copy, again.
> With these changes the config.h works. But there is still some problem
> with cygwin include file conflicts. I am looking at this right now.
>
This could be related to the order of the -I <dir> which are being
output. Most likely the order given here:
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/target
${CMAKE_CURRENT_SOURCE_DIR}/server
${CMAKE_CURRENT_SOURCE_DIR}/helper
${CMAKE_CURRENT_SOURCE_DIR}/jtag
${CMAKE_CURRENT_SOURCE_DIR}/xsvf
${CMAKE_CURRENT_SOURCE_DIR}/svf
${CMAKE_CURRENT_SOURCE_DIR}/flash
${CMAKE_CURRENT_SOURCE_DIR}/pld
${CMAKE_BINARY_DIR}
)
Dick
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development