@@ -239,10 +239,10 @@ This produces the following cmake file:
239
239
.. code-block :: cmake
240
240
241
241
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "config: build configuration")
242
- set(CMAKE_INSTALL_PREFIX "/home/dfoster /work/latest/install" CACHE PATH "config: install path prefix")
242
+ set(CMAKE_INSTALL_PREFIX "/home/rocky /work/latest/install" CACHE PATH "config: install path prefix")
243
243
set(DEPEND_INSTALL_DIR "/opt/deps" CACHE PATH "config: dependencies install directory")
244
- set(OVS_INSTALL_DIR "/home/dfoster /work/latest/ovs/install" CACHE PATH "config: ovs install directory")
245
- set(SDE_INSTALL_DIR "/home/dfoster /mev-p4-sde/install" CACHE PATH "config: SDE install directory")
244
+ set(OVS_INSTALL_DIR "/home/rocky /work/latest/ovs/install" CACHE PATH "config: ovs install directory")
245
+ set(SDE_INSTALL_DIR "/home/rocky /mev-p4-sde/install" CACHE PATH "config: SDE install directory")
246
246
set(SET_RPATH True CACHE BOOL "config: whether to set RPATH in binary artifacts")
247
247
set(TDI_TARGET "ES2K" CACHE STRING "config: TDI target to build")
248
248
@@ -257,16 +257,19 @@ create variants:
257
257
258
258
.. code-block :: bash
259
259
260
- ./scripts/prcpconfig -L es2k-config.json --build-type=Debug -o debug-config.cmake
260
+ ./scripts/p4cpconfig -L es2k-config.json --build-type=Debug -o debug-config.cmake
261
261
262
262
The output is:
263
263
264
264
.. code-block :: cmake
265
265
266
266
set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "config: build configuration")
267
- set(CMAKE_INSTALL_PREFIX "/home/dfoster /work/latest/install" CACHE PATH "config: install path prefix")
267
+ set(CMAKE_INSTALL_PREFIX "/home/rocky /work/latest/install" CACHE PATH "config: install path prefix")
268
268
set(DEPEND_INSTALL_DIR "/opt/deps" CACHE PATH "config: dependencies install directory")
269
- set(OVS_INSTALL_DIR "/home/dfoster /work/latest/ovs/install" CACHE PATH "config: ovs install directory")
270
- set(SDE_INSTALL_DIR "/home/dfoster /mev-p4-sde/install" CACHE PATH "config: SDE install directory")
269
+ set(OVS_INSTALL_DIR "/home/rocky /work/latest/ovs/install" CACHE PATH "config: ovs install directory")
270
+ set(SDE_INSTALL_DIR "/home/rocky /mev-p4-sde/install" CACHE PATH "config: SDE install directory")
271
271
set(SET_RPATH True CACHE BOOL "config: whether to set RPATH in binary artifacts")
272
272
set(TDI_TARGET "ES2K" CACHE STRING "config: TDI target to build")
273
+
274
+ The new file the configuration parameters as the previous example, but the
275
+ build type has been changed from ``Release `` to ``Debug ``.
0 commit comments