CMake Build: Add build for wininterrupt

Fixes: QTCREATORBUG-22918
Change-Id: I5158a5356c9d083b1bc43bd028e767d16a9ecab5
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Cristian Adam
2019-09-30 18:40:37 +02:00
parent 84756c69e9
commit d2c6a8ffb9
2 changed files with 10 additions and 10 deletions

View File

@@ -45,5 +45,5 @@ add_subdirectory(qtpromaker)
# add_subdirectory(screenshotcropper) ## qbs does not build this either
add_subdirectory(sdktool)
add_subdirectory(valgrindfake)
# add_subdirectory(wininterrupt) ## windows only
add_subdirectory(wininterrupt) ## windows only
# add_subdirectory(winrtdebughelper) ## windows only

View File

@@ -1,12 +1,12 @@
#
# Copyright (C) YourCompany. All rights reserved.
#
# GENERATED BY CPP-DEPENDENCIES - do not edit, your changes will be lost
# If you must edit, remove these two lines to avoid regeneration
if (NOT WIN32)
return()
endif()
project(src.tools.wininterrupt)
set(Arch 32)
if (CMAKE_SIZEOF_VOID_P EQUAL 8)
set(Arch 64)
endif()
add_library(${PROJECT_NAME} INTERFACE
add_qtc_executable(win${Arch}interrupt
SOURCES wininterrupt.c
)