diff options
author | Ben Campbell <ben@scumways.com> | 2016-08-24 22:00:21 +1200 |
---|---|---|
committer | Ben Campbell <ben@scumways.com> | 2016-08-24 22:00:21 +1200 |
commit | eac0a0d7938804c90f44b765457d1f45826bf7a0 (patch) | |
tree | cb04087c78c9213759db60cc5141dca677b9a362 | |
parent | e0b998bca961f26ec7597fdb95580d943811995f (diff) | |
download | devil-eac0a0d7938804c90f44b765457d1f45826bf7a0.tar.gz |
add some rough notes on compiling for windows with msys2
-rw-r--r-- | DevIL/README.cmake | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/DevIL/README.cmake b/DevIL/README.cmake index d9a2e0ab..07d6e396 100644 --- a/DevIL/README.cmake +++ b/DevIL/README.cmake @@ -4,6 +4,7 @@ Build DevIL with CMake For Linux/Unix/OSX/mingw, using makefiles: + $ cd devil/DevIL $ mkdir build $ cd build $ cmake .. @@ -35,3 +36,12 @@ TODO: - instructions for Msys2 on windows - steps for setting up libs for visual studio + + +Building with msys2 and mingw32/mingw64: + + $ cmake -G "MSYS Makefiles" .. + +To set install prefix (windows default seems to be C:/program files/....): + $ cmake -G "MSYS Makefiles" -DCMAKE_INSTALL_PREFIX=/usr/local .. + |