This repository has been archived by the owner on Jun 17, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move the rectangle-props executable to the bin directory.
- Loading branch information
Showing
6 changed files
with
10 additions
and
11 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
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,5 +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 ) | |||
|
|||
cython_add_standalone_executable( rectangle-props MAIN_MODULE rectangle_props.py | 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/rectangle.pyx | ||
rectangle_props.py | rectangle_props.py | ||
${CYTHON_CMAKE_EXAMPLE_SOURCE_DIR}/Rectangle.cxx | ${CYTHON_CMAKE_EXAMPLE_SOURCE_DIR}/src/Rectangle.cxx | ||
) | ) |
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
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
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,7 +1,5 @@ | |||
include_directories( ${CYTHON_CMAKE_EXAMPLE_SOURCE_DIR}/include ) | |||
|
|||
# If the pyx file is a C++ file, we should specify that here. | # If the pyx file is a C++ file, we should specify that here. | ||
set_source_files_properties( rectangle.pyx PROPERTIES CYTHON_IS_CXX TRUE ) | set_source_files_properties( ${CYTHON_CMAKE_EXAMPLE_SOURCE_DIR}/src/rectangle.pyx PROPERTIES CYTHON_IS_CXX TRUE ) | ||
|
|
||
# Multi-file cython modules do not appear to be working at the moment. | # Multi-file cython modules do not appear to be working at the moment. | ||
cython_add_module( rectangle rectangle.pyx Rectangle.cxx ) | cython_add_module( rectangle rectangle.pyx Rectangle.cxx ) |
This file was deleted.
Oops, something went wrong.