schtanislau
11 years agoVisitor
source folder structure
Hello!
Excuse me, I have a question regarding 'source' folder structure. I understand, that we can have any kind of structure in the 'source' folder, but it can slower the compilation time.
Assuming, that I have this kind of structure:
source/
source/common
source/common/test1.brs
source/utilities
source/utilities/test2.brs
source/classes
source/classes/test3.brs
source/appMain.brs
I understand, that the app.mk file in the RokuSDK needs to be adjusted so it will compile files not only in the 'source' folder, but even in the nested folders.
I'm not sure how to adjust this code for '/utilities' and '/classes' folders.
Can anyone help me on this? Thank you π
Excuse me, I have a question regarding 'source' folder structure. I understand, that we can have any kind of structure in the 'source' folder, but it can slower the compilation time.
Assuming, that I have this kind of structure:
source/
source/common
source/common/test1.brs
source/utilities
source/utilities/test2.brs
source/classes
source/classes/test3.brs
source/appMain.brs
I understand, that the app.mk file in the RokuSDK needs to be adjusted so it will compile files not only in the 'source' folder, but even in the nested folders.
DISTREL = ../../dist
COMMONREL = ../common
SOURCEREL = ..
ZIPREL = $(DISTREL)/apps
PKGREL = $(DISTREL)/packages
APPSOURCEDIR = source
IMPORTFILES = $(foreach f,$(IMPORTS),$(COMMONREL)/$f.brs)
IMPORTCLEANUP = $(foreach f,$(IMPORTS),$(APPSOURCEDIR)/$f.brs)
I'm not sure how to adjust this code for '/utilities' and '/classes' folders.
Can anyone help me on this? Thank you π