Added build instructions for windows

FossilOrigin-Name: 1760813f6ce3ed23ab45bee2fbde8cbf487d2481
This commit is contained in:
kostas 2012-05-17 14:41:29 +00:00
parent 871c09fd6b
commit 152041ff05
3 changed files with 49 additions and 9 deletions

View File

@ -27,6 +27,46 @@ Additionally you can clone the source code directly from Chisel using fossil
Windows Windows
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
1. Open a Command Prompt and cd into the folder containing the Fuel source code
cd fuel
2. Make a build folder and cd into it
md build
cd build
3.1 Build with MinGW
3.1.1 Generate the makefile with qmake
C:\QtSDK\Desktop\Qt\4.8.1\mingw\bin\qmake ..\fuel.pro -r -spec win32-g++ CONFIG+=release
3.1.2 Build the project
c:\QtSDK\mingw\bin\mingw32-make
3.1.3 Copy the Qt DLLs
copy C:\QtSDK\Desktop\Qt\4.8.1\mingw\bin\QtCore4.dll release
copy C:\QtSDK\Desktop\Qt\4.8.1\mingw\bin\QtGui4.dll release
3.1.4 Copy the MinGW DLLs
copy C:\QtSDK\mingw\bin\libgcc_s_dw2-1.dll release
copy C:\QtSDK\mingw\bin\mingwm10.dll release
3.2 Build with Visual Studio 2010
3.2.1 Generate the Visual Studio project makefile with qmake
C:\QtSDK\Desktop\Qt\4.8.1\msvc2010\bin\qmake ..\fuel.pro -tp vc -spec win32-msvc2010
3.2.2 Open the generated project
start fuel.vcxproj
3.2.3 Build the project
Alternatively you can build via MSBuild
c:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild Fuel.vcxproj /t:build /p:Configuration=Release
3.2.4 Copy the Qt DLLs
copy C:\QtSDK\Desktop\Qt\4.8.1\msvc2010\bin\QtCore4.dll release
copy C:\QtSDK\Desktop\Qt\4.8.1\msvc2010\bin\QtGui4.dll release
4. Enjoy
release\Fuel.exe
Mac OS X Mac OS X
@ -39,7 +79,7 @@ Build Steps:
2. Generate the makefile with qmake 2. Generate the makefile with qmake
/path/to/qt/bin/qmake fuel.pro -spec macx-g++ CONFIG+=release /path/to/qt/bin/qmake fuel.pro -spec macx-g++ CONFIG+=release
3. Compile 3. Build the project
make make
4. (Optional) Include the Fossil executable within the Fuel application bundle 4. (Optional) Include the Fossil executable within the Fuel application bundle
@ -62,7 +102,7 @@ Build Steps:
2. Generate the makefile with qmake 2. Generate the makefile with qmake
qmake fuel.pro qmake fuel.pro
3. Compile 3. Build the project
make make
4. Enjoy 4. Enjoy

View File

@ -1,8 +1,8 @@
C Fixed\sui\sdesigner\serror\smessages\n C Added\sbuild\sinstructions\sfor\swindows
D 2012-05-15T15:28:52.949 D 2012-05-17T14:41:29.847
F dist/arch/PKGBUILD dd21073c035af4e6a4ecb3842c1fd7ae45c5e93d F dist/arch/PKGBUILD dd21073c035af4e6a4ecb3842c1fd7ae45c5e93d
F dist/win/fuel.iss ef3558dbba409eb194938b930377fc9ee27d319e F dist/win/fuel.iss ef3558dbba409eb194938b930377fc9ee27d319e
F doc/Building.txt cc8113d8e77f1f87809d5222fcfe8b505eb890b8 F doc/Building.txt 7c0f1060d4a08ed330058d4a3a68905c05228381
F doc/Changes.txt e21c9355aaeb7643c8d6784effd2f9ebadf3a8e0 F doc/Changes.txt e21c9355aaeb7643c8d6784effd2f9ebadf3a8e0
F doc/License.txt 4cc77b90af91e615a64ae04893fdffa7939db84c F doc/License.txt 4cc77b90af91e615a64ae04893fdffa7939db84c
F fuel.pro 2f1650c8b3e4b09eeb5b6283655d2142fe67cb00 F fuel.pro 2f1650c8b3e4b09eeb5b6283655d2142fe67cb00
@ -187,7 +187,7 @@ F ui/CommitDialog.ui 813d7cba316e226de1a22b7e480bb969fbe9b0c4
F ui/FileActionDialog.ui c63644428579741aeb5fa052e237ba799ced9ad7 F ui/FileActionDialog.ui c63644428579741aeb5fa052e237ba799ced9ad7
F ui/MainWindow.ui 6ad583b6d864ccbeac8e3fd1d05cd964bc17c5f9 F ui/MainWindow.ui 6ad583b6d864ccbeac8e3fd1d05cd964bc17c5f9
F ui/SettingsDialog.ui cd6faff19c1a6c2640193eb5a258f0daa926a2cf F ui/SettingsDialog.ui cd6faff19c1a6c2640193eb5a258f0daa926a2cf
P 8d0387b98dd1711a49800f1ec26ebf3d714aed21 P 623d92282857d1eef5ba9314b02ee9482ad7e7ea
R af8b75739afa5abe06fd6501157bdfac R 994818d5dcdeeac6bdf896aa00d04986
U kostas U kostas
Z b11536d058a2238da932b8709574f937 Z fa78223180c8f2827d94a33c07e67bbb

View File

@ -1 +1 @@
623d92282857d1eef5ba9314b02ee9482ad7e7ea 1760813f6ce3ed23ab45bee2fbde8cbf487d2481