소스 검색

Build browser plugin on travis for OSX

Colin Edwards 9 년 전
부모
커밋
947d04012f
2개의 변경된 파일13개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      CI/before-script-osx.sh
  2. 12 0
      CI/install-dependencies-osx.sh

+ 1 - 1
CI/before-script-osx.sh

@@ -1,3 +1,3 @@
 mkdir build
 cd build
-cmake ..
+cmake -DBUILD_BROWSER=ON -DCEF_ROOT_DIR=$PWD/../../cef_binary_3.2704.1434.gec3e9ed_macosx64 ..

+ 12 - 0
CI/install-dependencies-osx.sh

@@ -3,3 +3,15 @@ brew update
 #Base OBS Deps
 brew install ffmpeg x264 qt5 python
 
+# CEF Stuff
+cd ../
+curl -kLO http://opensource.spotify.com/cefbuilds/cef_binary_3.2704.1434.gec3e9ed_macosx64.tar.bz2
+tar -xf ./cef_binary_3.2704.1434.gec3e9ed_macosx64.tar.bz2
+cd ./cef_binary_3.2704.1434.gec3e9ed_macosx64
+mkdir build
+cd ./build
+cmake -DCMAKE_CXX_FLAGS="-std=c++11 -stdlib=libc++" -DCMAKE_EXE_LINKER_FLAGS="-std=c++11 -stdlib=libc++" ..
+make -j4
+mkdir libcef_dll
+mv ./libcef_dll_wrapper/libcef_dll_wrapper.a ./libcef_dll/libcef_dll_wrapper.a
+cd ../../