forked from qt-creator/qt-creator
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:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user