does the order in build order make a difference?
Posted: Wed Jul 22, 2020 2:25 pm
My workspace has 3 (Cmake) projects:
-- project A, a shared library for compression stuff;
-- project B, a shared library that is an interface between the compression library and reading data files;
-- project C, a program that reads and writes compressed files in this format.
In the build order for project B, I have put project A, because it is a dependency for B.
In the build order for project C, I have put A first and then B.
When I compile C then I see that B is compiled first and then A.
This is the other way round than I specified in the Build Order dialog (and alphabetically A comes before B as well).
I tried switching the build order around in the dialog but B is always compiled before A.
The order that they were created (A first then B) or put in the build order (tried both) does not seem to change this.
In this case of shared libraries it does not really matter, but is there a way to do influence the build order as in A then B then C?
My CodeLite version is 13.0.7, installed on Ubuntu 18.04 via APT and using g++ 7.5.0
-- project A, a shared library for compression stuff;
-- project B, a shared library that is an interface between the compression library and reading data files;
-- project C, a program that reads and writes compressed files in this format.
In the build order for project B, I have put project A, because it is a dependency for B.
In the build order for project C, I have put A first and then B.
When I compile C then I see that B is compiled first and then A.
This is the other way round than I specified in the Build Order dialog (and alphabetically A comes before B as well).
I tried switching the build order around in the dialog but B is always compiled before A.
The order that they were created (A first then B) or put in the build order (tried both) does not seem to change this.
In this case of shared libraries it does not really matter, but is there a way to do influence the build order as in A then B then C?
My CodeLite version is 13.0.7, installed on Ubuntu 18.04 via APT and using g++ 7.5.0