////////////////////////////////////////////////////////////////////////////////////////////////////
//  OpenSD
//  An open-source userspace driver for Valve's Steam Deck hardware
//
//  Copyright (C) 2022-2024 Daniel Nguyen
//  https://codeberg.org/opensd/opensd
//  Licensed under the GNU GPLv3+
//
//    This program is free software: you can redistribute it and/or modify it under the terms of
//    the GNU General Public License as published by the Free Software Foundation, either
//    version 3 of the License, or (at your option) any later version.
//
//    This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
//    without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//    See the GNU General Public License for more details.
//
//    You should have received a copy of the GNU General Public License along with this program.
//    If not, see <https://www.gnu.org/licenses/>.
////////////////////////////////////////////////////////////////////////////////////////////////////

#ifndef __CMAKE_VARS_HPP__
#define __CMAKE_VARS_HPP__

#include <string>


namespace CMakeVar
{

    // Versioning
    const std::string       VERSION_STR                 = "@OpenSD_VERSION_MAJOR@.@OpenSD_VERSION_MINOR@";
    const int               MAJOR_VER                   = @OpenSD_VERSION_MAJOR@;
    const int               MINOR_VER                   = @OpenSD_VERSION_MINOR@;
    
    // Paths
    const std::string       INSTALL_DATA_DIR            = "@CMAKE_INSTALL_PREFIX@/@INSTALL_DATA_DIR@";
    const std::string       INSTALL_DATA_CONFIG_DIR     = "@CMAKE_INSTALL_PREFIX@/@INSTALL_DATA_CONFIG_DIR@";
    const std::string       INSTALL_DATA_PROFILE_DIR    = "@CMAKE_INSTALL_PREFIX@/@INSTALL_DATA_PROFILE_DIR@";
    const std::string       SYSTEM_CONFIG_DIR           = "@SYSTEM_CONFIG_DIR@";
    const std::string       SYSTEM_PROFILE_DIR          = "@SYSTEM_PROFILE_DIR@";
    
    // File names
    const std::string       DEFAULT_CONFIG_FILENAME     = "@DEFAULT_CONFIG_FILENAME@";
    const std::string       DEFAULT_PROFILE_FILENAME    = "@DEFAULT_PROFILE_FILENAME@";

}

#endif // __CMAKE_VARS_HPP__
