-
Notifications
You must be signed in to change notification settings - Fork 405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add script to build with cmake #444
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Samuli Seppänen <[email protected]>
Signed-off-by: Samuli Seppänen <[email protected]>
I've not been following build system changes. @lstipakov may have some input. |
@selvanair that parameterization was what I actually did in openvpn-vagrant where I merged this script while waiting for approval/direction: @lstipakov do you think that updated version of this script is good enough, or should we have a more proper Windows build system? |
I am not strictly against it, but I am not sure that this script needs to be in this repo. I think it fits better either in openvpn-vagrant or openvpn-build, it is mainly needed for building MSI installers - it builds for 3 architectures using specific directory layout. I personally use Visual Studio, and build system just works there - you open CMake project and, assuming you have vcpkg installed and integrated into msbuild, everything works out of the box. Those who use cmake from command line are probably knowledgeable enough to run cmake with required arguments - we could also add those to README. |
I think we could just keep this script in openvpn-vagrant and point people to it in this repo's documentation. |
Hi,
On Wed, Sep 01, 2021 at 04:47:28AM -0700, Samuli Seppänen wrote:
I think we could just keep this script in openvpn-vagrant and point people to it in this repo's documentation.
"vagrant" sounds a bit weird for people just interested in building
openvpn... what about Lev's other suggestion, openvpn-build?
gert
--
"If was one thing all people took for granted, was conviction that if you
feed honest figures into a computer, honest figures come out. Never doubted
it myself till I met a computer with a sense of humor."
Robert A. Heinlein, The Moon is a Harsh Mistress
Gert Doering - Munich, Germany ***@***.***
|
I'm not opposed to that approach, either. |
Hi,
On Thu, Aug 19, 2021 at 04:48:58AM -0700, Samuli Seppänen wrote:
I'm opening this PR for discussion as I'm not sure how we want to handle the "build openvpn-gui on Windows with MSVC" challenge.
I do not have an opinion here (just stating this, in case you're waiting
for me).
Selva, Lev and Samuli are the ones really affected by "how to build the GUI".
gert
--
"If was one thing all people took for granted, was conviction that if you
feed honest figures into a computer, honest figures come out. Never doubted
it myself till I met a computer with a sense of humor."
Robert A. Heinlein, The Moon is a Harsh Mistress
Gert Doering - Munich, Germany ***@***.***
|
I'm opening this PR for discussion as I'm not sure how we want to handle the "build openvpn-gui on Windows with MSVC" challenge.
The simple script in this PR is good enough for my immediate needs, that is, for building OpenVPN-GUI on a Windows Server 2019 server in the context of my new dockerized buildbot environment:
If having a build script like this is ok, I can make it more generic/better. I suppose we could also add support for building openvpn-gui with msbuild, like we do with OpenVPN. I'm not sure how much work that would entail, though.