Changes between Version 4 and Version 5 of Installation
- Timestamp:
- Mar 3, 2011, 3:01:26 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Installation
v4 v5 43 43 === Configuring the build === #cmakeflags 44 44 45 This step is equivalent to the traditional ''./configure'' except that we use [http://www.cmake.org CMake] which provide much nicer interface. You will therefore need to install {{{cmake}}} if it is not yet available on your machine. Note that there are several nice Graphical User Interfacesavailable for CMake.45 This step is equivalent to the traditional ''./configure'' except that we use [http://www.cmake.org CMake] which provides a much nicer interface. You will therefore need to install {{{cmake}}} if it is not yet available on your machine. Note that there are several nice Graphical User Interfaces (GUI) available for CMake. 46 46 47 47 It is highly recommended to build {{{freeDiameter}}} outside of the source repository. … … 63 63 64 64 CMAKE_INSTALL_PREFIX:: 65 This is the default location where all freeDiameter files will be installed. Default is /usr/local. Overwrite on the command line with for example ''-DCMAKE_INSTALL_PREFIX:STRING=/usr''.65 This is the prefix under which all freeDiameter files will be installed. Default is {{{/usr/local}}}. Overwrite on the command line with for example ''-DCMAKE_INSTALL_PREFIX:STRING=/usr''. 66 66 67 67 DEFAULT_CONF_PATH:: 68 This is the default directory where the {{{freeDiameter}}} framework will look for its configuration file, when specified as a relative file name. The default value is ${CMAKE_INSTALL_PREFIX}/etc/freeDiameter.68 This is the default directory where the {{{freeDiameter}}} framework will look for its configuration file, when specified as a relative file name. The default value is {{{${CMAKE_INSTALL_PREFIX}/etc/freeDiameter}}}. 69 69 70 70 INSTALL_HEADERS_SUFFIX:: 71 Where the development header files are installed, relative to ${CMAKE_INSTALL_PREFIX}. The default is ''include/freeDiameter''.71 Where the development header files are installed, relative to ${CMAKE_INSTALL_PREFIX}. The default is {{{include/freeDiameter}}}. 72 72 73 73 INSTALL_DAEMON_SUFFIX:: 74 Where the binary executable files are installed, relative to ${CMAKE_INSTALL_PREFIX}. The default is ''bin''.74 Where the binary executable files are installed, relative to ${CMAKE_INSTALL_PREFIX}. The default is {{{bin}}}. 75 75 76 76 INSTALL_LIBRARY_SUFFIX:: 77 Where the {{{freeDiameter}}} framework libraries are installed, relative to ${CMAKE_INSTALL_PREFIX}. The default is ''lib''.77 Where the {{{freeDiameter}}} framework libraries are installed, relative to ${CMAKE_INSTALL_PREFIX}. The default is {{{lib}}}. 78 78 79 79 INSTALL_EXTENSIONS_SUFFIX:: 80 Where the {{{freeDiameter}}} extensions files are installed and searched at runtime, relative to ${CMAKE_INSTALL_PREFIX}. The default is ''${INSTALL_LIBRARY_SUFFIX}/freeDiameter''.80 Where the {{{freeDiameter}}} extensions files are installed and searched at runtime, relative to ${CMAKE_INSTALL_PREFIX}. The default is {{{${INSTALL_LIBRARY_SUFFIX}/freeDiameter}}}. 81 81 82 82 … … 101 101 102 102 CMAKE_BUILD_TYPE:: 103 This is specifies a default set of flags that are used with the C compiler and linker. Valid build types are: "''Debug''", "''Profiling''", "''DebugValgrind''" (use to monitor execution with valgrind), "''DebianPackage''" (use for releases), and "''MaxPerformance''" (strips all debug support including error messages, use only for performance tests). The recommended build type for development is ''Debug''. 103 This is specifies the set of flags that are passed to the C compiler and linker. 104 Valid build types are: 105 * "''Debug''" -- recommended for developers, 106 * "''Profiling''" 107 * "''!DebugValgrind''" -- use to monitor execution with valgrind 108 * "''!DebianPackage''" -- use for releases 109 * "''!MaxPerformance''" -- strips all debug support including error messages, use only for performance tests. 104 110 105 111 DISABLE_SCTP (BOOL)::