[GNC-dev] [Bug 113772] Add categories for more reporting flexibility
jralls at ceridwen.us
Thu May 14 12:56:00 EDT 2020
I gave Virtual Studio a shot last fall when they announced Cmake support. Unfortunately our CMakeLists.txt choked it. I didn't try in the other direction, that is using a VS-2019 generator.
GC will not compile with the VC++ compiler (our code is too unix-y), you'd have to use clang, and I don't know if clang-cl can digest the unix-y code either. That's perhaps an avenue worth trying.
VSCode is like emacs only prettier and without the elaborate key bindings. You can certainly use it to edit code and in theory you can hook it up to gcc and gdb to do compiles and debugging inside the VSCode environment.
You'll regardless need to set up a MinGW-w64 build environment to build the dependencies. Yes, you can build the gtk3 stack with vcpkg but I doubt Guile will never compile in that environment since it barely does under MinGW-w64.
Boost absolutely *must* be built with the same compiler as GnuCash and that master requires telling anything older than boost-1.72 to build to C++17 (the bjam arg is stdcxx=17).
> On May 14, 2020, at 9:01 AM, Geert Janssens <geert.gnucash at kobaltwit.be> wrote:
> Interesting. As far as I understand VSCode is a different product from VS, but
> any success on setting up IDE's on Windows for gnucash development are
> Op donderdag 14 mei 2020 16:30:31 CEST schreef Matthew Forbis:
>> I did get VSCode to work as a development environment with developing on
>> windows. I hadn't worked out all the kinks out of it, but it was showing
>> great promise. I could build pretty well on it and then run gdb under it
>> to do debugging. There is a bit of info I added to the wiki for that
>> On Thursday, May 14, 2020, 09:19:31 AM CDT, Geert Janssens
>> <geert.gnucash at kobaltwit.be> wrote:
>> Op donderdag 14 mei 2020 13:58:37 CEST schreef flywire:
>>> Geert, thanks for that I appreciate it.
>>> I have looked through the docs. Does anyone know what the chances are of
>>> getting a Win10 environment up under Visual Studio are?
>> I don't think anyone has tried before so I have no idea. IIRC Visual Studio
>> does have support for cmake and clang so you may be able to tweak the
>> current build system enough to pull it off. On the other hand the current
>> build system is highly dependent on Mingw64. I have no idea whether you can
>> make that Visual Studio cooperate with that environment.
>> If you manage to do so, by all means document how. I'm sure others would be
>> gnucash-devel mailing list
>> gnucash-devel at gnucash.org
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
More information about the gnucash-devel