FORTE: To many files in modules [message #1754401] |
Fri, 17 February 2017 10:11 |
|
Hi,
I want to suggest the other project tree because there is to many source files in project and the compiling and linking processes take a long time.
-
Attachment: project.JPG
(Size: 140.85KB, Downloaded 283 times)
|
|
|
|
Re: FORTE: To many files in modules [message #1754408 is a reply to message #1754403] |
Fri, 17 February 2017 10:49 |
|
Ok. I try to explain.
If we add module IEC61131-3 with all subdirectories to project then we add 400 *.cpp files to compile and link for build.
If we include those 400 files in the one "IEC61131_3.cpp" and exclude 400 files from build then only one file will be compile.
|
|
|
Re: FORTE: To many files in modules [message #1754484 is a reply to message #1754408] |
Sat, 18 February 2017 16:15 |
|
Hi,
Yes I we know that these are a lot of files to compile. However these files need only to be compiled once. We tried to get an incremental build support with our build system so if you add new modules, new files or change a file only the changed elements will be recompiled.
I understand your solution and I also like it. However it will break a few things in the FORTE build. The reason for this is that we use CMake scripts to generate some code which makes FORTE in the end smaller and more efficient. With your proposed solutions these scripts would not work and in the end you may get linking errors or even worse a broken FORTE.
But I'll keep your suggestion in the back of my mind to consider how we can improve the situation.
|
|
|
Powered by
FUDForum. Page generated in 0.02131 seconds