mirror of
https://github.com/QuasarApp/QuasarAppLib.git
synced 2025-04-26 09:44:38 +00:00
remove deprecated macrosses
This commit is contained in:
parent
f82a69db36
commit
97260fea2d
@ -38,23 +38,13 @@ endif()
|
||||
|
||||
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core REQUIRED)
|
||||
|
||||
option(QA_ASSERT_ON_WARN "Enable for add assert to every warning message" OFF)
|
||||
option(QA_ASSERT_ON_ERROR "Enable for add assert to every error message" OFF)
|
||||
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)
|
||||
|
||||
if (QA_ASSERT_ON_WARN)
|
||||
add_definitions(-DQA_ASSERT_ON_WARN)
|
||||
endif()
|
||||
|
||||
if (QA_DISABLE_LOG)
|
||||
add_definitions(-DQA_DISABLE_LOG)
|
||||
endif()
|
||||
|
||||
if (QA_ASSERT_ON_ERROR)
|
||||
add_definitions(-DQA_ASSERT_ON_ERROR)
|
||||
endif()
|
||||
|
||||
if (QA_ALLOW_NOT_SUPPORTED_OPTIONS)
|
||||
add_definitions(-DQA_ALLOW_NOT_SUPPORTED_OPTIONS)
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user