mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-06 18:35:19 +00:00
THRIFT-3155 move contrib/mingw32-toolchain.cmake to build/cmake/
This commit is contained in:
parent
fc8a6a5187
commit
4ead520841
@ -77,7 +77,7 @@ env:
|
||||
- TEST_NAME="C++/std-threads (CMake + CPack)"
|
||||
CMAKE_CONFIG="-DCMAKE_CXX_FLAGS=-std=c++0x -DWITH_C_GLIB=OFF -DWITH_JAVA=OFF -DWITH_STDTHREADS=ON"
|
||||
- TEST_NAME="compiler (mingw32-gcc, CMake + CPack)"
|
||||
CMAKE_CONFIG="-DCMAKE_TOOLCHAIN_FILE=../contrib/mingw32-toolchain.cmake -DBUILD_COMPILER=ON -DBUILD_LIBRARIES=OFF -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF"
|
||||
CMAKE_CONFIG="-DCMAKE_TOOLCHAIN_FILE=../build/cmake/mingw32-toolchain.cmake -DBUILD_COMPILER=ON -DBUILD_LIBRARIES=OFF -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF"
|
||||
|
||||
# Autotool builds
|
||||
# TODO: Remove them as migration is made
|
||||
@ -109,7 +109,7 @@ matrix:
|
||||
|
||||
# Does not use native compiler, no need to do it twice
|
||||
- compiler: gcc
|
||||
env: TEST_NAME="compiler (mingw32-gcc, CMake + CPack)" CMAKE_CONFIG="-DCMAKE_TOOLCHAIN_FILE=../contrib/mingw32-toolchain.cmake -DBUILD_COMPILER=ON -DBUILD_LIBRARIES=OFF -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF"
|
||||
env: TEST_NAME="compiler (mingw32-gcc, CMake + CPack)" CMAKE_CONFIG="-DCMAKE_TOOLCHAIN_FILE=../build/cmake/mingw32-toolchain.cmake -DBUILD_COMPILER=ON -DBUILD_LIBRARIES=OFF -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF"
|
||||
- compiler: gcc
|
||||
env: TEST_NAME="dist (automake)" CONFIG="" ALL_DEPS="yes" MAKE_TARGET="dist"
|
||||
|
||||
|
@ -20,7 +20,7 @@ just do this:
|
||||
|
||||
if you use a specific toolchain pass it to cmake, the same for options:
|
||||
|
||||
cmake -DCMAKE_TOOLCHAIN_FILE=${THRIFT_SRC}/contrib/mingw32-toolchain.cmake ..
|
||||
cmake -DCMAKE_TOOLCHAIN_FILE=../build/cmake/mingw32-toolchain.cmake ..
|
||||
cmake -DCMAKE_C_COMPILER=clang-3.5 -DCMAKE_CXX_COMPILER=clang++-3.5 ..
|
||||
cmake -DTHRIFT_COMPILER_HS=OFF ..
|
||||
cmake -DWITH_ZLIB=ON ..
|
||||
|
@ -20,7 +20,7 @@ Now open the folder build_ec using eclipse.
|
||||
### Cross compile using mingw32 and generate a Windows Installer with CPack
|
||||
|
||||
mkdir build_mingw32 && cd build_mingw32
|
||||
cmake -DCMAKE_TOOLCHAIN_FILE=../../../contrib/mingw32-toolchain.cmake ..
|
||||
cmake -DCMAKE_TOOLCHAIN_FILE=../build/cmake/mingw32-toolchain.cmake ..
|
||||
cpack
|
||||
|
||||
## Build on windows
|
||||
|
Loading…
Reference in New Issue
Block a user