I wish to separate a big project into one "library" with code that can be used for other projects, and the "actual" project. The "actual" project has a "Imports libraryProject", and all works fine.
However this has a drawback: There is the .exe of the "actual" project + the DLL of the "library" , which is not as simple for the user, and also can slow down a bit the code (compiler optimisation isn't as good)
Is there a way to include all of the "library" code in the "actual" project in the compilator, without physically merging the projects, in a code arrangement point of view?
Edited : the code with exe+dll is ~25% slower, too. Not due to load time (program is extremely low weighted), but due to intense calculation