create warnings for missing libs

This commit is contained in:
Bret Curtis 2017-02-13 10:48:37 +01:00
parent 8d1c7edcf6
commit 6483218cb5

View file

@ -51,7 +51,7 @@ try:
"mwbase/windowmanager.hpp", "mwbase/world.hpp"]) "mwbase/windowmanager.hpp", "mwbase/world.hpp"])
} }
except ImportError: except ImportError:
pass print("WARNING: Unable to import breathe, code documentation won't be generated.")
# Add any paths that contain templates here, relative to this directory. # Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates'] templates_path = ['_templates']
@ -86,6 +86,7 @@ try:
int(cmake_data[26][1][1].contents)) int(cmake_data[26][1][1].contents))
except ImportError: except ImportError:
release = "UNRELEASED" release = "UNRELEASED"
print("WARNING: Unable to import parse_cmake, version will be set to: {0}.".format(release))
# The language for content autogenerated by Sphinx. Refer to documentation # The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages. # for a list of supported languages.