Hi,
- For the -I options you can use the include_directories() command.
- For the -D options you can use the add_definitions() command.
- For the linker options you can use the target_link_libraries() command.
You can type cmake --help-command in a terminal to read the
documentation about how to
Hi All,
I am new to CMake and am struggling with a questions.
When I compile my programs with the third party libraries, I need to provide
gcc with some options as well as paths to include head files and libraries.
Usually this is how the gcc command looks like when I use gcc:
gcc -Imy_include_fi