Changes between Version 16 and Version 17 of WikiStart


Ignore:
Timestamp:
10/08/13 17:03:33 (11 years ago)
Author:
DHERBOMEZ Gérald
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v16 v17  
    33= PACPUS framework =
    44
    5 == Compilation ==
    65
    7 === Prerequisites ===
     6== Prerequisites ==
    87
    9 ==== Tools ====
     8=== Tools ===
    109* Modern C++ compiler (gcc >= 4.5, clang >= 3.2, Microsoft Visual Studio 2008 or newer, etc.)
    1110* [http://www.cmake.org/ CMake] 2.8.10 or newer
     
    1312* [http://subversion.apache.org/ Subversion (SVN)] control version system
    1413
    15 ==== Libraries ====
     14=== Libraries ===
    1615* [http://logging.apache.org/log4cxx/ Apache log4cxx] 0.10.0
    1716* [http://www.boost.org/ Boost] 1.50 or newer (optionally)
    1817* [http://qt-project.org/ Qt] 4.8 or newer
    1918
    20 === Getting the source code ===
    21 To checkout !PacpusFramework repository (version 0.1.1) into your workspace directory, e.g. into `~/workspace/pacpus`,
     19== Compilation and Installation ==
    2220
    23 {{{#!sh
    24 cd ~/workspace/pacpus
    25 svn co https://devel.hds.utc.fr/svn/pacpusframework/tags/0.1.1/ pacpusframework
    26 }}}
     21Follow these instructions to compile and install the pacpus framework :
     22- under Windows:
     23- under Linux:
     24- under MAC OSX: to come...
    2725
    28 **Note:** You can as well use any GUI wrapper for SVN, such as [http://tortoisesvn.net/ TortoiseSVN].
    29 
    30 === Using CMake ===
    31 
    32 ==== GUI ====
    33 You have to point the source code directory with the root `CMakeLists.txt` file, e.g. `~/workspace/pacpus/framework`
    34 and the build directory, e.g. `~/workspace/pacpus/framework-build`.
    35 Then press `Configure` and `Generate`.
    36 You can change the CMake variables as well.
    37 
    38 ==== Command-line ====
    39 
    40 Without changing directory (stay in `~/workspace/pacpus`), create a new directory for build, change the directory to the newly created one and execute CMake.
    41 
    42 {{{#!sh
    43 cd ~/workspace/pacpus
    44 mkdir framework-build
    45 cd framework-build
    46 cmake ../framework -G "Unix Makefiles"
    47 }}}
    48 
    49 **Note:** You can specify a different makefile generator instead of `-G "Unix Makefiles"`.
    50 Type `cmake --help` for a list of generators available on your platform.
    51 
    52 === Compiling ===
    53 If you have created Makefile files, than just run the command:
    54 {{{#!sh
    55 make
    56 }}}
    57 or a similar one (`nmake`, `mingw32-make`, etc.).
    58 
    59 If you have created project files (for example using option `-G Visual Studio 11`), than just open the solution file **Pacpus.(extension)**, e.g.:
    60 {{{#!sh
    61 Pacpus.sln
    62 }}}
    6326
    6427----