forked from cefsharp/cef-binary
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRakefile
More file actions
29 lines (24 loc) · 1.15 KB
/
Rakefile
File metadata and controls
29 lines (24 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
desc 'Compile using VS2010, VS2012 and VS2013. Note that this requires all toolchains to be installed and available.'
task :default => [ :vs2012 ]
# TODO: implement
#desc 'Compile using VS2010 tools'
#task :vs2010 do
#end
desc 'Compile using VS2012 tools'
task :vs2012 do
sh '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\vsvars32.bat" && cd cef_binary_3.y.z_windows32 && build'
sh '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\vsvars32.bat" && cd cef_binary_3.y.z_windows64 && build'
# TODO: change these if needed.
FileUtils.mkdir_p 'vs2012/x86/Debug'
FileUtils.mkdir_p 'vs2012/x86/Release'
FileUtils.mkdir_p 'vs2012/x64/Debug'
FileUtils.mkdir_p 'vs2012/x64/Release'
sh 'cp cef_binary_3.y.z_windows32/out/Debug/lib/libcef_dll_wrapper.lib vs2012/x86/Debug'
sh 'cp cef_binary_3.y.z_windows32/out/Release/lib/libcef_dll_wrapper.lib vs2012/x86/Release'
sh 'cp cef_binary_3.y.z_windows64/out/Debug/lib/libcef_dll_wrapper.lib vs2012/x64/Debug'
sh 'cp cef_binary_3.y.z_windows64/out/Release/lib/libcef_dll_wrapper.lib vs2012/x64/Release'
end
# TODO: implement
#desc 'Compile using VS2013 tools'
#task :vs2013 do
#end