File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -31,17 +31,17 @@ jobs:
3131 run : |
3232 conda activate eigenpy
3333 conda install cmake -c main
34-
34+
3535 - name : Build EigenPy
3636 shell : bash -l {0}
3737 run : |
3838 conda activate eigenpy
3939 echo $CONDA_PREFIX
40-
40+
4141 mkdir build
4242 cd build
4343
44- cmake .. -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=$(which python3)
44+ cmake .. -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=$(which python3) -DGENERATE_PYTHON_STUBS=ON
4545 make
4646 make build_tests
4747 export CTEST_OUTPUT_ON_FAILURE=1
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ SET(CMAKE_VERBOSE_MAKEFILE True)
2727# ----------------------------------------------------
2828OPTION (INSTALL_DOCUMENTATION "Generate and install the documentation" OFF )
2929OPTION (SUFFIX_SO_VERSION "Suffix library name with its version" OFF )
30- CMAKE_DEPENDENT_OPTION(GENERATE_PYTHON_STUBS "Generate the Python stubs associated to the Python library" OFF "NOT WIN32" OFF )
3130
3231IF (DEFINED BUILD_UNIT_TESTS)
3332 MESSAGE (AUTHOR_WARNING "BUILD_UNIT_TESTS is deprecated. Use BUILD_TESTING instead.\
@@ -44,6 +43,9 @@ INCLUDE(cmake/boost.cmake)
4443INCLUDE (cmake/python.cmake)
4544INCLUDE (cmake/ide.cmake)
4645INCLUDE (cmake/apple .cmake)
46+ INCLUDE (CMakeDependentOption)
47+
48+ CMAKE_DEPENDENT_OPTION(GENERATE_PYTHON_STUBS "Generate the Python stubs associated to the Python library" OFF "NOT WIN32" OFF )
4749
4850STRING (REPLACE "-pedantic" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} )
4951
You can’t perform that action at this time.
0 commit comments