Reputation: 399
I’ve got an app that creates a child process to execute via CLI a compiled C++ library file. What is the best/most portable way of shipping my app with this library? I just need to ensure the compiled C++ code is available on the user’s system and that the executable is compatible with their system.
Upvotes: 1
Views: 170
Reputation: 21416
C++ is compiled for each platform (Windows, macOs, Linux). So you need three different distributions:
Each platform supports multiple compilers and IDEs. It’s down to personal choice.
Upvotes: 2