|
@@ -20,15 +20,34 @@ mkdir build
|
|
cd build
|
|
cd build
|
|
```
|
|
```
|
|
|
|
|
|
-| Old-Makefiles | CMake | Description |
|
|
|
|
-| :------------- | :------------ | :---------- |
|
|
|
|
-| `make cfg` | `cmake ..` | Generate config files for the build system |
|
|
|
|
-| `make PREFIX=/tmp/kamailio-dev cfg ` | `cmake -DCMAKE_INSTALL_PREFIX=/tmp/kamailio-dev ..` | Specify installation path prefix |
|
|
|
|
-| `make include_modules="app_lua db_mysql" cfg` | `cmake -DINCLUDE_MODULES="app_lua db_mysql" ..` | Specify additional modules to be included in compilation |
|
|
|
|
-| `make exclude_modules="app_lua db_mysql" cfg` | `cmake -DEXCLUDE_MODULES="app_lua db_mysql" ..` | Specify modules to be excluded from compilation |
|
|
|
|
-| `make` | `make kamailio` | Compile `kamailio` binary (the core) |
|
|
|
|
-| `make all` | `make` | Compile everything (core and modules) |
|
|
|
|
-| `make modules modules=src/modules/acc` | `make acc` | Compile `acc` modules (substitute with any other module name) |
|
|
|
|
-| `make Q=0` | `make VERBOSE=on` | Compile with verbose output (quiet off) |
|
|
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+Legend for the table:
|
|
|
|
+
|
|
|
|
+ - `OM` - Old-Makefiles
|
|
|
|
+ - `CM` - CMake
|
|
|
|
+
|
|
|
|
+| Type | Description / Command |
|
|
|
|
+| :--- | :--- |
|
|
|
|
+| `---` | Generate config files for the build system |
|
|
|
|
+| `OM` | `make cfg` |
|
|
|
|
+| `CM` | `cmake ..` |
|
|
|
|
+| `---` | Specify installation path prefix |
|
|
|
|
+| `OM` | `make PREFIX=/tmp/kamailio-dev cfg` |
|
|
|
|
+| `CM` | `cmake -DCMAKE_INSTALL_PREFIX=/tmp/kamailio-dev ..` |
|
|
|
|
+| `---` | Specify additional modules to be included in compilation |
|
|
|
|
+| `OM` | `make include_modules="app_lua db_mysql" cfg` |
|
|
|
|
+| `CM` | `cmake -DINCLUDE_MODULES="app_lua db_mysql" ..` |
|
|
|
|
+| `---` | Specify modules to be excluded from compilation |
|
|
|
|
+| `OM` | `make exclude_modules="app_lua db_mysql" cfg` |
|
|
|
|
+| `CM` | `cmake -DEXCLUDE_MODULES="app_lua db_mysql" ..` |
|
|
|
|
+| `---` | Compile `kamailio` binary (the core) |
|
|
|
|
+| `OM` | `make` |
|
|
|
|
+| `CM` | `make kamailio` |
|
|
|
|
+| `---` | Compile everything (core and modules) |
|
|
|
|
+| `OM` | `make all` |
|
|
|
|
+| `CM` | `make` |
|
|
|
|
+| `---` | Compile `acc` modules (substitute with any other module name) |
|
|
|
|
+| `OM` | `make modules modules=src/modules/acc` |
|
|
|
|
+| `CM` | `make acc` |
|
|
|
|
+| `---` | Compile with verbose output (quiet off) |
|
|
|
|
+| `OM` | `make Q=0` |
|
|
|
|
+| `CM` | `make VERBOSE=on` |
|