Skip to content

Instantly share code, notes, and snippets.

@oneamtu
Created June 16, 2011 21:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oneamtu/1030331 to your computer and use it in GitHub Desktop.
Save oneamtu/1030331 to your computer and use it in GitHub Desktop.
quick and dirty way of seeing what folders cmake is including for a certain project
#embed this in your code
get_directory_property(includes INCLUDE_DIRECTORIES)
foreach(arg ${includes})
set(print_string "${print_string}\n${arg}")
endforeach(arg ${includes})
message(FATAL_ERROR ${print_string})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment