mirror of
https://github.com/reactos/CMake.git
synced 2024-11-26 04:50:24 +00:00
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
|
||||
"-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)
|
||||
# Binary link rules.
|
||||
set(CMAKE_${lang}_CREATE_SHARED_MODULE
|
||||
|
1
Modules/Platform/CYGWIN-windres.cmake
Normal file
1
Modules/Platform/CYGWIN-windres.cmake
Normal file
@ -0,0 +1 @@
|
||||
SET(CMAKE_RC_COMPILE_OBJECT "<CMAKE_RC_COMPILER> -O coff <FLAGS> <DEFINES> <SOURCE> <OBJECT>")
|
Loading…
Reference in New Issue
Block a user