I'm trying to build BoringSSL by Google. The BUILDING file instructions clearly indicate that the output should go under the build directory.
I have a directory project, and under it I've created build. There is a CMakeLists.txt file under project, and I would like it to build inside the build directory. However, when I run cmake .. from inside build, the makefile is produced in the project directory instead of the current build directory.
Most instructions I found seem to indicate that the output of cmake goes into the current directory, regardless of where CMakeLists.txt is located. What am I doing incorrectly?
Turns out that since I ran cmake in the top level project directory, running it again from inside build didn't produce a new output. Removing CMakeCache.txt from project should solve the problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With