Difference between revisions of "How to build VCMI (Windows/Cmake)"

From VCMI Project Wiki
Jump to: navigation, search
(Prerequisites)
(Build boost)
Line 18: Line 18:
 
= Build boost =
 
= Build boost =
 
* Unpack boost archive
 
* Unpack boost archive
* <code>bootstrap.bat gcc</code>
+
<pre>
* <code>b2 toolset=gcc --without-python --stage</code>
+
bootstrap.bat gcc
* copy stage/lib to [VCMIBUILD_DIR]/boost/lib
+
b2 toolset=gcc --without-python --stage
* copy boost dir to [VCMIBUILD_DIR]/boost/boost
+
</pre>
 +
* copy '''stage/lib''' to '''[VCMIBUILD_DIR]/boost/lib'''
 +
* copy '''boost''' dir to '''[VCMIBUILD_DIR]/boost/boost'''
 
So, you should get
 
So, you should get
 
*[VCMIBUILD_DIR]
 
*[VCMIBUILD_DIR]

Revision as of 13:53, 10 July 2014

Prerequisites



Build boost

  • Unpack boost archive
bootstrap.bat gcc
b2 toolset=gcc --without-python --stage
  • copy stage/lib to [VCMIBUILD_DIR]/boost/lib
  • copy boost dir to [VCMIBUILD_DIR]/boost/boost

So, you should get

  • [VCMIBUILD_DIR]
    • boost
      • boost
      • lib