File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ desc 'Compile using VS2010, VS2012 and VS2013. Note that this requires all toolchains to be installed and available.'
2+ task :default => [ :vs2012 ]
3+
4+ # TODO: implement
5+ #desc 'Compile using VS2010 tools'
6+ #task :vs2010 do
7+ #end
8+
9+ desc 'Compile using VS2012 tools'
10+ task :vs2012 do
11+ sh '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\vsvars32.bat" && cd cef_binary_3.y.z_windows32 && build'
12+ sh '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\vsvars32.bat" && cd cef_binary_3.y.z_windows64 && build'
13+
14+ # TODO: change these if needed.
15+ FileUtils . mkdir_p 'vs2012/x86/Debug'
16+ FileUtils . mkdir_p 'vs2012/x86/Release'
17+ FileUtils . mkdir_p 'vs2012/x64/Debug'
18+ FileUtils . mkdir_p 'vs2012/x64/Release'
19+ sh 'cp cef_binary_3.y.z_windows32/out/Debug/lib/libcef_dll_wrapper.lib vs2012/x86/Debug'
20+ sh 'cp cef_binary_3.y.z_windows32/out/Release/lib/libcef_dll_wrapper.lib vs2012/x86/Release'
21+ sh 'cp cef_binary_3.y.z_windows64/out/Debug/lib/libcef_dll_wrapper.lib vs2012/x64/Debug'
22+ sh 'cp cef_binary_3.y.z_windows64/out/Release/lib/libcef_dll_wrapper.lib vs2012/x64/Release'
23+
24+ end
25+
26+ # TODO: implement
27+ #desc 'Compile using VS2013 tools'
28+ #task :vs2013 do
29+ #end
You can’t perform that action at this time.
0 commit comments