Include modern build instructions for Win64
Mostly just so that the two options don't look the same.
This commit is contained in:
parent
95f53863ec
commit
03c6ae0750
|
@ -100,12 +100,9 @@ Just install MinGW-w64 and let automation take care of the rest.
|
||||||
Alternatively, for an unnecessarily bloated MSYS2-based 64-bit build:
|
Alternatively, for an unnecessarily bloated MSYS2-based 64-bit build:
|
||||||
|
|
||||||
$ sh Win64Depends.cmake
|
$ sh Win64Depends.cmake
|
||||||
$ mkdir build
|
$ cmake -DCMAKE_TOOLCHAIN_FILE=ToolchainCrossWin64.cmake \
|
||||||
$ cd build
|
-DCMAKE_BUILD_TYPE=Release -B build
|
||||||
$ cmake .. \
|
$ cmake --build build -- package
|
||||||
-DCMAKE_TOOLCHAIN_FILE=../ToolchainCrossWin64.cmake \
|
|
||||||
-DCMAKE_BUILD_TYPE=Release
|
|
||||||
$ cpack
|
|
||||||
|
|
||||||
Contributing and Support
|
Contributing and Support
|
||||||
------------------------
|
------------------------
|
||||||
|
|
|
@ -6,7 +6,7 @@ set (CMAKE_CXX_COMPILER "x86_64-w64-mingw32-g++")
|
||||||
set (CMAKE_RC_COMPILER "x86_64-w64-mingw32-windres")
|
set (CMAKE_RC_COMPILER "x86_64-w64-mingw32-windres")
|
||||||
|
|
||||||
# Not needed to crosscompile an installation package
|
# Not needed to crosscompile an installation package
|
||||||
#set (CMAKE_CROSSCOMPILING_EMULATOR "wine")
|
#set (CMAKE_CROSSCOMPILING_EMULATOR "wine64")
|
||||||
|
|
||||||
set (CMAKE_FIND_ROOT_PATH "/usr/x86_64-w64-mingw32")
|
set (CMAKE_FIND_ROOT_PATH "/usr/x86_64-w64-mingw32")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue