[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Hint] compilation flag
From: |
Kunal Chauhan |
Subject: |
[Hint] compilation flag |
Date: |
Sat, 4 Jul 2020 14:02:23 +0530 |
Hi Team,
I have put comiplation flag in make file .
Like -DENABLE_LED
In code like
File: db.cc
ifdef ENABLE_LED
Funct()
{
}
#endif
File : db.h
#ifdef ENABLE_LED
Funct();
#endif
// for above to file db.so is created
Main.cc used the db.so
>From docs I read but not understand I the compilation flag concept.
Thnks
Kuna
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Hint] compilation flag,
Kunal Chauhan <=