Andrei Yankovich 6e494a13f1
All checks were successful
buildbot/DocsGenerator Build finished.
buildbot/LinuxCMakeBuilderQt6 Build finished.
Merge pull request #53 from QuasarApp/production_game
added constexper crc 32 hash fucntion
2025-03-16 19:30:53 +01:00
2025-01-22 19:16:48 +01:00
2018-08-11 18:25:17 +03:00
2021-02-20 12:29:16 +03:00
2021-04-01 13:48:24 +03:00
2024-12-30 22:39:49 +01:00
2022-12-28 00:50:03 +03:00
2024-12-30 22:39:49 +01:00
2024-12-30 22:39:49 +01:00
2024-12-30 22:39:49 +01:00
2024-12-30 22:39:49 +01:00
2025-02-17 14:13:47 +01:00
2018-08-11 18:11:48 +03:00
2024-12-30 22:39:49 +01:00
2024-12-30 22:39:49 +01:00
2024-12-30 22:39:49 +01:00
2024-12-30 22:39:49 +01:00
2024-12-30 22:39:49 +01:00
2024-12-30 22:39:49 +01:00
2024-12-30 22:39:49 +01:00
2025-02-19 13:53:52 +01:00
2025-02-19 13:53:52 +01:00
2024-12-30 22:39:49 +01:00
2024-12-30 22:39:49 +01:00
2024-12-30 22:39:49 +01:00
2024-12-30 22:39:49 +01:00
2020-04-19 13:04:33 +03:00
2024-12-30 22:39:49 +01:00
2024-12-30 22:39:49 +01:00
2024-06-24 13:35:09 +02:00
2018-08-11 18:25:17 +03:00
2024-12-30 22:39:49 +01:00
2024-12-30 22:39:49 +01:00
2024-12-30 22:39:49 +01:00
2024-12-30 22:39:49 +01:00

QuasarAppLib

Global functions used in applications QuasarApp. This lib include include next modules:

  • Locales - This module use for parse local files. This module allows you to work with translations.
  • Params - This module use for parese app params and create log.
  • Settings - This is a module that allows you to work with application settings.
  • Global - This module contains other global functions.

Build

Available build options:

option(QA_ALLOW_NOT_SUPPORTED_OPTIONS "Enable for allow any command line options" ON)
option(QA_DISABLE_LOG "Disabled all logs (force sets verbose to 0)" OFF)

Include

The cmake build do not required Qt libraries.

  • cd yourRepo
  • git submodule add https://github.com/QuasarApp/QuasarAppLib.git # add the repository of QtBigInt into your repo like submodule
  • git submodule update --init --recursive
  • Include in your CMakeLists.txt file the main CMakeLists.txt file of QuasarAppLib library

add_subdirectory(QuasarAppLib)

  • Rebuild yuor project
add_subdirectory(QuasarAppLib)
target_link_libraries(MyBinary PUBLIC QuasarApp)

Note

By Default QuasarAppLib makes as a static library. If you want to create a shared library just add the BUILD_SHARED_LIBS into your main CMakeLists.txt file. Example :

set(BUILD_SHARED_LIBS ON)
add_subdirectory(QuasarAppLib)
target_link_libraries(MyBinary PUBLIC QuasarApp)

Usage

#include <quasarapp.h>

if (!QuasarAppUtils::Params::parseParams(argc, argv)) {
    QuasarAppUtils::Params::log("Warning message", QuasarAppUtils::Warning);
    QuasarAppUtils::Params::showHelp();
    exit(0);
}
Description
No description provided
Readme 1,005 KiB
Languages
C++ 97.9%
CMake 1.8%
C 0.3%