File: README.devel.org

package info (click to toggle)
berkeley-express 1.5.3%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 3,764 kB
  • sloc: cpp: 4,785; sh: 65; makefile: 11
file content (31 lines) | stat: -rw-r--r-- 1,085 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#+TITLE:    Developer's Guide
#+AUTHOR:   Harold Pimentel

* The build System
** Running CMake
   - You should almost always make a separate build tree outside of the main
     tree. For example, if you have directory 'project' with 'project/src' etc.,
     you should make a directory outside of project called 'project\_build'. You
     should change to the new directory and run CMake there.

        mkdir project\_build
        cd project\_build
        cmake ../project

** Making projects
*** Making an Xcode project
    - Change to your build directory and run:

        cmake -G Xcode ../project

      Your new Xcode project should be in 'project\_build/project.xcodeproj'

*** Making an Eclipse CDT project
    - Change to your build directory and run:

        cmake -G "Eclipse CDT4 - Unix Makefiles" -D CMAKE_BUILD_TYPE=Debug ../project

      Your new Eclipse CDT project is stored in 'project\_build/.project'. In
      Eclipse, go to Import -> General -> Existng Projects into Workspace ->
      Select root directory and choose the 'project\_build' directory.