Changes between Version 1 and Version 2 of PacpusGettingStarted/LinuxCompilation


Ignore:
Timestamp:
12/12/14 16:05:32 (10 years ago)
Author:
cerichar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PacpusGettingStarted/LinuxCompilation

    v1 v2  
     1= 0.1.x branch build =
    12
    23=== Getting the source code ===
    3 To checkout !PacpusFramework repository (version 0.1.1) into your workspace directory, e.g. into `~/workspace/pacpus`,
     4To checkout !PacpusFramework repository (version 0.1.x) into your workspace directory, e.g. into `~/pacpus`,
    45
    56{{{#!sh
    6 cd ~/workspace/pacpus
    7 svn co https://devel.hds.utc.fr/svn/pacpusframework/tags/0.1.1/ pacpusframework
     7cd ~/pacpus
     8svn co https://devel.hds.utc.fr/svn/pacpusframework/branches/0.1.x/ pacpusframework
    89}}}
    9 
    10 **Note:** You can as well use any GUI wrapper for SVN, such as [http://tortoisesvn.net/ TortoiseSVN].
    1110
    1211=== Using CMake ===
    1312
    14 ==== GUI ====
    15 You have to point the source code directory with the root `CMakeLists.txt` file, e.g. `~/workspace/pacpus/framework`
    16 and the build directory, e.g. `~/workspace/pacpus/framework-build`.
    17 Then press `Configure` and `Generate`.
    18 You can change the CMake variables as well.
    1913
    20 ==== Command-line ====
     14==== Command Line Interface ====
    2115
    22 Without changing directory (stay in `~/workspace/pacpus`), create a new directory for build, change the directory to the newly created one and execute CMake.
     16First go to the build folder and run the build script.
    2317
    2418{{{#!sh
    25 cd ~/workspace/pacpus
    26 mkdir framework-build
    27 cd framework-build
    28 cmake ../framework -G "Unix Makefiles"
     19cd ~/pacpus/pacpusframework/build
     20./build.sh
    2921}}}
    30 
    31 **Note:** You can specify a different makefile generator instead of `-G "Unix Makefiles"`.
    32 Type `cmake --help` for a list of generators available on your platform.
    33 
    34 === Compiling ===
    35 If you have created Makefile files, than just run the command:
    36 {{{#!sh
    37 make
    38 }}}
    39 or a similar one (`nmake`, `mingw32-make`, etc.).
    40 
    41 If you have created project files (for example using option `-G Visual Studio 11`), than just open the solution file **Pacpus.(extension)**, e.g.:
    42 {{{#!sh
    43 Pacpus.sln
    44 }}}