aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/libpysideqml
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-02-27 15:05:50 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2023-03-01 10:17:50 +0100
commit88aa63dac828df46ef50f301434f50ceb0fb2dc0 (patch)
tree244d12ea67d5bbd390b61a3f5f9206e04c257ac4 /sources/pyside6/libpysideqml
parent088acf9aec615372b297aab701757318e94b1fb5 (diff)
CMakeLists.txt: Add header files
Hoping this will help the Qt Creator code completion. Change-Id: I0777f5c38e37d560cfc1942b8acd5c76c8d64d25 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'sources/pyside6/libpysideqml')
-rw-r--r--sources/pyside6/libpysideqml/CMakeLists.txt33
1 files changed, 17 insertions, 16 deletions
diff --git a/sources/pyside6/libpysideqml/CMakeLists.txt b/sources/pyside6/libpysideqml/CMakeLists.txt
index e13b81171..d3844f043 100644
--- a/sources/pyside6/libpysideqml/CMakeLists.txt
+++ b/sources/pyside6/libpysideqml/CMakeLists.txt
@@ -3,6 +3,22 @@
set(libpysideqml_libraries Qt::Core Qt::CorePrivate Qt::Qml Qt::QmlPrivate)
+set(libpysideqml_HEADERS # installed below
+ pysideqmlattached.h
+ pysideqmlattached_p.h
+ pysideqmlextended_p.h
+ pysideqmlforeign_p.h
+ pysideqml.h
+ pysideqmllistproperty_p.h
+ pysideqmlmacros.h
+ pysideqmlmetacallerror_p.h
+ pysideqmlnamedelement_p.h
+ pysideqmlregistertype.h
+ pysideqmlregistertype_p.h
+ pysideqmltypeinfo_p.h
+ pysideqmluncreatable.h
+)
+
set(libpysideqml_SRC
pysideqml.cpp
pysideqmlattached.cpp
@@ -14,6 +30,7 @@ set(libpysideqml_SRC
pysideqmlnamedelement.cpp
pysideqmluncreatable.cpp
pysideqmltypeinfo.cpp
+ ${libpysideqml_HEADERS}
)
# Hack for // https://github.com/python/cpython/issues/86286 causes issues
@@ -55,22 +72,6 @@ endif()
# install stuff
#
-set(libpysideqml_HEADERS
- pysideqmlattached.h
- pysideqmlattached_p.h
- pysideqmlextended_p.h
- pysideqmlforeign_p.h
- pysideqml.h
- pysideqmllistproperty_p.h
- pysideqmlmacros.h
- pysideqmlmetacallerror_p.h
- pysideqmlnamedelement_p.h
- pysideqmlregistertype.h
- pysideqmlregistertype_p.h
- pysideqmltypeinfo_p.h
- pysideqmluncreatable.h
-)
-
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
set(LIBRARY_OUTPUT_SUFFIX ${CMAKE_DEBUG_POSTFIX})
else()