Skip to content

Instantly share code, notes, and snippets.

Octavian Neamțu oneamtu

View GitHub Profile
oneamtu / debugincludes.cmake
Created Jun 16, 2011
quick and dirty way of seeing what folders cmake is including for a certain project
View debugincludes.cmake
#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})
You can’t perform that action at this time.