Compilation of executables
We need to find a better way to handle executables compilation. The issue is coming from the fact that executables are compiled along all libraries but are using headers and libraries installed in ./include and ./libs. These folders are updated after compilation :
- we compile libraries
- we compile executables
- we update the ./include and ./lib folders with updated versions
So at the time of executables compilation, we are using a non-updated version of the headers.
Currently a BUILD_EXE variable is used to avoid executables compilation : we first compile with BUILD_EXE=0 so that only libraries are compiled and installation folders are updated. Then, we compile a second time with BUILD_EXE=1 : executables are built with updated versions of headers.
This is not a really practical solution. We need to find a way to separate libraries and executables compilation, or at least to compile executables after the update of ./include and ./lib folders.