Deoclecio Freire
Posts
-
Does anyone use C++ with VSCode? -
C++ Linux Development on WindowsFor five year I used to develop in C++ on Windows for both Windows and Linux. In the beginning I try to use Visual Studio solution for cross platform and failed miserably; on all VS versions 2015, 2017, 2019... Too many problems when projects grows. X| Another problem I had was to have to "program" the build on Linux using Make, CMake ... I don't want to "program" the build, for me, basically, build a C/C++ project is just a matter to make a long command line. From one year being fully on home office I completely abandoned Windows and now work fully on Linux (Debian 10), but need to build my projects on Windows too. So I adopted VSCodium as my main editor and construc a mini build system (CPPMagic) that meet my needs, fully in Python. With this I can build on both Windows and Linux the same way (no need even an editor). 1. Debian 10; 2. I use 2 phisical machines; 3. VSCodium; 4. CPPMagic (CppMagic: A Python 3 script to help build C/C++ projects cross-platform.[^]); 5. GCC and MSVC; 6. GDB on Linux and MSVC on Windows; 7. Command line; 8. I personally don't like to use complex building systems and whenever I can use static libraries. I don't clame that my build system is a final solution, it still raw, and I evolve just for my needs, but it works. :)