Skip to content

Instantly share code, notes, and snippets.

View oneamtu's full-sized avatar

Octavian Neamțu oneamtu

View GitHub Profile
@oneamtu
oneamtu / debugincludes.cmake
Created June 16, 2011 21:31
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})