From 4c7fd32fa0f7ed00af8fc96b7a710927fcc4e8e0 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Tue, 27 Oct 2020 13:11:46 +0100 Subject: [PATCH] cmake build: Add support for setting user file extension Via QtCreatorIDEBranding.cmake Task-number: QTCREATORBUG-22488 Change-Id: I42699732640b67672b87b2de06f10b9da57bee7e Reviewed-by: Cristian Adam --- src/plugins/projectexplorer/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/plugins/projectexplorer/CMakeLists.txt b/src/plugins/projectexplorer/CMakeLists.txt index 13ede53da94..87e3a45bfd8 100644 --- a/src/plugins/projectexplorer/CMakeLists.txt +++ b/src/plugins/projectexplorer/CMakeLists.txt @@ -183,6 +183,11 @@ add_qtc_plugin(ProjectExplorer xcodebuildparser.cpp xcodebuildparser.h ) +extend_qtc_plugin(ProjectExplorer + CONDITION PROJECT_USER_FILE_EXTENSION + DEFINES "PROJECT_USER_FILE_EXTENSION=${PROJECT_USER_FILE_EXTENSION}" +) + if (TARGET libclang) set(CLANG_BINDIR "$") endif()