Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 24 and Version 25 of code/tools/CMake


Ignore:
Timestamp:
May 21, 2013, 2:56:24 PM (11 years ago)
Author:
smerkli
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • code/tools/CMake

    v24 v25  
    4949CMake is capable of creating project files for various IDEs so it's easier to integrate the project into the IDE of your choice. The following sections give a quick overview of possible ways to generate these project files. We don't care which (or if any) IDE you use, but we strongly advise you to use one to write clean code quickly and to benefit from code completion and other benefits the IDE provides.
    5050
     51
     52=== Using CMake with Eclipse ===
     53You can also use CMake to create project files for Eclipse CDT 4.0.[[br]]
     54
     55'''Note:''' Eclipse does not like your build directory being a sub directory of your source directory. In order to use Eclipse please create a build directory on the same level as your source directory.
     56
     57To do that use following command (in source directory):
     58
     59{{{
     60$ cd ~/orxonox/
     61$ ls
     62trunk
     63$ mkdir build
     64$ cd build
     65$ cmake ../trunk -G"Eclipse CDT4 - Unix Makefiles"
     66}}}
     67
     68CMake now generated a fully working Eclipse project: Go to [wiki:EclipseIDE#ImporttoEclipse this site] to learn how to import it.
     69
    5170=== Using CMake with KDevelop ===
    5271
     
    7089
    7190
    72 === Using CMake with Eclipse ===
    73 You can also use CMake to create project files for Eclipse CDT 4.0.[[br]]
    74 
    75 '''Note:''' Eclipse does not like your build directory being a sub directory of your source directory. In order to use Eclipse please create a build directory on the same level as your source directory.
    76 
    77 To do that use following command (in source directory):
    78 
    79 {{{
    80 $ cd ~/orxonox/
    81 $ ls
    82 trunk
    83 $ mkdir build
    84 $ cd build
    85 $ cmake ../trunk -G"Eclipse CDT4 - Unix Makefiles"
    86 }}}
    87 
    88 CMake now generated a fully working Eclipse project: Go to [wiki:EclipseIDE#ImporttoEclipse this site] to learn how to import it.
    8991
    9092== Debug CMake paths ==