| 17 | |
| 18 | === Using CMake === |
| 19 | |
| 20 | Checkout Pacpus framework repository into your workspace directory, e.g. into ```~/workspace/pacpus```. |
| 21 | |
| 22 | {{{ |
| 23 | cd ~/workspace/pacpus |
| 24 | svn co https://devel.hds.utc.fr/svn/pacpusframework/trunk framework |
| 25 | }}} |
| 26 | |
| 27 | Without changing directory (stay in ```D:\workspace\pacpus```), create a new directory for build, change the directory to the newly created one and execute CMake. |
| 28 | |
| 29 | {{{ |
| 30 | cd ~/workspace/pacpus |
| 31 | mkdir framework-build |
| 32 | cd framework-build |
| 33 | cmake ../framework -G "Unix Makefiles" |
| 34 | }}} |
| 35 | |
| 36 | **Note:** You can specify a different makefile generator instead of ```-G "Unix Makefiles"```. |
| 37 | Type ```cmake --help``` for a list of generators available on your platform. |
| 38 | |
| 39 | If you have created Makefile files, than just run the command: |
| 40 | {{{ |
| 41 | make |
| 42 | }}} |
| 43 | or a similar one (nmake, mingw32-make, etc.). |
| 44 | |
| 45 | If you have created project files (for example using option ```-G Visual Studio 11``), than just open the solution file **Pacpus.(extension)**, e.g.: |
| 46 | {{{ |
| 47 | Pacpus.sln |
| 48 | }}} |