Changes between Version 5 and Version 6 of MussaglBuild


Ignore:
Timestamp:
04/10/2006 03:53:45 PM (18 years ago)
Author:
diane
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MussaglBuild

    v5 v6  
    55 * [http://www.boost.org/ Boost C++ Libraries] (program_options, test, python modules)
    66 * Mussagl Source ([/cgi-bin/mussa/wiki See download section])
     7 * [http://www.cmake.org CMake] or qmake (part of qt)
    78
    89== Windows XP Requirements ==
    910 * [http://www.mingw.org/ MingGW] (gcc compiler and tools for Windows... Qt4.1 installer will install it for you).
    1011
    11 == Build Command ==
    1212
     13== CMake Build commands ==
     14
     15CMake has several advantages over qmake or standard make files for multiplatform development. One advantage is that it lets one build out of source (which makes clean up if a build goes wrong much easer.)
     16
     17After installing cmake, change to the mussa source directory and do the following.
     18
     19{{{
     20mkdir build
     21cd build
     22cmake ..
     23make
     24cd qui
     25./mussagl
     26}}}
     27
     28To run the unittests from with in the build directory type
     29{{{
     30make test
     31}}}
     32or
     33{{{
     34ctest
     35}}}
     36
     37Some useful alternate modes for cmake are:
     38{{{
     39make VERBOSE=1
     40}}}
     41which will show the actual commands being used to compile the program, and
     42{{{
     43cmake -VV
     44}}}
     45which will show the output of the various test programs.
     46
     47== QMake Build Command ==
     48
     49Building with qmake (this can only build mussagl, it doesn't build the python interface or the unittests)
    1350{{{
    1451qmake