INTERFACE doesn't define the symbol when compiling the library itself. PUBLIC should be used when the definition is needed both by the library and by the users. |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| getopt.c | ||
| getopt.h | ||
INTERFACE doesn't define the symbol when compiling the library itself. PUBLIC should be used when the definition is needed both by the library and by the users. |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| getopt.c | ||
| getopt.h | ||