Allow cross build for windows using mingw32
- Build the compiler using CMake for:
- Linux native gcc
- Windows using mingw32
diff --git a/.travis.yml b/.travis.yml
index 2ae6fcb..d40e81c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -72,5 +72,7 @@
- make -j$NUM_CPU && make dist
- make cross -j$NUM_CPU
- sh bootstrap.sh ; sh contrib/mingw-cross-compile.sh
+ - mkdir build_native && cd build_native && cmake ../compiler/cpp/ && make; cd ..
+ - mkdir build_mingw32 && cd build_mingw32 && cmake -DCMAKE_TOOLCHAIN_FILE=../contrib/mingw32-toolchain.cmake ../compiler/cpp/ && make; cd ..
# TODO: add these steps
# - sh bootstrap.sh ; dpkg-buildpackage -tc