This repository has been archived by the owner on Jun 17, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename rectangle module to rect. #4.
To deal with case-insensitivity on Mac.
- Loading branch information
Showing
5 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
# If the pyx file is a C++ file, we should specify that here. | ||
set_source_files_properties( ${CYTHON_CMAKE_EXAMPLE_SOURCE_DIR}/src/rectangle.pyx PROPERTIES CYTHON_IS_CXX TRUE ) | ||
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/rectangle.pyx | ||
${CYTHON_CMAKE_EXAMPLE_SOURCE_DIR}/src/rect.pyx | ||
rectangle_props.py | ||
${CYTHON_CMAKE_EXAMPLE_SOURCE_DIR}/src/Rectangle.cxx | ||
) |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# If the pyx file is a C++ file, we should specify that here. | ||
set_source_files_properties( | ||
${CYTHON_CMAKE_EXAMPLE_SOURCE_DIR}/src/rectangle.pyx | ||
${CYTHON_CMAKE_EXAMPLE_SOURCE_DIR}/src/rect.pyx | ||
${CYTHON_CMAKE_EXAMPLE_SOURCE_DIR}/src/pi_calculator.pyx | ||
PROPERTIES CYTHON_IS_CXX TRUE ) | ||
|
||
# Multi-file cython modules do not appear to be working at the moment. | ||
cython_add_module( rectangle rectangle.pyx Rectangle.cxx ) | ||
cython_add_module( rect rect.pyx Rectangle.cxx ) | ||
|
||
cython_add_module( pi_calculator pi_calculator.pyx PiCalculator.cxx ) |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters