You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From this behaviour it is my impression that cmake --build changes to the directory given with the --build command line parameter, and then invokes the build command with the given target. Since ninja.build is only created in the build-root directory it can not be run from a subdirectory.
Hi, CMake does support building a single directory or file, at least when generating makefiles.
If you are building out of tree:
cd build/src
make
this builds the current subtree
cd build/src
make main.o
this builds the file main.c[c]
So it would be nice to have this supported.
The text was updated successfully, but these errors were encountered: