Skip to content
Find file
5561b34
9 lines (7 sloc) 383 Bytes
# If the pyx file is a C++ file, we should specify that here.
set_source_files_properties( ${CYTHON_CMAKE_EXAMPLE_SOURCE_DIR}/src/rect.pyx PROPERTIES CYTHON_IS_CXX TRUE )
cython_add_standalone_executable( rectangle-props MAIN_MODULE rectangle_props.py
${CYTHON_CMAKE_EXAMPLE_SOURCE_DIR}/src/rect.pyx
rectangle_props.py
${CYTHON_CMAKE_EXAMPLE_SOURCE_DIR}/src/Rectangle.cxx
)
Jump to Line
Something went wrong with that request. Please try again.