mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 09:09:03 -04:00
CMake: invoke python build_ext in build step #298
This commit is contained in:
parent
a2f061a91d
commit
fad46d8656
1
.gitignore
vendored
1
.gitignore
vendored
@ -7,3 +7,4 @@ python/src/_notcurses.so
|
||||
rust/*/target
|
||||
*.pyc
|
||||
*.so
|
||||
debian/python3-notcurses
|
||||
|
@ -444,6 +444,7 @@ add_custom_command(
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/build/pytimestamp"
|
||||
COMMAND
|
||||
"${Python3_EXECUTABLE}" ${SETUP_PY} build &&
|
||||
"${Python3_EXECUTABLE}" ${SETUP_PY} build_ext &&
|
||||
mkdir -p "${CMAKE_CURRENT_BINARY_DIR}/build" &&
|
||||
${CMAKE_COMMAND} -E touch "${CMAKE_CURRENT_BINARY_DIR}/build/pytimestamp"
|
||||
DEPENDS
|
||||
|
Loading…
x
Reference in New Issue
Block a user