COIN-OR::LEMON - Graph Library

Changes between Version 5 and Version 6 of HowToCompile


Ignore:
Timestamp:
08/06/13 23:30:44 (11 years ago)
Author:
Peter Kovacs
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowToCompile

    v5 v6  
    88     }}}
    99   - If you want to use an installed LEMON on Windows or a user-local installed version on Unices, you must explicitly tell the location of the header files and the lib to the compiler. Please consult the documentation of your compiler on how to do it.
    10  - Secondly, if you want to compile a single `.cc` file very fast (or with the prospect that your algorithm eventually will be migrated into the core LEMON itself), you can download LEMON and add your code to it. For this, put the `.cc` file into the [source:contrib contrib/] subdirectory, adjust [source:contrib/CMakeLists.txt contrib/CMakeLists.txt] and compile it according to [InstallCmake Build with CMAKE] guide. Of course you can omit the final installation step.
    11  - Thirdly, you can use the [ProjectTemplate LEMON project template] either with an installed or a project local version of LEMON. This template is a preconfigured CMAKE build environment for LEMON based C++ projects. It is especially recommended for larger project with several source codes (and even multiple executables), but it pretty easy to set up for small applications, too.
     10 - Secondly, if you want to compile a single `.cc` file very fast (or with the prospect that your algorithm eventually will be migrated into the core LEMON itself), you can download LEMON and add your code to it. For this, put the `.cc` file into the [source:contrib contrib/] subdirectory, adjust [source:contrib/CMakeLists.txt contrib/CMakeLists.txt] and compile it according to [InstallCmake Build with CMake] guide. Of course you can omit the final installation step.
     11 - Thirdly, you can use the [ProjectTemplate LEMON project template] either with an installed or a project local version of LEMON. This template is a preconfigured CMake build environment for LEMON based C++ projects. It is especially recommended for larger project with several source codes (and even multiple executables), but it pretty easy to set up for small applications, too.
    1212
    1313The second and the third options have two important advantages.
    14  - Firstly, they are platform independent solutions, CMAKE will create proper `Makefile`s or solution/project files for the IDE of your choice, on all platforms and without any editing of the configuration file.
     14 - Firstly, they are platform independent solutions, CMake will create proper `Makefile`s or solution/project files for the IDE of your choice, on all platforms and without any editing of the configuration file.
    1515 - Secondly, you can choose a ''specific version'' of LEMON for your project which you can carry with your code thus you do not depend on an installed version.