Including project in CMakeLists.txt

Revision en1, by snorkel, 2021-03-29 16:02:47

How can I include a header file without writing #include "header.h" for example using cmakelists.txt?

For example without writing #define DEFINE I defined it from cmakelists with the command add_definitions(-DDEFINE)

Can I do the similar thing?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English snorkel 2021-03-29 16:02:47 291 Initial revision (published)