Changes between Initial Version and Version 1 of PacpusGettingStarted/WindowsCompilation


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

--

Legend:

Unmodified
Added
Removed
Modified
  • PacpusGettingStarted/WindowsCompilation

    v1 v1  
     1
     2=== Getting the source code ===
     3To checkout !PacpusFramework repository (version 0.1.1) into your workspace directory, e.g. into `~/workspace/pacpus`,
     4
     5{{{#!sh
     6cd ~/workspace/pacpus
     7svn co https://devel.hds.utc.fr/svn/pacpusframework/tags/0.1.1/ pacpusframework
     8}}}
     9
     10**Note:** You can as well use any GUI wrapper for SVN, such as [http://tortoisesvn.net/ TortoiseSVN].
     11
     12=== Using CMake ===
     13
     14==== GUI ====
     15You have to point the source code directory with the root `CMakeLists.txt` file, e.g. `~/workspace/pacpus/framework`
     16and the build directory, e.g. `~/workspace/pacpus/framework-build`.
     17Then press `Configure` and `Generate`.
     18You can change the CMake variables as well.
     19
     20==== Command-line ====
     21
     22Without changing directory (stay in `~/workspace/pacpus`), create a new directory for build, change the directory to the newly created one and execute CMake.
     23
     24{{{#!sh
     25cd ~/workspace/pacpus
     26mkdir framework-build
     27cd framework-build
     28cmake ../framework -G "Unix Makefiles"
     29}}}
     30
     31**Note:** You can specify a different makefile generator instead of `-G "Unix Makefiles"`.
     32Type `cmake --help` for a list of generators available on your platform.
     33
     34=== Compiling ===
     35If you have created Makefile files, than just run the command:
     36{{{#!sh
     37make
     38}}}
     39or a similar one (`nmake`, `mingw32-make`, etc.).
     40
     41If 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
     43Pacpus.sln
     44}}}