This is a first batch of commits to help support MSVC.
One can use vcpkg to install the dependencies.
Some features like IIO and plambda cannot be supported since MSVC does not support VLA. So I added options to disable them.
Since IIO must be disabled, you need to enable GDAL with -DUSE_GDAL=ON to build.
At the moment Terminal.cpp is still relying on popen and pclose which are not supported by MSVC. A better alternative would be to replace this with something portable, like reproc++ for example. In the mean time, one can comment the usage of popen/pclose.
This is a first batch of commits to help support MSVC. One can use vcpkg to install the dependencies.
Some features like IIO and plambda cannot be supported since MSVC does not support VLA. So I added options to disable them. Since IIO must be disabled, you need to enable GDAL with
-DUSE_GDAL=ON
to build.At the moment
Terminal.cpp
is still relying on popen and pclose which are not supported by MSVC. A better alternative would be to replace this with something portable, like reproc++ for example. In the mean time, one can comment the usage of popen/pclose.