-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* use ole32 when compiling with MINGW in Windows for UUIDs * use winresrc.h instead of winres.h * remove ole32 link dependency * add mingw shell script * add mingw support to travis-cli * fix travis before_script * add cmake cross compile support to cmake * remove tobydox dependency * use mingw from /usr instead of /opt * remove test from travis mingw build * remove tets generation for linux mingw * fix mingw cmake script * add LIB3MF_TESTS at cmake toolchain * reenable tests in mingw cmake
- Loading branch information
1 parent
aaba714
commit 5dbdbb6
Showing
4 changed files
with
35 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#include "VersionInfo.h" | ||
#include "winres.h" | ||
#include "winresrc.h" | ||
|
||
// IDI_ICON1 ICON PRODUCT_ICON | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/sh | ||
|
||
basepath="$(cd "$(dirname "$0")" && pwd)" | ||
builddir="$basepath/../build" | ||
mkdir -p "$builddir" | ||
cd "$builddir" | ||
echo "SET(CMAKE_SYSTEM_NAME Windows)" > toolchain.cmake && | ||
echo "SET(CMAKE_C_COMPILER x86_64-w64-mingw32-gcc)" >> toolchain.cmake && | ||
echo "SET(CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++)" >> toolchain.cmake && | ||
echo "SET(CMAKE_RC_COMPILER x86_64-w64-mingw32-windres)" >> toolchain.cmake && | ||
echo "SET(CMAKE_FIND_ROOT_PATH /usr/mingw64)" >> toolchain.cmake && | ||
echo "SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)" >> toolchain.cmake && | ||
echo "SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)" >> toolchain.cmake && | ||
echo "SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)" >> toolchain.cmake && | ||
cmake .. -DCMAKE_TOOLCHAIN_FILE=toolchain.cmake "$@" |