COIN-OR::LEMON - Graph Library

Changes between Version 6 and Version 7 of InstallCmake


Ignore:
Timestamp:
01/21/09 10:34:10 (15 years ago)
Author:
Alpar Juttner
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallCmake

    v6 v7  
    1010
    1111Optional tools:
     12 - To use the LP/MIP interface you need [http://www.gnu.org/software/glpk/ GLPK]. We suggest to use the {{{.exe}}} installer provided by the [http://gnuwin32.sourceforge.net/packages/glpk.htm GnuWin32/GLPK] project.
     13   - A local copy of the installer can be found here: [http://lemon.cs.elte.hu/pub/win32/deps/glpk-4.34-setup.exe glpk-4.34-setup.exe]
     14
    1215 - For HTML document generation you need to install a recent version of {{{Doxygen}}} and {{{Ghostscript}}}.
    1316 - If you want to keep track of the latest development of LEMON or even contribute to it, you need the [http://http://www.selenic.com/mercurial Mercurial] distributed version control system. We ''strongly'' recommend to use [http://tortoisehg.sourceforge.net/ TortoiseHg] which provides a simple installer for Mercurial, a nice GUI and also an integration to the MS-Windows Explorer.
     
    2932It is even better to start the "Visual Studio 2008 Command Prompt" from the start menu. Then, in the command prompt, step into the build folder and type
    3033{{{
    31 cmake-gui ..
     34cmake-gui . ..
    3235}}}
    3336Now click on the "Configure" button. Here choose
    3437 - either '''{{{Visual Studio 9 2008}}}''' to create project files and an {{{.sln}} file usable from the Visual Studio IDE.
    3538 - or '''{{{NMake Makefiles}}}''' to create makefiles and compile from command line. In this case you ''must'' start {{{cmake-gui}}} from the "Visual Studio 2008 Command Prompt"
     39
     40Now, you can review and modify several configure options (change to "Advanced" or "Grouped" view in order to see all of them). For example
     41 - '''{{{CMAKE_INSTALL_PREFIX}}}''' tells where LEMON will finally be installed.
     42 - '''{{{CMAKE_BUILD_TYPE}}}''' determines the build modes. The possible values are '''{{{Debug}}}''', '''{{{Release}}}''', '''{{{MinSizeRel}}}''' and '''{{{RelWithDebInfo}}}'''.
     43 - '''{{{CMAKE_CXX_FLAGS*}}}''' sets the compiler flags used by the different build modes.
    3644Then click again on "Configure" and finally on "Generate".
    3745
     
    6371=== With IDE ===
    6472
    65 Open the generated {{{LEMON.sln}}} file, the you will find several targets corresponding to the tasks of the previous section. They are
     73Open the generated {{{LEMON.sln}}} file, then you will find several targets corresponding to the tasks of the previous section. They are
    6674 - {{{ALL_BUILD}}}
    6775 - {{{RUN_TESTS}}}
    6876 - {{{HTML}}} ???
    6977 - {{{INSTALL}}}
     78
     79Simply right click and choose "Build" for each of these target.