|
|
You wrote that you have "a Cygwin 64-bit version" available which is very likely the reason why the custom command
(when invoked with sh) works at all
Sure I have all that. But I did the build from a non-Posix shell (hate bash).
I thought something like:
if (WIN32)
set(SH "sh.exe")
else()
set(SH "")
endif()
.....
add_custom_command (
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/fltk.pdf
COMMAND ${SH} ${CMAKE_CURRENT_SOURCE_DIR}/make_header
....
would do it. But then again, I'm a n00b when it comes to Cmake.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: <fltk/fltk/issues/731/1575100865@github.com>
[ Direct Link to Message ] | |
|
| |