mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-12-28 07:30:10 +00:00
[c-host] fixed project for cross compliation for Win on Linux
Thanks @fatalis for your guidance on this
This commit is contained in:
@@ -36,6 +36,8 @@ Don't ask if you can't figure it out, this code is the very definition of experi
|
||||
|
||||
Hint:
|
||||
|
||||
### For Windows on Windows
|
||||
|
||||
```
|
||||
mkdir build
|
||||
cd build
|
||||
@@ -43,6 +45,24 @@ cmake -G "MSYS Makefiles" ..
|
||||
make
|
||||
```
|
||||
|
||||
### For Linux on Linux
|
||||
|
||||
```
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ..
|
||||
make
|
||||
```
|
||||
|
||||
### For Windows cross compiling on Linux
|
||||
|
||||
```
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -DCMAKE_TOOLCHAIN_FILE=../toolchain-mingw64.cmake ..
|
||||
make
|
||||
```
|
||||
|
||||
## Where is the log?
|
||||
|
||||
It is in your user's temp directory:
|
||||
|
||||
Reference in New Issue
Block a user