I am following FMIL build guide and running following commands:
mkdir build-fmil; cd build-fmil
cmake -DFMILIB_INSTALL_PREFIX=<prefix> -G "Visual Studio 10" <path to FMIL source>
cmake --build . --config MinSizeRel --target install
So I build an empty directory, and set a source, but it keep saying error below.
CMake Error at CMakeLists.txt:21 (message):
In-source build is not supported. Please, use an empty directory for
building the project.
-- Configuring incomplete, errors occurred!
I Tried this on VS code terminal.