Add CMake module to parse IDL files on Windows

This commit is contained in:
jp9000
2015-03-04 02:28:13 -08:00
committed by Skyler Lipthay
parent aa8363bb87
commit ee31962b85
2 changed files with 66 additions and 0 deletions

View File

@@ -58,6 +58,7 @@ if(MSVC)
endif()
else()
if(MINGW)
set(CMAKE_WIDL "widl" CACHE STRING "wine IDL header file generation program")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_WIN32_WINNT=0x0600 -DWINVER=0x0600")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_WIN32_WINNT=0x0600 -DWINVER=0x0600")
endif()