Build system proposal #2
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
main for the user compiling the source code and tests to test the code with test cases. These branches are only an attempt to show how c++ code can be compiled for the msg-sdk-cpp repository. I just wanted to show a possible build system for the msg-sdk-cpp repository. We can discuss here for feedback.
Just change the variables in the configure file to add or change files to compilation.
SOURCES='$(srcdir)/source/protcolManager.cpp
'
INCLUDE_DIRECTORIES='
include
'
INCLUDE_FILES='
include/protcolManager.h
'
This is how I build it below in windows:
Download msys2 installer from https://www.msys2.org/ it is an exe
Then run C:\msys64\mingw64.exe
There I do below