Hi Expert,
I have below project/directory with multiple sub directory for source code and corresponding make file
my_code
| --- package_1
|--- a.c
|--- b.c
|--- a.h
|-- Makefile
| -- package_2
| -- x.c
| -- y.c
| -- Makefile
| -- include
package_1 will copy a.h to include directory, package_2/x.c will refer to a.h
and also for package_1, I have option for compiler , g++ -D PACKAGE=1
for package_2, I have g++ -D PACKAGE=2
my question is how to create a project/workspace for it? (especially how to configure the -D option for projects?)
Thanks
Lusu