summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@qt.io>2019-09-30 19:02:16 +0200
committerCristian Adam <cristian.adam@qt.io>2019-10-10 10:04:23 +0000
commit0097ffc41ae577c6442ec660fd0e31bafff97418 (patch)
tree34d89d88214fb5f7ad944ce6f42570d38378d093 /src/tools
parent85273abf90d1ca391a4a6fa641fe883f5999b614 (diff)
downloadqt-creator-0097ffc41ae577c6442ec660fd0e31bafff97418.tar.gz
CMake Build: Add build for winrtdebughelper
Fixes: QTCREATORBUG-22919 Change-Id: I22c24b4633e16b74fceab8122e7f95736768377b Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/CMakeLists.txt2
-rw-r--r--src/tools/winrtdebughelper/CMakeLists.txt17
2 files changed, 7 insertions, 12 deletions
diff --git a/src/tools/CMakeLists.txt b/src/tools/CMakeLists.txt
index b1e7eecfe5..2526e1ea63 100644
--- a/src/tools/CMakeLists.txt
+++ b/src/tools/CMakeLists.txt
@@ -46,4 +46,4 @@ add_subdirectory(qtpromaker)
add_subdirectory(sdktool)
add_subdirectory(valgrindfake)
add_subdirectory(wininterrupt) ## windows only
-# add_subdirectory(winrtdebughelper) ## windows only
+add_subdirectory(winrtdebughelper) ## windows only
diff --git a/src/tools/winrtdebughelper/CMakeLists.txt b/src/tools/winrtdebughelper/CMakeLists.txt
index 0b19c9310c..d979f16f7b 100644
--- a/src/tools/winrtdebughelper/CMakeLists.txt
+++ b/src/tools/winrtdebughelper/CMakeLists.txt
@@ -1,13 +1,8 @@
-#
-# 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.winrtdebughelper)
-
-
-add_library(${PROJECT_NAME} STATIC
- winrtdebughelper.cpp
+add_qtc_executable(winrtdebughelper
+ SOURCES
+ winrtdebughelper.cpp
)
-