summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2018-11-28 14:28:06 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2018-11-29 11:43:03 +0000
commit6007f0785a0107204c522e466f82bd817fcf60f9 (patch)
treebb7840b0f0356763ad128b6d51e5e8304155355a
parent0363a0986e19bfb97ed1b899fc1431a0e1b14dcb (diff)
Remove some cmake dead code
Some code was left over since the rewrite done in a80a6eb94433529a6d984e8ff22874f7dff48eea Change-Id: Ie862cea690dc54ad35d711b5fecfb58d51b03b88 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
-rw-r--r--sources/pyside2/cmake/Macros/PySideModules.cmake16
1 files changed, 0 insertions, 16 deletions
diff --git a/sources/pyside2/cmake/Macros/PySideModules.cmake b/sources/pyside2/cmake/Macros/PySideModules.cmake
index cd2786b1..88c7a504 100644
--- a/sources/pyside2/cmake/Macros/PySideModules.cmake
+++ b/sources/pyside2/cmake/Macros/PySideModules.cmake
@@ -43,21 +43,6 @@ macro(create_pyside_module
set(typesystem_path ${typesystem_name})
endif()
- # check for class files that were commented away.
- if(DEFINED ${module_sources}_skipped_files)
- if(DEFINED PYTHON3_EXECUTABLE)
- set(_python_interpreter "${PYTHON3_EXECUTABLE}")
- else()
- set(_python_interpreter "${PYTHON_EXECUTABLE}")
- endif()
- if(NOT _python_interpreter)
- message(FATAL_ERROR "*** we need a python interpreter for postprocessing!")
- endif()
- set(_python_postprocessor "${_python_interpreter}" "${CMAKE_CURRENT_BINARY_DIR}/filter_init.py")
- else()
- set(_python_postprocessor "")
- endif()
-
# Create typesystem XML dependencies list, so that whenever they change, shiboken is invoked
# automatically.
# First add the main file.
@@ -116,7 +101,6 @@ macro(create_pyside_module
${typesystem_path}
--api-version=${SUPPORTED_QT_VERSION}
--drop-type-entries="${dropped_entries}"
- COMMAND ${_python_postprocessor}
DEPENDS ${total_type_system_files}
${glue_sources}
${${module_name}_glue_dependency}