Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

9 lines (7 sloc) 0.383 kb
# 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.