Add support for windres to cygwin.
This commit is contained in:
parent
b2f308c8f9
commit
060d6e885e
|
@ -24,7 +24,8 @@ set(CMAKE_CREATE_WIN32_EXE "-mwindows")
|
||||||
|
|
||||||
set(CMAKE_GNULD_IMAGE_VERSION
|
set(CMAKE_GNULD_IMAGE_VERSION
|
||||||
"-Wl,--major-image-version,<TARGET_VERSION_MAJOR>,--minor-image-version,<TARGET_VERSION_MINOR>")
|
"-Wl,--major-image-version,<TARGET_VERSION_MAJOR>,--minor-image-version,<TARGET_VERSION_MINOR>")
|
||||||
|
set(CMAKE_GENERATOR_RC windres)
|
||||||
|
enable_language(RC)
|
||||||
macro(__cygwin_compiler_gnu lang)
|
macro(__cygwin_compiler_gnu lang)
|
||||||
# Binary link rules.
|
# Binary link rules.
|
||||||
set(CMAKE_${lang}_CREATE_SHARED_MODULE
|
set(CMAKE_${lang}_CREATE_SHARED_MODULE
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
SET(CMAKE_RC_COMPILE_OBJECT "<CMAKE_RC_COMPILER> -O coff <FLAGS> <DEFINES> <SOURCE> <OBJECT>")
|
Loading…
Reference in New Issue