Closed miser closed 4 years ago
I generate a libuv.a file with the gyp_uv.py to debug the project, but the gyp_uv.py had been removed build remove support for gyp.
Now, how to generate a debug model libuv.a file ?
I try to build it, like below, and import into my hello world project, the debug pointer don't into libuv source, but before is ok.
hello world
$ sh autogen.sh $ ./configure $ make $ make check $ make install
or
$ mkdir -p build $ (cd build && cmake .. -DBUILD_TESTING=ON) # generate project with tests $ cmake --build build # add `-j <n>` with cmake >= 3.12 # Run tests: $ (cd build && ctest -C Debug --output-on-failure)
I've moved this to libuv/help. I think cmake -DCMAKE_BUILD_TYPE=Debug .. is what you're looking for?
cmake -DCMAKE_BUILD_TYPE=Debug ..
@bnoordhuis Thank you, it's right.
(cd build && cmake -DCMAKE_BUILD_TYPE=Debug ..)
I generate a libuv.a file with the gyp_uv.py to debug the project, but the gyp_uv.py had been removed build remove support for gyp.
Now, how to generate a debug model libuv.a file ?
I try to build it, like below, and import into my
hello world
project, the debug pointer don't into libuv source, but before is ok.or