suppose have package called foo. if run cmake on cmakelists.txt file contains find_package(foo), can print out values of variables such ${foo_libraries} , ${foo_includes}.
is there easy way display these variables without having run cmake on cmakelists.txt file, , without having manually inspect config.cmake file?
these variables hardcoded findfoo.cmake not possible extract them without running function first. note value of foo_libraries depends on system configuration, unknown until find_package(foo) run.
Comments
Post a Comment