Open danielpieczko opened 2 years ago
with visual studio C++ toolchain installed and fair bit of googling I found the cmake incantation. needed to specify win32 as XTC seems to ship with a x86 version of the fileio lib
cd host
cmake -B build -A Win32
cmake --build build --config Release
Then the host app can be found in host\build\Release
edit: I used the "Visual Studio 17 2022" generator. Didn't manage to make ninja work
For Linux and Mac, a
pip install
of xscope_fileio will build the host endpoint in the host directory so it is ready to use.For a general Windows system, we can't assume a particular build command because there are multiple options (for example: just nmake, or create a whole VisualStudio project?)
Currently
setup.py
skips the build commands on Windows, but it would be nicer to do something more useful like check if the endpoint is present and display a warning to say that it needs to be built manually in the correct directory.