Skip to contentSkip to conversation

Change in openvpn[master]: cmake: build native binaries with debug info

Openvpn-devel d12fk (Code Review) 1 participant 4 messages Dec 16, 2023 – Dec 18, 2023 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): gerrit.1702721837000.I5d835f37d9b75a2eba39504e673597cf7b6f8989@...2715...

#1 lore raw

Attention is currently required from: flichtenheld, plaisthos.

Hello plaisthos, flichtenheld,

I'd like you to do a code review.
Please visit

    http://gerrit.openvpn.net/c/openvpn/+/484?usp=email

to review the following change.

Change subject: cmake: build native binaries with debug info
......................................................................

cmake: build native binaries with debug info

Since the cmake unix builds are not the officially supported way to build openvpn, it makes sense to always do debug builds for during development.

Change-Id I5d835f37d9b75a2eba39504e673597cf7b6f8989

---
M CMakePresets.json

1 file changed, 3 insertions(+), 2 deletions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/84/484/1

CMakePresets.json +3 -2
index 135b19d..46aeeef 100644
@@ -199,8 +199,9 @@
             "configuration": "Debug"
         },
         {
-            "name": "unix-native",
-            "configurePreset": "unix-native"
+            "name": "unix-native-debug",
+            "configurePreset": "unix-native",
+            "configuration": "Debug"
         }
     ],
     "testPresets": [

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/484?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I5d835f37d9b75a2eba39504e673597cf7b6f8989
Gerrit-Change-Number: 484
Gerrit-PatchSet: 1
Gerrit-Owner: d12fk <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: flichtenheld <[email protected]...>
Gerrit-MessageType: newchange

#2 lore raw
In reply to a message not in the archive

Attention is currently required from: d12fk, plaisthos.

flichtenheld has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/484?usp=email )

Change subject: cmake: build native binaries with debug info
......................................................................

Patch Set 2: Code-Review-2

(1 comment)

Patchset:

PS2:
unix-native uses a Ninja Multi-Config generator so it can build all the configs in parallel. So choose the config you want instead of hard-coding it.

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/484?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I5d835f37d9b75a2eba39504e673597cf7b6f8989
Gerrit-Change-Number: 484
Gerrit-PatchSet: 2
Gerrit-Owner: d12fk <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: d12fk <[email protected]...>
Gerrit-Comment-Date: Mon, 18 Dec 2023 11:12:10 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment

#3 lore raw
In reply to a message not in the archive

Attention is currently required from: flichtenheld, plaisthos.

d12fk has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/484?usp=email )

Change subject: cmake: build native binaries with debug info
......................................................................

Patch Set 2:

(1 comment)

Patchset:

PS2:

Quoted 1 line

unix-native uses a Ninja Multi-Config generator so it can build all the configs in parallel. […]

Hm, the issue is that the cmake-tools extension for vscode doesn't deal with ninja at all. The generator are treated as just that, so they are not visible in the UI to select profiles from. However, I can add that to CMakeUserPresets.txt for my usecase.

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/484?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I5d835f37d9b75a2eba39504e673597cf7b6f8989
Gerrit-Change-Number: 484
Gerrit-PatchSet: 2
Gerrit-Owner: d12fk <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: flichtenheld <[email protected]...>
Gerrit-Comment-Date: Mon, 18 Dec 2023 11:52:35 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: flichtenheld <[email protected]...>
Gerrit-MessageType: comment

#4 lore raw
In reply to a message not in the archive

d12fk has abandoned this change. ( http://gerrit.openvpn.net/c/openvpn/+/484?usp=email )

Change subject: cmake: build native binaries with debug info
......................................................................

Abandoned
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/484?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I5d835f37d9b75a2eba39504e673597cf7b6f8989
Gerrit-Change-Number: 484
Gerrit-PatchSet: 2
Gerrit-Owner: d12fk <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-MessageType: abandon