Closed pierluca closed 10 years ago
To be noted: the build_dir location is sub-optimal right now: cvra-stuff/ cvra-stuff/myProject/make.sh
modules get downloaded in cvra-stuff , i.e. cvra-stuff/platform-abstraction
all module files are combined in directory cvra-stuff/build-myProject
build itself takes place in cvra-stuff/build-myProject/build
This seems ugly to me and it should probably be organized differently. It's not a huge effort either but right now it's in the make.sh If we agree on something, we could move it to the build-system itself.
Happy to hear your comments.
Two-file system.
make.sh [debug|release] makes the "project". in this case, the test of the library
cvraModuleMake.sh contains the dependencies of the library in a simple format. For each build configuration, two variables are expected: CFGNAME= ( file.c header.h ) CFGNAME_linklibs = ( lib_we_need )
By default, I suggest: x86 for linux-based software embedded for the uC/OS-III version tests for the test-only compilation