Changes between Version 6 and Version 7 of InstallCmake
- Timestamp:
- 01/21/09 09:34:10 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InstallCmake
v6 v7 10 10 11 11 Optional 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 12 15 - For HTML document generation you need to install a recent version of {{{Doxygen}}} and {{{Ghostscript}}}. 13 16 - 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. … … 29 32 It 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 30 33 {{{ 31 cmake-gui . .34 cmake-gui . .. 32 35 }}} 33 36 Now click on the "Configure" button. Here choose 34 37 - either '''{{{Visual Studio 9 2008}}}''' to create project files and an {{{.sln}} file usable from the Visual Studio IDE. 35 38 - 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 40 Now, 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. 36 44 Then click again on "Configure" and finally on "Generate". 37 45 … … 63 71 === With IDE === 64 72 65 Open the generated {{{LEMON.sln}}} file, the you will find several targets corresponding to the tasks of the previous section. They are73 Open the generated {{{LEMON.sln}}} file, then you will find several targets corresponding to the tasks of the previous section. They are 66 74 - {{{ALL_BUILD}}} 67 75 - {{{RUN_TESTS}}} 68 76 - {{{HTML}}} ??? 69 77 - {{{INSTALL}}} 78 79 Simply right click and choose "Build" for each of these target.