mirror of
https://github.com/fletcher/MultiMarkdown-6.git
synced 2024-10-04 18:47:31 +03:00
Try to get MinGW-w64 properly configured
This commit is contained in:
parent
db93d84d96
commit
88c3f9a354
6
Makefile
6
Makefile
@ -32,19 +32,19 @@ xcode: $(BUILD_DIR)
|
|||||||
.PHONY : windows
|
.PHONY : windows
|
||||||
windows: $(BUILD_DIR)
|
windows: $(BUILD_DIR)
|
||||||
cd $(BUILD_DIR); touch README.html; \
|
cd $(BUILD_DIR); touch README.html; \
|
||||||
cmake -DCMAKE_TOOLCHAIN_FILE=../tools/Toolchain-mingw64.cmake -DCMAKE_BUILD_TYPE=Release ..
|
cmake -DCMAKE_TOOLCHAIN_FILE=../tools/Toolchain-MinGW-w64-64bit.cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||||
|
|
||||||
# Build Windows zip file using MinGW on *nix
|
# Build Windows zip file using MinGW on *nix
|
||||||
.PHONY : windows-zip
|
.PHONY : windows-zip
|
||||||
windows-zip: $(BUILD_DIR)
|
windows-zip: $(BUILD_DIR)
|
||||||
cd $(BUILD_DIR); touch README.html; \
|
cd $(BUILD_DIR); touch README.html; \
|
||||||
cmake -DCMAKE_TOOLCHAIN_FILE=../tools/Toolchain-mingw64.cmake -DCMAKE_BUILD_TYPE=Release -DZIP=1 ..
|
cmake -DCMAKE_TOOLCHAIN_FILE=../tools/Toolchain-MinGW-w64-64bit.cmake -DCMAKE_BUILD_TYPE=Release -DZIP=1 ..
|
||||||
|
|
||||||
# Cross-compile for Windows using MinGW on *nix (32-bit)
|
# Cross-compile for Windows using MinGW on *nix (32-bit)
|
||||||
.PHONY : windows-32
|
.PHONY : windows-32
|
||||||
windows-32: $(BUILD_DIR)
|
windows-32: $(BUILD_DIR)
|
||||||
cd $(BUILD_DIR); touch README.html; \
|
cd $(BUILD_DIR); touch README.html; \
|
||||||
cmake -DCMAKE_TOOLCHAIN_FILE=../tools/Toolchain-mingw32.cmake -DCMAKE_BUILD_TYPE=Release ..
|
cmake -DCMAKE_TOOLCHAIN_FILE=../tools/Toolchain-MinGW-w64-32bit.cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||||
|
|
||||||
# Build Windows zip file using MinGW on *nix (32-bit)
|
# Build Windows zip file using MinGW on *nix (32-bit)
|
||||||
.PHONY : windows-zip-32
|
.PHONY : windows-zip-32
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Settings for compiling for Windows 64-bit machines
|
# Settings for compiling for Windows 32-bit machines using MinGW-w64
|
||||||
|
|
||||||
set (CMAKE_SYSTEM_NAME Windows)
|
set (CMAKE_SYSTEM_NAME Windows)
|
||||||
|
|
9
tools/Toolchain-MinGW-w64-64bit.cmake
Normal file
9
tools/Toolchain-MinGW-w64-64bit.cmake
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# Settings for compiling for Windows 64-bit machines using MinGW-w64
|
||||||
|
|
||||||
|
set (CMAKE_SYSTEM_NAME Windows)
|
||||||
|
|
||||||
|
set (CMAKE_C_COMPILER x86_64-w64-mingw32-gcc)
|
||||||
|
set (CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++)
|
||||||
|
set (CMAKE_RC_COMPILER x86_64-w64-mingw32-windres)
|
||||||
|
|
||||||
|
set (CMAKE_FIND_ROOT_PATH /usr/bin)
|
Loading…
Reference in New Issue
Block a user