README
changeset 7 79d9c9f6c446
parent 2 76d160eba8d4
equal deleted inserted replaced
0:af43b6fde6af 1:ef50f3f6efc8
     7 
     7 
     8 $ hg clone http://lemon.cs.elte.hu/hg/lemon-project-template myproject
     8 $ hg clone http://lemon.cs.elte.hu/hg/lemon-project-template myproject
     9 $ cd myproject
     9 $ cd myproject
    10 
    10 
    11 As you probably want to use LEMON in your project, you will need it
    11 As you probably want to use LEMON in your project, you will need it
    12 too. For this you have to options. You can either install is somewhere
    12 too. For this you have to options. You can either install it somewhere
    13 or use a local copy of lemon dedicated to your project. This later
    13 or use a local copy of LEMON dedicated to your project. This later
    14 option is especially usefull if you also modify/develop LEMON along
    14 option is especially usefull if you also modify/develop LEMON along
    15 with your project, or want to use a specific version.
    15 with your project, or want to use a specific version.
    16 
    16 
    17 Use a preinstalled version.
    17 Use a preinstalled version.
    18 
    18 
    21     non-standard place, you must let CMAKE know where to find it in
    21     non-standard place, you must let CMAKE know where to find it in
    22     the LEMON_ROOT_DIR config variable.
    22     the LEMON_ROOT_DIR config variable.
    23 
    23 
    24 Use LEMON as a subproject.
    24 Use LEMON as a subproject.
    25 
    25 
    26     Just simply coping the lemon source code into the 'lemon' subdir
    26     Just simply copying the LEMON source code into the 'lemon' subdir
    27     will do the job. Namely, you can either extract a release tarball
    27     will do the job. Namely, you can either extract a release tarball
    28 
    28 
    29     $ wget http://lemon.cs.elte.hu/pub/sources/lemon-1.1.tar.gz
    29     $ wget http://lemon.cs.elte.hu/pub/sources/lemon-1.1.tar.gz
    30     $ tar xzf lemon-1.1.tar.gz
    30     $ tar xzf lemon-1.1.tar.gz
    31     $ mv lemon-1.1 lemon
    31     $ mv lemon-1.1 lemon
    38 
    38 
    39 $ mkdir build
    39 $ mkdir build
    40 $ cd build
    40 $ cd build
    41 $ cmake-gui ..
    41 $ cmake-gui ..
    42 
    42 
       
    43 
    43 Setup Your Own Project
    44 Setup Your Own Project
    44 ======================
    45 ======================
    45 
    46 
    46 Edit CMakeLists.txt to change the name of the project and the source
    47 Edit CMakeLists.txt to change the name of the project and the source
    47 files. Simply follow the instructions in CMakeLists.txt.
    48 files. Simply follow the instructions in CMakeLists.txt.