cmake build: Add support for setting user file extension

Via QtCreatorIDEBranding.cmake

Task-number: QTCREATORBUG-22488
Change-Id: I42699732640b67672b87b2de06f10b9da57bee7e
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
Eike Ziller
2020-10-27 13:11:46 +01:00
parent 6ba5054c10
commit 4c7fd32fa0

View File

@@ -183,6 +183,11 @@ add_qtc_plugin(ProjectExplorer
xcodebuildparser.cpp xcodebuildparser.h 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) if (TARGET libclang)
set(CLANG_BINDIR "$<TARGET_FILE_DIR:libclang>") set(CLANG_BINDIR "$<TARGET_FILE_DIR:libclang>")
endif() endif()