Collabora Notes: Difference between revisions

Jump to navigation Jump to search
Line 210: Line 210:


=== Setting MSVC up  ===
=== Setting MSVC up  ===
=== Getting a command prompt for pulling and building ===
Before using 'hg' or 'make', you'll have to get a command prompt. Carefully follow these [https://developer.mozilla.org/En/Developer_Guide/Build_Instructions/Windows_Prerequisites#Getting_a_command_prompt_for_building following steps]. This .bat file will open a MinGW32 window.
''Note: It's very likely that you'll have to tweak the start-msvcXX.bat batch file to add more paths to the "PATH" environment variable. Also, you'll probably need to add some "LIB" and "INCLUDE" paths, or preset the "MOZCONFIG" variable for convenience.''


=== Pulling the electrolysis project  ===
=== Pulling the electrolysis project  ===
Once you've got that MinGW32 window with command prompt,


=== Building e10s  ===
=== Building e10s  ===
Even under Windows, e10s is built manually from a console (though you can setup MSVC projects to drive builds for you, but it's not recommended, as build dependencies are very complicated, making incremental building from MSVC a *real* challenge!).
Even under Windows, e10s is built manually from a console (though you can setup MSVC projects to drive builds for you, but it's not recommended, as build dependencies are very complicated, making incremental building from MSVC a *real* challenge!).


Before actually building, you'll have to get a command prompt. Carefully follow the [https://developer.mozilla.org/En/Developer_Guide/Build_Instructions/Windows_Prerequisites#Getting_a_command_prompt_for_building following steps]. This .bat file will open a MinGW32 window.
From the minGW32 window, build the code as you would normally do on other platforms, by following [https://wiki.mozilla.org/Collabora_Notes#Building_the_electrolysis_project these steps].
 
''Note: It's very likely that you'll have to tweak the start-msvcXX.bat batch file to add more paths to the "PATH" environment variable. Also, you'll probably need to add some "LIB" and "INCLUDE" paths, or preset the "MOZCONFIG" variable for convenience.''
 
Once you've got that MinGW32 window with command prompt, build the code as you would normally do on other platforms, by following [https://wiki.mozilla.org/Collabora_Notes#Building_the_electrolysis_project these steps].


== Common steps to all three platforms  ==
== Common steps to all three platforms  ==

Navigation menu