Added "Windows" as a platform for MinGW.

This commit is contained in:
Luis Ibanez 2012-12-26 16:23:06 -05:00
parent 0eede9a40b
commit bf52debe06
1 changed files with 9 additions and 0 deletions

View File

@ -102,6 +102,15 @@ if("${CMAKE_SYSTEM_NAME}" MATCHES "Linux")
set(gen_xfer_desc 1)
endif()
endif()
if("${CMAKE_SYSTEM_NAME}" MATCHES "Windows") # for MinGW
list(APPEND gt_src_list sr_linux)
if("${CMAKE_SIZEOF_VOID_P}" EQUAL 4)
list(APPEND gt_src_list sr_i386 sr_x86_regs sr_unix_nsb)
else()
list(APPEND gt_src_list sr_x86_64 sr_x86_regs)
set(gen_xfer_desc 1)
endif()
endif()
list(APPEND gt_src_list
sr_unix_gnp
sr_unix_cm