Skip to content
Snippets Groups Projects
Unverified Commit c17a98f7 authored by Joris Vaillant's avatar Joris Vaillant
Browse files

cmake: fix stub generation on windows

parent 786083bd
No related branches found
No related tags found
No related merge requests found
...@@ -51,11 +51,6 @@ jobs: ...@@ -51,11 +51,6 @@ jobs:
cmake --build . --config Release --target install cmake --build . --config Release --target install
if errorlevel 1 exit 1 if errorlevel 1 exit 1
:: Build stubs
git clone https://github.com/jcarpent/pybind11-stubgen.git
python "%CD%\pybind11-stubgen\pybind11_stubgen\__init__.py" -o %CONDA_PREFIX%\Lib\site-packages\eigenpy eigenpy --boost-python --ignore-invalid signature --no-setup-py --root-module-suffix ""
if errorlevel 1 exit 1
:: Testing :: Testing
ctest --output-on-failure -C Release -V ctest --output-on-failure -C Release -V
if errorlevel 1 exit 1 if errorlevel 1 exit 1
......
...@@ -61,7 +61,7 @@ if(GENERATE_PYTHON_STUBS) ...@@ -61,7 +61,7 @@ if(GENERATE_PYTHON_STUBS)
load_stubgen() load_stubgen()
generate_stubs(${CMAKE_CURRENT_BINARY_DIR} ${PROJECT_NAME} generate_stubs(${CMAKE_CURRENT_BINARY_DIR} ${PROJECT_NAME}
${ABSOLUTE_PYTHON_SITELIB} ${PYWRAP}) ${ABSOLUTE_PYTHON_SITELIB} ${PYWRAP}) ${PROJECT_NAME}
endif(GENERATE_PYTHON_STUBS) endif(GENERATE_PYTHON_STUBS)
# --- INSTALL SCRIPTS # --- INSTALL SCRIPTS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment