10
22
add_custom_command(OUTPUT ${${module_sources}}
11
23
COMMAND ${GENERATORRUNNER_BINARY} ${GENERATOR_EXTRA_FLAGS}
13
25
--include-paths=${pyside_SOURCE_DIR}${PATH_SEP}${QT_INCLUDE_DIR}
14
26
--typesystem-paths=${pyside_SOURCE_DIR}${PATH_SEP}${${module_typesystem_path}}
15
27
--output-directory=${CMAKE_CURRENT_BINARY_DIR}
16
28
--license-file=${CMAKE_CURRENT_SOURCE_DIR}/../licensecomment.txt
18
30
--api-version=${SUPPORTED_QT_VERSION}
19
32
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
20
33
COMMENT "Running generator for ${module_name}...")
22
35
include_directories(${module_name} ${${module_include_dir}} ${pyside_SOURCE_DIR})
24
37
set_target_properties(${module_name} PROPERTIES PREFIX "" LIBRARY_OUTPUT_DIRECTORY ${pyside_BINARY_DIR})
26
39
set_target_properties(${module_name} PROPERTIES SUFFIX ".pyd")