diff options
Diffstat (limited to 'doc/source/f2py/buildtools/cmake.rst')
-rw-r--r-- | doc/source/f2py/buildtools/cmake.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/source/f2py/buildtools/cmake.rst b/doc/source/f2py/buildtools/cmake.rst index 3ed5a2bee..8c654c73e 100644 --- a/doc/source/f2py/buildtools/cmake.rst +++ b/doc/source/f2py/buildtools/cmake.rst @@ -48,9 +48,9 @@ with the ``cython`` information. ls . # CMakeLists.txt fib1.f - mkdir build && cd build - cmake .. - make + cmake -S . -B build + cmake --build build + cd build python -c "import numpy as np; import fibby; a = np.zeros(9); fibby.fib(a); print (a)" # [ 0. 1. 1. 2. 3. 5. 8. 13. 21.] |