diff options
author | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2017-05-22 16:44:51 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2017-05-22 18:22:49 +0200 |
commit | 427c7147d23fa21c6e8bd08407b1badc48b49c3c (patch) | |
tree | d2742c7ffdfa167bcf6e68f06ce7524bc441102d /sources/pyside2/PySide2/QtScript/CMakeLists.txt | |
parent | 4ec9cfa3c6b895c0cf50227c189cfa542de88b64 (diff) |
move everying into sources/pyside2 (5.9 edition)
in preparation for a subtree merge.
this should not be necessary to do in a separate commit, but git is a
tad stupid about following history correctly without it.
Diffstat (limited to 'sources/pyside2/PySide2/QtScript/CMakeLists.txt')
-rw-r--r-- | sources/pyside2/PySide2/QtScript/CMakeLists.txt | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/sources/pyside2/PySide2/QtScript/CMakeLists.txt b/sources/pyside2/PySide2/QtScript/CMakeLists.txt new file mode 100644 index 000000000..5b5d08070 --- /dev/null +++ b/sources/pyside2/PySide2/QtScript/CMakeLists.txt @@ -0,0 +1,44 @@ +project(QtScript) + +set(QtScript_SRC +${QtScript_GEN_DIR}/qscriptable_wrapper.cpp +${QtScript_GEN_DIR}/qscriptclass_wrapper.cpp +${QtScript_GEN_DIR}/qscriptclasspropertyiterator_wrapper.cpp +${QtScript_GEN_DIR}/qscriptcontext_wrapper.cpp +${QtScript_GEN_DIR}/qscriptcontextinfo_wrapper.cpp +${QtScript_GEN_DIR}/qscriptengineagent_wrapper.cpp +${QtScript_GEN_DIR}/qscriptprogram_wrapper.cpp +${QtScript_GEN_DIR}/qscriptengine_wrapper.cpp +${QtScript_GEN_DIR}/qscriptextensioninterface_wrapper.cpp +${QtScript_GEN_DIR}/qscriptextensionplugin_wrapper.cpp +${QtScript_GEN_DIR}/qscriptstring_wrapper.cpp +${QtScript_GEN_DIR}/qscriptvalue_wrapper.cpp +${QtScript_GEN_DIR}/qscriptvalueiterator_wrapper.cpp +# module is always needed +${QtScript_GEN_DIR}/qtscript_module_wrapper.cpp +) + +make_path(QtScript_typesystem_path ${QtCore_SOURCE_DIR} ${QtCore_BINARY_DIR}) + +set(QtScript_include_dirs ${QtScript_SOURCE_DIR} + ${QtScript_BINARY_DIR} + ${Qt5Core_INCLUDE_DIRS} + ${Qt5Script_INCLUDE_DIRS} + ${SHIBOKEN_INCLUDE_DIR} + ${libpyside_SOURCE_DIR} + ${SHIBOKEN_PYTHON_INCLUDE_DIR} + ${QtCore_GEN_DIR} + ) +set(QtScript_libraries pyside2 + ${SHIBOKEN_PYTHON_LIBRARIES} + ${SHIBOKEN_LIBRARY} + ${Qt5Core_LIBRARIES} + ${Qt5Script_LIBRARIES}) +set(QtScript_deps QtCore) +create_pyside_module(QtScript + QtScript_include_dirs + QtScript_libraries + QtScript_deps + QtScript_typesystem_path + QtScript_SRC + "") |