diff --git a/src/tools/CMakeLists.txt b/src/tools/CMakeLists.txt index b1e7eecfe5d..2526e1ea635 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 0b19c9310c1..d979f16f7b1 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 ) -