Scanning dependencies of target mymath
[ 50%] Building CXX object CMakeFiles/mymath.dir/src/mymath.cpp.o
[100%] Linking CXX static library libmymath.a
[100%] Built target mymath
make cmake_example
[ 50%] Built target mymath
Scanning dependencies of target cmake_example
[ 75%] Building CXX object CMakeFiles/cmake_example.dir/src/binder.cpp.o
[100%] Linking CXX shared module cmake_example.cpython-38-x86_64-linux-gnu.so
[100%] Built target cmake_example
And I don't know how to use setup.py
I tried python3 setup.py cmake_example
But the output is :
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'cmake_example'
What is the cmd1 means?
I want to
cmake
it manually. From this video https://www.youtube.com/watch?v=H2wOlriHGmM. The following are successes.Scanning dependencies of target mymath [ 50%] Building CXX object CMakeFiles/mymath.dir/src/mymath.cpp.o [100%] Linking CXX static library libmymath.a [100%] Built target mymath
[ 50%] Built target mymath Scanning dependencies of target cmake_example [ 75%] Building CXX object CMakeFiles/cmake_example.dir/src/binder.cpp.o [100%] Linking CXX shared module cmake_example.cpython-38-x86_64-linux-gnu.so [100%] Built target cmake_example
And I don't know how to use setup.py I tried
python3 setup.py cmake_example
But the output is : usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --helperror: invalid command 'cmake_example' What is the cmd1 means?