[calamares] Add python integration type and build type to log

This commit is contained in:
dalto 2024-03-02 14:52:16 -06:00
parent 74ccb4d28b
commit 7fd9d48a20
2 changed files with 8 additions and 1 deletions

View File

@ -67,9 +67,15 @@ CalamaresApplication::init()
Logger::setupLogfile();
cDebug() << "Calamares version:" << CALAMARES_VERSION;
cDebug() << Logger::SubEntry << "Using Qt version:" << qVersion();
cDebug() << Logger::SubEntry << "Build type:" << CMAKE_BUILD_TYPE;
#ifdef WITH_PYBIND11
cDebug() << Logger::SubEntry << "Using PyBind11";
#elif WITH_BOOST_PYTHON
cDebug() << Logger::SubEntry << "Using Boost Python";
#endif
cDebug() << Logger::SubEntry << "Using settings:" << Calamares::Settings::instance()->path();
cDebug() << Logger::SubEntry << "Using log file:" << Logger::logFile();
cDebug() << Logger::SubEntry << "languages:" << Calamares::Locale::availableLanguages();
cDebug() << Logger::SubEntry << "Languages:" << Calamares::Locale::availableLanguages();
if ( !Calamares::Settings::instance() )
{

View File

@ -15,6 +15,7 @@
#define CMAKE_INSTALL_FULL_LIBDIR "${CMAKE_INSTALL_FULL_LIBDIR}"
#define CMAKE_INSTALL_FULL_DATADIR "${CMAKE_INSTALL_FULL_DATADIR}/calamares"
#define CMAKE_INSTALL_FULL_SYSCONFDIR "${CMAKE_INSTALL_FULL_SYSCONFDIR}"
#define CMAKE_BUILD_TYPE "${CMAKE_BUILD_TYPE}"
/*
* These are feature-settings that affect consumers of Calamares